svn commit: r309752 - head/audio/autozen
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 31 14:22:15 UTC 2012
Author: bapt
Date: Mon Dec 31 14:22:14 2012
New Revision: 309752
URL: http://svnweb.freebsd.org/changeset/ports/309752
Log:
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Modified:
head/audio/autozen/Makefile
Modified: head/audio/autozen/Makefile
==============================================================================
--- head/audio/autozen/Makefile Mon Dec 31 14:20:40 2012 (r309751)
+++ head/audio/autozen/Makefile Mon Dec 31 14:22:14 2012 (r309752)
@@ -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
More information about the svn-ports-head
mailing list