aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-03-25 14:00:34 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-03-25 14:00:34 +0000
commit430f6c0072efbadcba14b4168491c14a38cdbeb6 (patch)
tree961bf59db9d0ca98685df64cc8c7ed578f67d593 /misc
parentf19ef088e714f7b6f24809eedd30ddb8a14e9d31 (diff)
downloadports-430f6c0072efbadcba14b4168491c14a38cdbeb6.tar.gz
ports-430f6c0072efbadcba14b4168491c14a38cdbeb6.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/ringtonetools/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/misc/ringtonetools/Makefile b/misc/ringtonetools/Makefile
index 745b1d93e85e..94debe278912 100644
--- a/misc/ringtonetools/Makefile
+++ b/misc/ringtonetools/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ringtonetools
-# Date created: 7 June 2002
-# Whom: Michael A. Kohn <mike@mikekohn.net>
-#
+# Created by: Michael A. Kohn <mike@mikekohn.net>
# $FreeBSD$
-#
PORTNAME= ringtonetools
PORTVERSION= 2.25
@@ -18,13 +14,16 @@ RESTRICTED= no-commercial-use
pre-build:
@${REINPLACE_CMD} -e 's|^FLAGS|FLAGS?|' ${WRKSRC}/src/Makefile
+.include <bsd.port.options.mk>
+
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)
+
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/docs/README ${DOCSDIR}
.endif