svn commit: r338761 - head/x11/swarp
Antoine Brodin
antoine at FreeBSD.org
Sun Jan 5 12:55:36 UTC 2014
Author: antoine
Date: Sun Jan 5 12:55:36 2014
New Revision: 338761
URL: http://svnweb.freebsd.org/changeset/ports/338761
Log:
- Stage support
- Add missing OPTIONS_DEFINE
Modified:
head/x11/swarp/Makefile
Modified: head/x11/swarp/Makefile
==============================================================================
--- head/x11/swarp/Makefile Sun Jan 5 12:50:47 2014 (r338760)
+++ head/x11/swarp/Makefile Sun Jan 5 12:55:36 2014 (r338761)
@@ -22,7 +22,8 @@ MAKE_ARGS= LDFLAGS="${LDFLAGS} -L${LOCAL
PORTDOCS= README
PLIST_FILES= bin/swarp
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
@@ -30,8 +31,8 @@ post-patch:
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list