svn commit: r338403 - head/graphics/cbview
Rusmir Dusko
nemysis at FreeBSD.org
Wed Jan 1 23:44:27 UTC 2014
Author: nemysis
Date: Wed Jan 1 23:44:27 2014
New Revision: 338403
URL: http://svnweb.freebsd.org/changeset/ports/338403
Log:
- Change Makefile header
- Support STAGEDIR
- Add DOCS Option
Approved by: pawel / wg (mentors, implicit)
Modified:
head/graphics/cbview/Makefile
Modified: head/graphics/cbview/Makefile
==============================================================================
--- head/graphics/cbview/Makefile Wed Jan 1 23:40:47 2014 (r338402)
+++ head/graphics/cbview/Makefile Wed Jan 1 23:44:27 2014 (r338403)
@@ -1,3 +1,4 @@
+# Created by: Mezz <mezz at 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>
More information about the svn-ports-all
mailing list