svn commit: r343139 - head/net/urlendec
Antoine Brodin
antoine at FreeBSD.org
Thu Feb 6 19:01:26 UTC 2014
Author: antoine
Date: Thu Feb 6 19:01:25 2014
New Revision: 343139
URL: http://svnweb.freebsd.org/changeset/ports/343139
QAT: https://qat.redports.org/buildarchive/r343139/
Log:
Stage support
Modified:
head/net/urlendec/Makefile
head/net/urlendec/pkg-plist
Modified: head/net/urlendec/Makefile
==============================================================================
--- head/net/urlendec/Makefile Thu Feb 6 18:51:52 2014 (r343138)
+++ head/net/urlendec/Makefile Thu Feb 6 19:01:25 2014 (r343139)
@@ -16,24 +16,11 @@ ONLY_FOR_ARCHS= i386
BINARIES= urlencode urldecode
DOCFILES= index.html rfc1738.txt
-NO_STAGE= yes
-do-install:
-.for f in ${BINARIES}
- ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
-.endfor
+OPTIONS_DEFINE= DOCS
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/urlendec
-.for f in ${DOCFILES}
- ${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/share/doc/urlendec
-.endfor
- @echo ""
- @echo " ----------------------------------------------------"
- @echo " Please read ${PREFIX}/share/doc/urlendec/index.html"
- @echo " for detailed instructions how to use this port."
- @echo " ----------------------------------------------------"
- @echo ""
-.endif
+do-install:
+ ${INSTALL_PROGRAM} ${BINARIES:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/urlendec
+ ${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/share/doc/urlendec
.include <bsd.port.mk>
Modified: head/net/urlendec/pkg-plist
==============================================================================
--- head/net/urlendec/pkg-plist Thu Feb 6 18:51:52 2014 (r343138)
+++ head/net/urlendec/pkg-plist Thu Feb 6 19:01:25 2014 (r343139)
@@ -1,5 +1,5 @@
bin/urlencode
bin/urldecode
-share/doc/urlendec/index.html
-share/doc/urlendec/rfc1738.txt
- at dirrm share/doc/urlendec
+%%PORTDOCS%%share/doc/urlendec/index.html
+%%PORTDOCS%%share/doc/urlendec/rfc1738.txt
+%%PORTDOCS%%@dirrm share/doc/urlendec
More information about the svn-ports-head
mailing list