diff options
author | bapt <bapt@FreeBSD.org> | 2012-12-31 22:07:52 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-12-31 22:07:52 +0800 |
commit | 6598eda201a2f424e4f49eeda97b585aa4d08b8a (patch) | |
tree | 6a6b1fb775db78222e5209ed3147244b70292c59 | |
parent | 2b745c20923fed066c414ff695e9fcf06a543284 (diff) | |
download | freebsd-ports-gnome-6598eda201a2f424e4f49eeda97b585aa4d08b8a.tar.gz freebsd-ports-gnome-6598eda201a2f424e4f49eeda97b585aa4d08b8a.tar.zst freebsd-ports-gnome-6598eda201a2f424e4f49eeda97b585aa4d08b8a.zip |
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
-rw-r--r-- | archivers/star/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/archivers/star/Makefile b/archivers/star/Makefile index b83c3e4538f7..3bbef0099a4c 100644 --- a/archivers/star/Makefile +++ b/archivers/star/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: star -# Date created: Thu May 1 20:28:44 CEST 1997 -# Whom: Andreas Klemm <andreas@klemm.gtn.com> -# +# Created by: Andreas Klemm <andreas@klemm.gtn.com> # $FreeBSD$ -# PORTNAME= star DISTVERSION= 1.5.1 @@ -34,6 +29,9 @@ MAKE_ENV+= MAKEFLAGS=${MAKEFLAGS} PORTDOCS= README README.crash README.mtio README.pattern STARvsGNUTAR \ README.ACL README.largefiles README.otherbugs \ README.posix-2001 + +.include <bsd.port.options.mk> + post-patch: @${FIND} ${WRKSRC} -type f -print \ | ${XARGS} ${REINPLACE_CMD} -e "s@/etc/default@${PREFIX}/etc@g" @@ -63,7 +61,7 @@ do-install: fi post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for FILE in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/star/${FILE} ${DOCSDIR}/${FILE} |