aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-03-25 22:00:34 +0800
committereadler <eadler@FreeBSD.org>2013-03-25 22:00:34 +0800
commitfd6f35cb354bafb38932aa0e2c72b90ccf99304c (patch)
tree961bf59db9d0ca98685df64cc8c7ed578f67d593
parent61bea0c1d63c56a48a11516d3bc33110990b8b8e (diff)
downloadfreebsd-ports-gnome-fd6f35cb354bafb38932aa0e2c72b90ccf99304c.tar.gz
freebsd-ports-gnome-fd6f35cb354bafb38932aa0e2c72b90ccf99304c.tar.zst
freebsd-ports-gnome-fd6f35cb354bafb38932aa0e2c72b90ccf99304c.zip
Convert to OptionsNG
Approved by: mike@mikekohn.net (maintainer)
-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