svn commit: r309759 - head/audio/eawplus
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 31 14:35:50 UTC 2012
Author: bapt
Date: Mon Dec 31 14:35:49 2012
New Revision: 309759
URL: http://svnweb.freebsd.org/changeset/ports/309759
Log:
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Modified:
head/audio/eawplus/Makefile
Modified: head/audio/eawplus/Makefile
==============================================================================
--- head/audio/eawplus/Makefile Mon Dec 31 14:34:32 2012 (r309758)
+++ head/audio/eawplus/Makefile Mon Dec 31 14:35:49 2012 (r309759)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: eawplus
-# Date created: 2004/07/04
-# Whom: nork at FreeBSD.org
-#
+# Created by: nork at 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
More information about the svn-ports-all
mailing list