aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-07-03 09:00:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-07-03 09:00:16 +0000
commitedeef405cfd640b17aede69ff24997356e73cb24 (patch)
treef83cc0550508a7d6371e58dcd3f8ee7d4c674345
parent9bf6e5e50c8fc1b65823d1af9b1f3b4ff24094fd (diff)
downloadports-edeef405cfd640b17aede69ff24997356e73cb24.tar.gz
ports-edeef405cfd640b17aede69ff24997356e73cb24.zip
Notes
-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/