aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-07-03 17:00:16 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-07-03 17:00:16 +0800
commit69e4cd8ba81da4550464038ddbc4dc6749315120 (patch)
treef83cc0550508a7d6371e58dcd3f8ee7d4c674345 /www
parentada797a447209c4b31fc75954176cfd7e0f031b0 (diff)
downloadfreebsd-ports-gnome-69e4cd8ba81da4550464038ddbc4dc6749315120.tar.gz
freebsd-ports-gnome-69e4cd8ba81da4550464038ddbc4dc6749315120.tar.zst
freebsd-ports-gnome-69e4cd8ba81da4550464038ddbc4dc6749315120.zip
- Fix LICENSE
- Add LICENSE_FILE - Switch to options helpers - Update WWW
Diffstat (limited to 'www')
-rw-r--r--www/dillo2/Makefile19
-rw-r--r--www/dillo2/pkg-descr2
2 files changed, 11 insertions, 10 deletions
diff --git a/www/dillo2/Makefile b/www/dillo2/Makefile
index c04f1cae32f9..1c4b19315491 100644
--- a/www/dillo2/Makefile
+++ b/www/dillo2/Makefile
@@ -13,7 +13,8 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast, small graphical Web browser built upon fltk
-LICENSE= GPLv3
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
RUN_DEPENDS= wget:ftp/wget
@@ -81,22 +82,22 @@ post-patch:
${WRKSRC}/dillo-install-hyphenation \
${WRKSRC}/doc/dillo.1.in \
${WRKSRC}/dpid/dpid.c
-.if ${PORT_OPTIONS:MDOCS}
+
+post-patch-DOCS-on:
@${REINPLACE_CMD} -e "\|install-data-am:|s|install-dist_docDATA||" \
${WRKSRC}/doc/Makefile.in
-.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
-.endif
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dillo/hyphenation
-.if ${PORT_OPTIONS:MHYPHENATION}
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+
+post-install-HYPHENATION-on:
.for _l in ${HYPHENATION_LANGS}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/hyph-${_l}.pat.txt \
${STAGEDIR}${PREFIX}/libexec/dillo/hyphenation/${_l:C/-.*\$//}.pat
.endfor
-.endif
.include <bsd.port.post.mk>
diff --git a/www/dillo2/pkg-descr b/www/dillo2/pkg-descr
index 684f97c387f3..a9ad9d48591b 100644
--- a/www/dillo2/pkg-descr
+++ b/www/dillo2/pkg-descr
@@ -3,4 +3,4 @@ stable, developer-friendly, usable, fast, and extensible. This
new, experimental version of Dillo is based upon FLTK toolkit,
rather than GTK1, and has been substantially rewritten.
-WWW: http://www.dillo.org/
+WWW: https://www.dillo.org/