diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-01-02 07:44:27 +0800 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-01-02 07:44:27 +0800 |
commit | a4fca2c78f8dc291fab53a0c5af55073b167f3b6 (patch) | |
tree | 2d04038c7077bf82e79f4df0fd251219a51b5334 /graphics | |
parent | 2022c2569261c28a3c5bfd631242eaad9ad96510 (diff) | |
download | freebsd-ports-gnome-a4fca2c78f8dc291fab53a0c5af55073b167f3b6.tar.gz freebsd-ports-gnome-a4fca2c78f8dc291fab53a0c5af55073b167f3b6.tar.zst freebsd-ports-gnome-a4fca2c78f8dc291fab53a0c5af55073b167f3b6.zip |
- Change Makefile header
- Support STAGEDIR
- Add DOCS Option
Approved by: pawel / wg (mentors, implicit)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cbview/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/cbview/Makefile b/graphics/cbview/Makefile index 63656b5be682..9ccd87dfa54c 100644 --- a/graphics/cbview/Makefile +++ b/graphics/cbview/Makefile @@ -1,3 +1,4 @@ +# Created by: Mezz <mezz@FreeBSD.org> # $FreeBSD$ PORTNAME= cbview @@ -23,19 +24,16 @@ PLIST_FILES= bin/${PORTNAME} PORTDOCS= Changes README TODO -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/perl -w|${PERL}|' \ ${WRKSRC}/${PORTNAME} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |