Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/www/dillo/Makefile 2001/12/24 14:35:32 1.3 +++ pkgsrc/www/dillo/Makefile 2012/10/28 06:30:13 1.57 @@ -1,26 +1,47 @@ -# $NetBSD: Makefile,v 1.3 2001/12/24 14:35:32 dillo Exp $ -# +# $NetBSD: Makefile,v 1.57 2012/10/28 06:30:13 asau Exp $ -DISTNAME= dillo-0.6.3 +DISTNAME= dillo-3.0.2 +PKGREVISION= 1 CATEGORIES= www -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dillo/} +MASTER_SITES= http://www.dillo.org/download/ +EXTRACT_SUFX= .tar.bz2 -MAINTAINER= Benjamin.Wong@cc.gatech.edu -HOMEPAGE= http://dillo.sourceforge.net/ -COMMENT= very small and fast graphical web-browser +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.dillo.org/ +COMMENT= Very small and fast graphical web-browser -USE_BUILDLINK_ONLY= yes -USE_GMAKE= yes +USE_LANGUAGES= c c++ GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dillo - ${INSTALL_DATA} ${WRKSRC}/dillorc ${PREFIX}/share/examples/dillo +REPLACE_PERL+= dpid/dpidc +USE_TOOLS+= perl:run + +DEPENDS+= wget-[0-9]*:../../net/wget + +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 + +INSTALLATION_DIRS= share/doc/dillo ${EGDIR} -.include "../../devel/pth/buildlink.mk" -.include "../../graphics/jpeg/buildlink.mk" -.include "../../graphics/png/buildlink.mk" -.include "../../x11/gtk/buildlink.mk" -.include "../../mk/x11.buildlink.mk" +LIBS.SunOS+= -liconv + +.include "options.mk" + +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/png/buildlink3.mk" +.include "../../x11/fltk13/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"