svn commit: r309756 - head/audio/cuetools
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 31 14:30:41 UTC 2012
Author: bapt
Date: Mon Dec 31 14:30:40 2012
New Revision: 309756
URL: http://svnweb.freebsd.org/changeset/ports/309756
Log:
Use PORT_OPTIONS for both EXAMPLES and DOCS
Trim headers
Modified:
head/audio/cuetools/Makefile
Modified: head/audio/cuetools/Makefile
==============================================================================
--- head/audio/cuetools/Makefile Mon Dec 31 14:27:08 2012 (r309755)
+++ head/audio/cuetools/Makefile Mon Dec 31 14:30:40 2012 (r309756)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cuetools
-# Date created: 30 December 2003
-# Whom: Vincent Tantardini <vinc at FreeBSD-fr.org>
-#
+# Created by: Vincent Tantardini <vinc at FreeBSD-fr.org>
# $FreeBSD$
-#
PORTNAME= cuetools
PORTVERSION= 1.3.1
@@ -25,12 +21,14 @@ PORTDOCS= README
PORTEXAMPLES= cuetag.sh
PLIST_FILES= bin/cuebreakpoints bin/cueconvert bin/cueprint
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/extras/cuetag.sh ${EXAMPLESDIR}/
.endif
More information about the svn-ports-all
mailing list