svn commit: r315224 - head/misc/ringtonetools
Eitan Adler
eadler at FreeBSD.org
Mon Mar 25 14:00:34 UTC 2013
Author: eadler
Date: Mon Mar 25 14:00:34 2013
New Revision: 315224
URL: http://svnweb.freebsd.org/changeset/ports/315224
Log:
Convert to OptionsNG
Approved by: mike at mikekohn.net (maintainer)
Modified:
head/misc/ringtonetools/Makefile
Modified: head/misc/ringtonetools/Makefile
==============================================================================
--- head/misc/ringtonetools/Makefile Mon Mar 25 13:59:20 2013 (r315223)
+++ head/misc/ringtonetools/Makefile Mon Mar 25 14:00:34 2013 (r315224)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ringtonetools
-# Date created: 7 June 2002
-# Whom: Michael A. Kohn <mike at mikekohn.net>
-#
+# Created by: Michael A. Kohn <mike at 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
More information about the svn-ports-head
mailing list