diff options
author | bsam <bsam@FreeBSD.org> | 2013-06-15 00:06:45 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-06-15 00:06:45 +0800 |
commit | c38bbb2f18c8823a9d24e069e1e3df47c2253e5f (patch) | |
tree | 8b235bfd77f32ccd3d23eb14c1ce9ecb6377cd8f /sysutils | |
parent | e6c2aba98ab8ad0dc1359444a9043c9e08849221 (diff) | |
download | freebsd-ports-gnome-c38bbb2f18c8823a9d24e069e1e3df47c2253e5f.tar.gz freebsd-ports-gnome-c38bbb2f18c8823a9d24e069e1e3df47c2253e5f.tar.zst freebsd-ports-gnome-c38bbb2f18c8823a9d24e069e1e3df47c2253e5f.zip |
.NOPORTDOCS -> PORT_OPTIONS:MDOCS; pts/4 20:04
371> . remove unneeded PLIST_SUB;
. trim Makefile headers.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/fvcool/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sysutils/fvcool/Makefile b/sysutils/fvcool/Makefile index 18264c7d5dc8..3cd6264edcbe 100644 --- a/sysutils/fvcool/Makefile +++ b/sysutils/fvcool/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: fvcool -# Date created: 5 October 2002 -# Whom: Frerich Raabe <frerich.raabe@gmx.de> -# +# Created by: Frerich Raabe <frerich.raabe@gmx.de> # $FreeBSD$ -# PORTNAME= fvcool PORTVERSION= 1.0.4 @@ -20,11 +16,12 @@ USE_RC_SUBR= fvcool SUB_FILES= pkg-message SUB_LIST+= "PORTNAME=${PORTNAME}" ALL_TARGET= fvcool -PLIST_SUB+= DOCSDIR=${DOCSDIR:S,^${PREFIX}/,,} PORTDOCS= ReadMe ReadMe.jp ReadMe.tech_KT133 PLIST_FILES= sbin/fvcool +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|@CC@|& ${CFLAGS}|; \ s|-O3||g ; s| -s | |g' ${BUILD_WRKSRC}/Makefile.in @@ -35,12 +32,12 @@ do-install: install-doc post-install: @${CAT} ${PKGMESSAGE} +.include <bsd.port.options.mk> + install-doc: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif .include <bsd.port.mk> |