aboutsummaryrefslogtreecommitdiff
path: root/www/dillo2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/dillo2/Makefile')
-rw-r--r--www/dillo2/Makefile19
1 files changed, 10 insertions, 9 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>