Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/www/dillo/Makefile 2003/03/21 18:15:28 1.12 +++ pkgsrc/www/dillo/Makefile 2015/06/12 10:51:49 1.68 @@ -1,40 +1,47 @@ -# $NetBSD: Makefile,v 1.12 2003/03/21 18:15:28 jmmv Exp $ -# +# $NetBSD: Makefile,v 1.68 2015/06/12 10:51:49 wiz Exp $ -DISTNAME= dillo-0.7.1.2 -WRKSRC= ${WRKDIR}/dillo-0.7.1 +DISTNAME= dillo-3.0.4 +PKGREVISION= 3 CATEGORIES= www -MASTER_SITES= http://dillo.auriga.wearlab.de/download/ +MASTER_SITES= http://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= http://www.dillo.org/ COMMENT= Very small and fast graphical web-browser +LICENSE= gnu-gpl-v3 -USE_BUILDLINK2= yes -USE_PKGINSTALL= yes -USE_X11= yes -USE_GMAKE= yes -GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} +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 ${PKG_SYSCONFDIR}/dillorc +CONF_FILES+= ${EGDIR}/dpidrc ${PKG_SYSCONFDIR}/dpidrc +CONF_FILES+= ${EGDIR}/keysrc ${PKG_SYSCONFDIR}/keysrc +CONF_FILES+= ${EGDIR}/domainrc ${PKG_SYSCONFDIR}/domainrc + +INSTALLATION_DIRS= share/doc/dillo ${EGDIR} -CFLAGS+= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\" +INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} -.include "../../mk/bsd.prefs.mk" +LIBS.SunOS+= -liconv -BUILD_DEFS+= USE_INET6 -.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss]) -CONFIGURE_ARGS+= --enable-ipv6 -.endif +.include "options.mk" post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dillo - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/dillo + ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/dillo + ${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/dillo -.include "../../graphics/jpeg/buildlink2.mk" -.include "../../graphics/png/buildlink2.mk" -.include "../../x11/gtk/buildlink2.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/jpeg.buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../x11/fltk13/buildlink3.mk" -.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"