diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-10-09 18:37:11 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-10-09 18:37:11 +0800 |
commit | d2f49933e984d63b6881d132672ce423186a30b2 (patch) | |
tree | 36a35dbd78d4f7917d414f0fe2ab00befbb4fe6f /www | |
parent | 69baba46930891d8ed172fd2fdc7757baf76f655 (diff) | |
download | freebsd-ports-gnome-d2f49933e984d63b6881d132672ce423186a30b2.tar.gz freebsd-ports-gnome-d2f49933e984d63b6881d132672ce423186a30b2.tar.zst freebsd-ports-gnome-d2f49933e984d63b6881d132672ce423186a30b2.zip |
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
Diffstat (limited to 'www')
-rw-r--r-- | www/httrack/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/httrack/Makefile b/www/httrack/Makefile index 38524e12a5ae..4b5baab6d07c 100644 --- a/www/httrack/Makefile +++ b/www/httrack/Makefile @@ -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> |