aboutsummaryrefslogtreecommitdiff
path: root/audio/autozen
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:22:14 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:22:14 +0000
commitc078e4b48f9509b369531435990aba9d182909d9 (patch)
tree51fe19a583e16e181eeb8a57d0de088ab658d60b /audio/autozen
parent5291eb0ca27d25b522d761826e58906a8f701314 (diff)
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Notes
Notes: svn path=/head/; revision=309752
Diffstat (limited to 'audio/autozen')
-rw-r--r--audio/autozen/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/audio/autozen/Makefile b/audio/autozen/Makefile
index 0e8c582298a2..8a25063ad29c 100644
--- a/audio/autozen/Makefile
+++ b/audio/autozen/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: autozen
-# Date created: 2000-09-16
-# Whom: Trevor Johnson
-#
+# Created by: Trevor Johnson
# $FreeBSD$
-#
PORTNAME= autozen
PORTVERSION= 2.1
@@ -23,13 +19,14 @@ USE_PERL5_RUN= yes
PORTDOCS= *
MAN1= autozen.1
+.include <bsd.port.options.mk>
post-patch:
@${RM} -f ${WRKSRC}/autozen ${WRKSRC}/seq2wav
.if exists(/usr/include/sys/soundcard.h)
@${REINPLACE_CMD} "s=machine/soundcard.h=sys/soundcard.h=g" \
${WRKSRC}/autozen.c
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} "s=#%%DOCS%%==g" ${WRKSRC}/Makefile
.endif