Date: Sun, 24 Jan 2010 23:20:47 GMT From: Sevan Janiyan <venture37@geeklan.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/143196: [PATCH] net-p2p/liberator: use $SUB_FILES to update wrapper.sh Message-ID: <201001242320.o0ONKlBg089951@newbie.thingamajig-systems.co.uk> Resent-Message-ID: <201001242330.o0ONU8I7000450@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143196 >Category: ports >Synopsis: [PATCH] net-p2p/liberator: use $SUB_FILES to update wrapper.sh >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: Sun Jan 24 23:30:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sevan Janiyan >Release: FreeBSD 8.0-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC >Description: Added file(s): - files/wrapper.sh.in Removed file(s): - files/wrapper.sh Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- liberator-2.0.2_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net-p2p/liberator/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 22 Aug 2009 00:32:13 -0000 1.8 +++ Makefile 24 Jan 2010 23:19:27 -0000 @@ -13,7 +13,7 @@ DISTNAME= ofcp-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= Command line client to FreeNet Network +COMMENT= Command line client to FreeNet Network BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml @@ -22,16 +22,12 @@ DATA_FILES= liber_mimetypes DOC_FILES= COPYING FREESITE-HOWTO README TODO -LIB_FILES= fcp.cma hlfi.cma asfi.cma fcp.cmxa hlfi.cmxa asfi.cmxa \ +LIB_FILES= fcp.cma hlfi.cma asfi.cma fcp.cmxa hlfi.cmxa asfi.cmxa \ fcp.mli hlfreenet.mli asfreenet.mli fieldset.mli \ fstream.mli \ fcp.cmi hlfreenet.cmi asfreenet.cmi fieldset.cmi \ fstream.cmi - -post-patch: - @${SED} -e 's|%%PREFIX%%|${PREFIX}|; \ - s|%%DATADIR%%|${DATADIR:S,^${PREFIX}/,,}|' \ - ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh +SUB_FILES= wrapper.sh do-configure: @${REINPLACE_CMD} -E \ Index: files/wrapper.sh =================================================================== RCS file: files/wrapper.sh diff -N files/wrapper.sh --- files/wrapper.sh 2 May 2003 05:07:33 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -#!/bin/sh - -PREFIX="%%PREFIX%%" -PROGRAM="${0}" -DATADIR="%%DATADIR%%" -MIME_FILE=liber_mimetypes - -if [ ! -f ${MIME_FILE} ] -then - cp -f ${PREFIX}/${DATADIR}/${MIME_FILE} \ - ${HOME}/.${MIME_FILE} -fi - -exec ${PREFIX}/bin/${PROGRAM##*/}-real "${@}" Index: files/wrapper.sh.in =================================================================== RCS file: files/wrapper.sh.in diff -N files/wrapper.sh.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/wrapper.sh.in 24 Jan 2010 23:19:27 -0000 @@ -0,0 +1,14 @@ +#!/bin/sh + +PREFIX="%%PREFIX%%" +PROGRAM="${0}" +DATADIR="%%DATADIR%%" +MIME_FILE=liber_mimetypes + +if [ ! -f ${MIME_FILE} ] +then + cp -f ${PREFIX}/${DATADIR}/${MIME_FILE} \ + ${HOME}/.${MIME_FILE} +fi + +exec ${PREFIX}/bin/${PROGRAM##*/}-real "${@}" --- liberator-2.0.2_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001242320.o0ONKlBg089951>