svn commit: r309753 - head/audio/btc
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 31 14:23:47 UTC 2012
Author: bapt
Date: Mon Dec 31 14:23:46 2012
New Revision: 309753
URL: http://svnweb.freebsd.org/changeset/ports/309753
Log:
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Modified:
head/audio/btc/Makefile
Modified: head/audio/btc/Makefile
==============================================================================
--- head/audio/btc/Makefile Mon Dec 31 14:22:14 2012 (r309752)
+++ head/audio/btc/Makefile Mon Dec 31 14:23:46 2012 (r309753)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: btc
-# Date created: 1 August 2000
-# Whom: Bill Fumerola <billf at chimesnet.com>
-#
+# Created by: Bill Fumerola <billf at chimesnet.com>
# $FreeBSD$
-#
PORTNAME= btc
PORTVERSION= 258
@@ -19,12 +15,14 @@ WRKSRC= ${WRKDIR}
PLIST_FILES= bin/btc
PORTDOCS= btc.doc
+.include <bsd.port.options.mk>
+
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${DOCSDIR}
.endif
More information about the svn-ports-all
mailing list