aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2010-08-01 15:53:07 +0800
committerlwhsu <lwhsu@FreeBSD.org>2010-08-01 15:53:07 +0800
commitd97acc5380ba121240bb43f44ff3813b5d0e78a7 (patch)
tree956a4f9ffa8054ac61876cc408c3238cd9578395 /www
parentbb485005f19810f3591e968689748d91dba37655 (diff)
downloadfreebsd-ports-gnome-d97acc5380ba121240bb43f44ff3813b5d0e78a7.tar.gz
freebsd-ports-gnome-d97acc5380ba121240bb43f44ff3813b5d0e78a7.tar.zst
freebsd-ports-gnome-d97acc5380ba121240bb43f44ff3813b5d0e78a7.zip
- Fixes displaing httrack icons in gnome menu
PR: ports/148813 Submitted by: Ruslan Mahmatkhanov <cvs-src AT yandex.ru> Approved by: Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/httrack/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/httrack/Makefile b/www/httrack/Makefile
index 9b19ff35f310..fe3cbd73d3c5 100644
--- a/www/httrack/Makefile
+++ b/www/httrack/Makefile
@@ -7,6 +7,7 @@
PORTNAME= httrack
PORTVERSION= 3.43.9
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.httrack.com/ \
http://sunpoet.net/distfiles/
@@ -31,6 +32,9 @@ post-patch:
@${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/ s|-O -g3 ||g' \
-e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/ install-data-hook/D' ${WRKSRC}/html/Makefile.in
+ @${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