1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS

Trim headers
This commit is contained in:
Baptiste Daroussin 2012-12-31 14:23:46 +00:00
parent c078e4b48f
commit ec225b617e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309753

View File

@ -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