svn commit: r344806 - head/textproc/docbook-tdg
Mathieu Arnold
mat at FreeBSD.org
Mon Feb 17 18:05:03 UTC 2014
Author: mat
Date: Mon Feb 17 18:05:02 2014
New Revision: 344806
URL: http://svnweb.freebsd.org/changeset/ports/344806
QAT: https://qat.redports.org/buildarchive/r344806/
Log:
Support staging.
Sponsored by: Absolight
Modified:
head/textproc/docbook-tdg/Makefile
Modified: head/textproc/docbook-tdg/Makefile
==============================================================================
--- head/textproc/docbook-tdg/Makefile Mon Feb 17 18:04:32 2014 (r344805)
+++ head/textproc/docbook-tdg/Makefile Mon Feb 17 18:05:02 2014 (r344806)
@@ -6,20 +6,17 @@ PORTVERSION= 2.0.17
CATEGORIES= textproc
MASTER_SITES= http://www.docbook.org/tdg/en/
DISTNAME= tdg-en-html-${PORTVERSION}
+EXTRACT_SUFX= .zip
MAINTAINER= ports at FreeBSD.org
COMMENT= Norman Walsh's book "DocBook: The Definitive Guide"
-USE_ZIP= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/tdg/en
-NO_STAGE= yes
do-install:
-.for D in html/figures/callouts html/figures/admon html/figures html
- ${MKDIR} ${DOCSDIR}/${D}
- ${INSTALL_DATA} ${WRKSRC}/${D}/*.* ${DOCSDIR}/${D}/
-.endfor
- ${INSTALL_DATA} ${FILESDIR}/index.html ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/index.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list