Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 14:22:14 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309752 - head/audio/autozen
Message-ID:  <201212311422.qBVEMECH049276@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311422.qBVEMECH049276>