svn commit: r451591 - head/www/httrack
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Oct 9 10:37:14 UTC 2017
Author: sunpoet
Date: Mon Oct 9 10:37:11 2017
New Revision: 451591
URL: https://svnweb.freebsd.org/changeset/ports/451591
Log:
Update the symbolic link to avoid absolute path
- Move httrack.css installation: from post-install: to post-install-DOCS-on:
- Bump PORTREVISION for package change
Modified:
head/www/httrack/Makefile
Modified: head/www/httrack/Makefile
==============================================================================
--- head/www/httrack/Makefile Mon Oct 9 10:05:37 2017 (r451590)
+++ head/www/httrack/Makefile Mon Oct 9 10:37:11 2017 (r451591)
@@ -3,6 +3,7 @@
PORTNAME= httrack
PORTVERSION= 3.49.2
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://download.httrack.com/ \
https://mirror.httrack.com/ \
@@ -44,11 +45,14 @@ post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-ldl ||' ${WRKSRC}/src/coucal/Makefile
post-install:
- ${INSTALL_DATA} ${WRKSRC}/html/httrack.css ${STAGEDIR}${DOCSDIR}/
+ ${RM} ${STAGEDIR}${DATADIR}/html
post-install-DOCS-off:
-# make an empty directory instead of an invalid symbolic link to DOCSDIR
- ${RM} ${STAGEDIR}${DATADIR}/html
+# See PR/208875 for details
${MKDIR} ${STAGEDIR}${DATADIR}/html/
+
+post-install-DOCS-on:
+ ${INSTALL_DATA} ${WRKSRC}/html/httrack.css ${STAGEDIR}${DOCSDIR}/
+ ${RLN} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DATADIR}/html
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list