aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-05-24 14:39:39 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-05-24 14:39:39 +0800
commit68e1414895d540336ee3b48bf1e5e24f75eea58d (patch)
tree6115d077ec08cea43f0e4fd57e7448b50d350a8e /www
parenta9041502fd09375ce9208b4feed10fbe8935267e (diff)
downloadfreebsd-ports-gnome-68e1414895d540336ee3b48bf1e5e24f75eea58d.tar.gz
freebsd-ports-gnome-68e1414895d540336ee3b48bf1e5e24f75eea58d.tar.zst
freebsd-ports-gnome-68e1414895d540336ee3b48bf1e5e24f75eea58d.zip
- Update to 3.48.9
- Do not install icons by default Changes: http://www.httrack.com/page/4/en/index.html https://code.google.com/p/httrack/source/list https://code.google.com/p/httrack/source/browse/trunk/history.txt
Diffstat (limited to 'www')
-rw-r--r--www/httrack/Makefile12
-rw-r--r--www/httrack/distinfo4
-rw-r--r--www/httrack/pkg-plist22
3 files changed, 22 insertions, 16 deletions
diff --git a/www/httrack/Makefile b/www/httrack/Makefile
index dfc7104b955a..4bb740adbdae 100644
--- a/www/httrack/Makefile
+++ b/www/httrack/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= httrack
-PORTVERSION= 3.48.8
+PORTVERSION= 3.48.9
CATEGORIES= www
MASTER_SITES= http://download.httrack.com/ \
http://mirror.httrack.com/historical/ \
@@ -14,12 +14,12 @@ COMMENT= Easy-to-use offline browser utility and website copier
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS ICONS
+OPTIONS_SUB= yes
CONFIGURE_ARGS= --docdir=${DOCSDIR} --with-zlib=/usr
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
-INSTALLS_ICONS= yes
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= ${PREFIX}/lib/httrack
USES= gmake iconv libtool shebangfix
@@ -29,6 +29,12 @@ PORTDOCS= *
SHEBANG_FILES= src/webhttrack
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MICONS}
+INSTALLS_ICONS= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/ s|-O -g3 ||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/ install-data-hook/d' ${WRKSRC}/html/Makefile.in
diff --git a/www/httrack/distinfo b/www/httrack/distinfo
index 815121a6a5e6..bd863994931f 100644
--- a/www/httrack/distinfo
+++ b/www/httrack/distinfo
@@ -1,2 +1,2 @@
-SHA256 (httrack-3.48.8.tar.gz) = 1a2d70b29680488f4a95b6c0ca3bac1ee9a2a197db8f90736ed73734d7662509
-SIZE (httrack-3.48.8.tar.gz) = 1794390
+SHA256 (httrack-3.48.9.tar.gz) = c3ade197c870d1ddb5c9f74929131333be94caafb29ca9bfee6f1e296c34fa4d
+SIZE (httrack-3.48.9.tar.gz) = 1793917
diff --git a/www/httrack/pkg-plist b/www/httrack/pkg-plist
index f27d74c01cb4..006c453f32cf 100644
--- a/www/httrack/pkg-plist
+++ b/www/httrack/pkg-plist
@@ -66,19 +66,19 @@ man/man1/proxytrack.1.gz
man/man1/webhttrack.1.gz
share/applications/WebHTTrack-Websites.desktop
share/applications/WebHTTrack.desktop
-share/icons/hicolor/16x16/apps/httrack.png
-share/icons/hicolor/32x32/apps/httrack.png
-share/icons/hicolor/48x48/apps/httrack.png
+%%ICONS%%share/icons/hicolor/16x16/apps/httrack.png
+%%ICONS%%share/icons/hicolor/32x32/apps/httrack.png
+%%ICONS%%share/icons/hicolor/48x48/apps/httrack.png
share/pixmaps/httrack16x16.xpm
share/pixmaps/httrack32x32.xpm
share/pixmaps/httrack48x48.xpm
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
+%%ICONS%%@dirrmtry share/icons/hicolor/16x16/apps
+%%ICONS%%@dirrmtry share/icons/hicolor/16x16
+%%ICONS%%@dirrmtry share/icons/hicolor/32x32/apps
+%%ICONS%%@dirrmtry share/icons/hicolor/32x32
+%%ICONS%%@dirrmtry share/icons/hicolor/48x48/apps
+%%ICONS%%@dirrmtry share/icons/hicolor/48x48
+%%ICONS%%@dirrmtry share/icons/hicolor
+%%ICONS%%@dirrmtry share/icons
@dirrm lib/httrack
@dirrm include/httrack