summaryrefslogtreecommitdiff
path: root/audio/btc/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:23:46 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:23:46 +0000
commitec225b617ef79281de2aecc9e1c92fb5ba1eb98c (patch)
treedb9a8bf14e1e0c618578b6d4a6f178a8a9e33cbe /audio/btc/Makefile
parentUse PORT_OPTIONS:MDOCS instead of NOPORTDOCS (diff)
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Notes
Notes: svn path=/head/; revision=309753
Diffstat (limited to '')
-rw-r--r--audio/btc/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/btc/Makefile b/audio/btc/Makefile
index b60d17369355..2005273343fc 100644
--- a/audio/btc/Makefile
+++ b/audio/btc/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: btc
-# Date created: 1 August 2000
-# Whom: Bill Fumerola <billf@chimesnet.com>
-#
+# Created by: Bill Fumerola <billf@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