svn commit: r309758 - head/audio/dtmfdial
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 31 14:34:33 UTC 2012
Author: bapt
Date: Mon Dec 31 14:34:32 2012
New Revision: 309758
URL: http://svnweb.freebsd.org/changeset/ports/309758
Log:
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Modified:
head/audio/dtmfdial/Makefile
Modified: head/audio/dtmfdial/Makefile
==============================================================================
--- head/audio/dtmfdial/Makefile Mon Dec 31 14:33:37 2012 (r309757)
+++ head/audio/dtmfdial/Makefile Mon Dec 31 14:34:32 2012 (r309758)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dtmfdial
-# Date created: 26 March 2006
-# Whom: David Bushong <david at bushong.net>
-#
+# Created by: David Bushong <david at bushong.net>
# $FreeBSD$
-#
PORTNAME= dtmfdial
PORTVERSION= 0.2
@@ -19,9 +15,10 @@ WRKSRC= ${WRKDIR}/dial
MAKE_ARGS= CFLAGS="${CFLAGS}"
PORTDOCS= README TODO
+.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dial ${PREFIX}/bin/dtmfdial
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
More information about the svn-ports-all
mailing list