diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-06-24 22:52:27 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-06-24 22:52:27 +0800 |
commit | 6d6629c0c7d522c1bbf7518e7fbd3ce6b29c006b (patch) | |
tree | 3a45908867a6d3adb7db25c0845e5cd665b6ead9 /www | |
parent | 8e5971ec9f97eefe6e6d1564ac8d0529ae8614f6 (diff) | |
download | freebsd-ports-gnome-6d6629c0c7d522c1bbf7518e7fbd3ce6b29c006b.tar.gz freebsd-ports-gnome-6d6629c0c7d522c1bbf7518e7fbd3ce6b29c006b.tar.zst freebsd-ports-gnome-6d6629c0c7d522c1bbf7518e7fbd3ce6b29c006b.zip |
- Update to 3.46.1
- Convert to new options framework
- Remove NOPORTDATA handler
Changes: http://www.httrack.com/page/4/en/index.html
Diffstat (limited to 'www')
-rw-r--r-- | www/httrack/Makefile | 21 | ||||
-rw-r--r-- | www/httrack/distinfo | 4 |
2 files changed, 12 insertions, 13 deletions
diff --git a/www/httrack/Makefile b/www/httrack/Makefile index 2a552068bc20..ff78bbe81b53 100644 --- a/www/httrack/Makefile +++ b/www/httrack/Makefile @@ -6,7 +6,7 @@ # PORTNAME= httrack -PORTVERSION= 3.45.4 +PORTVERSION= 3.46.1 CATEGORIES= www MASTER_SITES= http://download.httrack.com/ \ http://mirror.httrack.com/ \ @@ -18,17 +18,19 @@ COMMENT= Easy-to-use offline browser utility and website copier LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual +OPTIONS_DEFINE= DOCS + CONFIGURE_ARGS= --docdir="${DOCSDIR}" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib USE_AUTOTOOLS= libtool USE_GMAKE= yes -USE_LDCONFIG= ${PREFIX}/lib -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_ICONV= yes +USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/${PORTNAME} MAN1= htsserver.1 httrack.1 proxytrack.1 webhttrack.1 -.if !defined(NOPORTDATA) -USE_LDCONFIG+= ${PREFIX}/lib/httrack -.endif +.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/ s|-O -g3 ||g' \ @@ -37,15 +39,12 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/html/server/div/WebHTTrack.desktop \ ${WRKSRC}/html/server/div/WebHTTrack-Websites.desktop -.if defined(NOPORTDATA) - @${REINPLACE_CMD} -E '/^SUBDIRS = / s/ (lang|libtest|templates)//g' ${WRKSRC}/Makefile.in -.endif -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -e '/^SUBDIRS = / s| html||' ${WRKSRC}/Makefile.in .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${INSTALL_DATA} ${WRKSRC}/html/httrack.css ${DOCSDIR}/html/httrack.css .endif diff --git a/www/httrack/distinfo b/www/httrack/distinfo index 16d9bfd4bba8..dcac6f25550b 100644 --- a/www/httrack/distinfo +++ b/www/httrack/distinfo @@ -1,2 +1,2 @@ -SHA256 (httrack-3.45.4.tar.gz) = 715b1638acee2685d5a012c3848bf087a6e420dba3cde4305b897054f54affd4 -SIZE (httrack-3.45.4.tar.gz) = 1699651 +SHA256 (httrack-3.46.1.tar.gz) = 11c4b2d71789a7ebcb5fdb8b93893b80926c481d2df6b1986a29daa7206b3a2b +SIZE (httrack-3.46.1.tar.gz) = 1698018 |