svn commit: r356000 - head/german/selfhtml
Olli Hauer
ohauer at FreeBSD.org
Sat May 31 18:08:10 UTC 2014
Author: ohauer
Date: Sat May 31 18:08:09 2014
New Revision: 356000
URL: http://svnweb.freebsd.org/changeset/ports/356000
QAT: https://qat.redports.org/buildarchive/r356000/
Log:
- add stage support
- use EXTRACT_AFTER_ARGS so we have a dedicated WRKSRC
directory and can use COPYTREE_SHARE instead ugly `find ...
Modified:
head/german/selfhtml/Makefile
Modified: head/german/selfhtml/Makefile
==============================================================================
--- head/german/selfhtml/Makefile Sat May 31 18:03:08 2014 (r355999)
+++ head/german/selfhtml/Makefile Sat May 31 18:08:09 2014 (r356000)
@@ -21,10 +21,10 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//
MAINTAINER= ports at FreeBSD.org
COMMENT= Extensive German HTML reference
-WRKSRC= ${WRKDIR}
NO_BUILD= yes
USES= dos2unix zip
+EXTRACT_AFTER_ARGS= -d ${WRKSRC}
DOS2UNIX_REGEX= .*\.(css|dhtml|diverses|editorial|grafik|helferlein|htm|inter|intro|javascript|layouts|navigation|perl|php|projekt|quellen|servercgi|src|xml|xls|dtd)$$
PORTDOCS= \
@@ -49,13 +49,8 @@ PORTDOCS= \
src \
xml
-NO_STAGE= yes
do-install:
- @${MKDIR} ${DOCSDIR}
-# line taken from textproc/xerces-j maintained by hq at FreeBSD.org
-# recursively create dirs and install docs
- @cd ${WRKSRC} && \
- ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
- ${FIND} ${PORTDOCS} -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list