Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/www/dillo/Makefile 2013/02/06 23:23:59 1.59 +++ pkgsrc/www/dillo/Makefile 2024/06/13 13:21:08 1.92 @@ -1,46 +1,49 @@ -# $NetBSD: Makefile,v 1.59 2013/02/06 23:23:59 jperkin Exp $ +# $NetBSD: Makefile,v 1.92 2024/06/13 13:21:08 ktnb Exp $ -DISTNAME= dillo-3.0.2 -PKGREVISION= 3 +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 +LICENSE= gnu-gpl-v3 USE_LANGUAGES= c c++ GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} -REPLACE_PERL+= dpid/dpidc -USE_TOOLS+= perl:run - -DEPENDS+= wget-[0-9]*:../../net/wget +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 +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} -LIBS.SunOS+= -liconv +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} - ${INSTALL_DATA} ${WRKSRC}/src/keysrc ${DESTDIR}${EGDIR} .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" -.include "../../mk/jpeg.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 "../../mk/pthread.buildlink3.mk"