Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 09:03:47 GMT
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/148813: [PATCH] www/httrack: fix menu icons display
Message-ID:  <201007210903.o6L93lC8041127@www.freebsd.org>
Resent-Message-ID: <201007210910.o6L9A3Nj077567@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148813
>Category:       ports
>Synopsis:       [PATCH] www/httrack: fix menu icons display
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 21 09:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        8.1-PRERELEASE
>Organization:
>Environment:
FreeBSD 8.1-PRERELEASE i386
>Description:
This patch fixes displaing httrack icons in gnome menu.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile	2010-06-02 15:59:33.000000000 +0400
+++ Makefile	2010-07-21 12:57:40.000000000 +0400
@@ -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 @@
 	@${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


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007210903.o6L93lC8041127>