Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/www/dillo/Makefile 2004/10/03 00:18:25 1.21 +++ pkgsrc/www/dillo/Makefile 2018/03/12 11:17:46 1.74 @@ -1,41 +1,47 @@ -# $NetBSD: Makefile,v 1.21 2004/10/03 00:18:25 tv Exp $ +# $NetBSD: Makefile,v 1.74 2018/03/12 11:17:46 wiz Exp $ -DISTNAME= dillo-0.8.2 -PKGREVISION= 1 +DISTNAME= dillo-3.0.5 +PKGREVISION= 3 CATEGORIES= www -MASTER_SITES= http://dillo.auriga.wearlab.de/download/ +MASTER_SITES= https://www.dillo.org/download/ EXTRACT_SUFX= .tar.bz2 -MAINTAINER= Benjamin.Wong@cc.gatech.edu -HOMEPAGE= http://dillo.auriga.wearlab.de/ +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.dillo.org/ COMMENT= Very small and fast graphical web-browser +LICENSE= gnu-gpl-v3 -USE_BUILDLINK3= YES -USE_PKGINSTALL= YES -USE_X11= YES -GNU_CONFIGURE= YES +USE_LANGUAGES= c c++ +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} -CONFIGURE_ARGS= --sysconfdir=${PKG_SYSCONFDIR} +REPLACE_PERL+= dpid/dpidc dillo-install-hyphenation +USE_TOOLS+= perl:run wget:run +PKG_SYSCONFSUBDIR= dillo EGDIR= ${PREFIX}/share/examples/dillo -CONF_FILES= ${EGDIR}/dillorc.default ${PKG_SYSCONFDIR}/dillorc +CONF_FILES= ${EGDIR}/dillorc ${PKG_SYSCONFDIR}/dillorc +CONF_FILES+= ${EGDIR}/dpidrc ${PKG_SYSCONFDIR}/dpidrc +CONF_FILES+= ${EGDIR}/keysrc ${PKG_SYSCONFDIR}/keysrc +CONF_FILES+= ${EGDIR}/domainrc ${PKG_SYSCONFDIR}/domainrc -.include "../../mk/bsd.prefs.mk" +INSTALLATION_DIRS= share/doc/dillo ${EGDIR} -.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss]) -BUILD_DEFS+= USE_INET6 -CONFIGURE_ARGS+= --enable-ipv6 -.endif +INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} + +LIBS.SunOS+= -liconv + +.include "options.mk" post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dillo - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/dillo - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/dillorc ${EGDIR}/dillorc.default + ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/dillo + ${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/dillo -.include "../../graphics/jpeg/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/jpeg.buildlink3.mk" .include "../../graphics/png/buildlink3.mk" -.include "../../x11/gtk/buildlink3.mk" +.include "../../x11/fltk13/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"