aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ringtonetools/Makefile
blob: f91b1667124d08e0fdb83afeeaae58a5facc6827 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    ringtonetools
# Date created:             7 June 2002
# Whom:                 Michael A. Kohn <mike@mikekohn.net>
#
# $FreeBSD$
#

PORTNAME=   ringtonetools
PORTVERSION=    2.25
CATEGORIES= misc
MASTER_SITES=   http://downloads.mikekohn.net/${PORTNAME}/

MAINTAINER= mike@mikekohn.net
COMMENT=    Create/Convert/Listen to ringtones and logos for mobile phones

RESTRICTED= no-commercial-use

USE_REINPLACE=  yes

pre-build:
    @${REINPLACE_CMD} -e 's|^FLAGS|FLAGS?|' ${WRKSRC}/src/Makefile

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/ringtonetools ${PREFIX}/bin
.for i in face.txt hemglass.mid ionian.rtttl usa.emelody yngwie_trilogy.rtttl
    @${MKDIR} ${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/samples/${i} ${DATADIR}
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/docs/README ${DOCSDIR}
.endif

.include <bsd.port.mk>