Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/www/dillo/Makefile 2009/07/07 14:24:05 1.43 +++ pkgsrc/www/dillo/Makefile 2024/06/13 13:21:08 1.92 @@ -1,43 +1,50 @@ -# $NetBSD: Makefile,v 1.43 2009/07/07 14:24:05 joerg Exp $ +# $NetBSD: Makefile,v 1.92 2024/06/13 13:21:08 ktnb Exp $ -DISTNAME= dillo-2.0 +DISTNAME= dillo-3.1.1 CATEGORIES= www -MASTER_SITES= http://www.dillo.org/download/ -EXTRACT_SUFX= .tar.bz2 +MASTER_SITES= ${MASTER_SITE_GITHUB:=dillo-browser/} +GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.dillo.org/ +HOMEPAGE= https://dillo-browser.github.io/ COMMENT= Very small and fast graphical web-browser - -PKG_DESTDIR_SUPPORT= user-destdir +LICENSE= gnu-gpl-v3 USE_LANGUAGES= c c++ GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} - -REPLACE_PERL+= dpid/dpidc -USE_TOOLS+= perl:run +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} -DEPENDS+= wget-[0-9]*:../../net/wget +REPLACE_PERL+= dillo-install-hyphenation +USE_TOOLS+= perl:run wget:run -EGDIR= ${PREFIX}/share/examples/dillo -CONF_FILES= ${EGDIR}/dillorc ${PKG_SYSCONFDIR}/dillorc -CONF_FILES+= ${EGDIR}/dpidrc ${PKG_SYSCONFDIR}/dpidrc +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} +INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} + +USE_TOOLS+= aclocal autoconf automake autoreconf gmake perl tar + .include "options.mk" +pre-configure: + cd ${WRKSRC} && autoreconf -fi + post-install: ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/dillo ${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/dillo - ${INSTALL_DATA} ${WRKSRC}/dillorc ${DESTDIR}${EGDIR} .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" -.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" -.include "../../x11/fltk2/buildlink3.mk" +.include "../../mk/jpeg.buildlink3.mk" +.include "../../x11/fltk13/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"