Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/www/dillo/Makefile 2002/06/23 19:03:42 1.6.2.1 +++ pkgsrc/www/dillo/Makefile 2024/06/13 13:21:08 1.92 @@ -1,25 +1,50 @@ -# $NetBSD: Makefile,v 1.6.2.1 2002/06/23 19:03:42 jlam Exp $ -# +# $NetBSD: Makefile,v 1.92 2024/06/13 13:21:08 ktnb Exp $ -DISTNAME= dillo-0.6.5 -PKGREVISION= 1 +DISTNAME= dillo-3.1.1 CATEGORIES= www -MASTER_SITES= http://dillo.cipsga.org.br/download/ +MASTER_SITES= ${MASTER_SITE_GITHUB:=dillo-browser/} +GITHUB_TAG= v${PKGVERSION_NOREV} -MAINTAINER= Benjamin.Wong@cc.gatech.edu -HOMEPAGE= http://dillo.cipsga.org.br/ +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://dillo-browser.github.io/ COMMENT= Very small and fast graphical web-browser +LICENSE= gnu-gpl-v3 -USE_BUILDLINK_ONLY= yes -USE_GMAKE= yes +USE_LANGUAGES= c c++ GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} + +REPLACE_PERL+= 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} + +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_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 "../../converters/libiconv/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../mk/jpeg.buildlink3.mk" +.include "../../x11/fltk13/buildlink3.mk" -.include "../../graphics/jpeg/buildlink.mk" -.include "../../graphics/png/buildlink.mk" -.include "../../x11/gtk/buildlink.mk" -.include "../../mk/x11.buildlink.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"