aboutsummaryrefslogtreecommitdiff
path: root/audio/eawplus
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:35:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:35:49 +0000
commit5f828e63a72570006da7747f1e8dd260f9c2d65e (patch)
treec709f64f526a2c2e8797bac52e08b8b1e7b57705 /audio/eawplus
parent6361c26b1bc7ab064e47ba3df0f1d20166c1a493 (diff)
downloadports-5f828e63a72570006da7747f1e8dd260f9c2d65e.tar.gz
ports-5f828e63a72570006da7747f1e8dd260f9c2d65e.zip
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Notes
Notes: svn path=/head/; revision=309759
Diffstat (limited to 'audio/eawplus')
-rw-r--r--audio/eawplus/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/eawplus/Makefile b/audio/eawplus/Makefile
index 1562fb73c40c..2c5ab3510afb 100644
--- a/audio/eawplus/Makefile
+++ b/audio/eawplus/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: eawplus
-# Date created: 2004/07/04
-# Whom: nork@FreeBSD.org
-#
+# Created by: nork@FreeBSD.org
# $FreeBSD$
-#
PORTNAME= eawplus
PORTVERSION= 12.1
@@ -26,6 +22,8 @@ NO_WRKSUBDIR= yes
TIMIDITY_DATADIR= share/timidity
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR}
+.include <bsd.port.options.mk>
+
post-extract:
@${RM} -f ${WRKSRC}/timidity/inst/GUS/power/h-hihatp.pat.orig
@${RM} -f ${WRKSRC}/timidity/inst/GUS/power/h-snare.pat.orig
@@ -41,7 +39,7 @@ do-install:
@${MKDIR} ${PREFIX}/${TIMIDITY_DATADIR}
@${INSTALL_DATA} ${WRKDIR}/timidity.cfg \
${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-eawplus
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/doc/*/*.txt.gz ${DOCSDIR}
.endif