1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS

Trim headers
This commit is contained in:
Baptiste Daroussin 2012-12-31 14:34:32 +00:00
parent 0ca3f6898b
commit 6361c26b1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309758

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: dtmfdial
# Date created: 26 March 2006
# Whom: David Bushong <david@bushong.net>
#
# Created by: David Bushong <david@bushong.net>
# $FreeBSD$
#
PORTNAME= dtmfdial
PORTVERSION= 0.2
@ -19,9 +15,10 @@ WRKSRC= ${WRKDIR}/dial
MAKE_ARGS= CFLAGS="${CFLAGS}"
PORTDOCS= README TODO
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dial ${PREFIX}/bin/dtmfdial
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif