Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS

Trim headers
This commit is contained in:
Baptiste Daroussin 2012-12-31 14:27:08 +00:00
parent c7e6af83bc
commit f1ed69bf61
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309755

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: cplay
# Date created: 1 November 2001
# Whom: Jochem Kossen
#
# Created by: Jochem Kossen
# $FreeBSD$
#
PORTNAME= cplay
PORTVERSION= 1.49
@ -21,8 +17,9 @@ MAN1= cplay.1
MAKE_ARGS+= PREFIX="${PREFIX}"
.include <bsd.port.options.mk>
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}