From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 24 23:30:08 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C42D1106568F for ; Sun, 24 Jan 2010 23:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9E04C8FC0C for ; Sun, 24 Jan 2010 23:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0ONU8JG000455 for ; Sun, 24 Jan 2010 23:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0ONU8I7000450; Sun, 24 Jan 2010 23:30:08 GMT (envelope-from gnats) Resent-Date: Sun, 24 Jan 2010 23:30:08 GMT Resent-Message-Id: <201001242330.o0ONU8I7000450@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sevan Janiyan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FE26106568D for ; Sun, 24 Jan 2010 23:24:25 +0000 (UTC) (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: from newbie.thingamajig-systems.co.uk (newbie.thingamajig-systems.co.uk [93.97.185.103]) by mx1.freebsd.org (Postfix) with ESMTP id B9B8A8FC19 for ; Sun, 24 Jan 2010 23:24:24 +0000 (UTC) Received: from newbie.thingamajig-systems.co.uk (localhost [127.0.0.1]) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3) with ESMTP id o0ONKlqP089952 for ; Sun, 24 Jan 2010 23:20:47 GMT (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: (from root@localhost) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3/Submit) id o0ONKlBg089951; Sun, 24 Jan 2010 23:20:47 GMT (envelope-from sevan) Message-Id: <201001242320.o0ONKlBg089951@newbie.thingamajig-systems.co.uk> Date: Sun, 24 Jan 2010 23:20:47 GMT From: Sevan Janiyan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143196: [PATCH] net-p2p/liberator: use $SUB_FILES to update wrapper.sh X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 23:30:08 -0000 >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: