Date: Thu, 28 Jan 2010 20:30:50 GMT From: Sevan Janiyan <venture37@geeklan.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/143323: [PATCH] print/epsonepl: make DATADIR safe, use SUB_FILES to update pkg-message, Message-ID: <201001282030.o0SKUo83079585@newbie.thingamajig-systems.co.uk> Resent-Message-ID: <201001282040.o0SKeBVL024121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143323 >Category: ports >Synopsis: [PATCH] print/epsonepl: make DATADIR safe, use SUB_FILES to update pkg-message, >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: Thu Jan 28 20:40:11 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: [DESCRIBE CHANGES] Added file(s): - files/pkg-message.in Removed file(s): - pkg-message Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- epsonepl-0.2.2_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/print/epsonepl/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 22 Aug 2009 00:34:33 -0000 1.6 +++ Makefile 28 Jan 2010 20:25:21 -0000 @@ -16,12 +16,14 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Printer filter for EPSON EPL-5700L etc -USE_GHOSTSCRIPT_RUN= yes - LIB_DEPENDS= ijs.1:${PORTSDIR}/print/libijs +USE_GHOSTSCRIPT_RUN= yes + MAKEFILE= ${FILESDIR}/Makefile +SUB_FILES= pkg-message + post-extract: @cd ${WRKSRC} && ${LS} ijs* | ${GREP} -v ${PORTNAME} | ${XARGS} ${RM} @@ -29,6 +31,6 @@ @${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${PREFIX}/etc @${MKDIR} ${DATADIR} @${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.apsfilter ${DATADIR} - @${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 10 Oct 2003 04:26:13 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,9 +0,0 @@ -------------------------------------------------------------------------- - -You need to copy and customize -%%PREFIX%%/etc/epsonepl.conf[.sample] - -If you're using apsfilter then have a look -at %%PREFIX%%/share/epsonepl/epsonepl.apsfilter - -------------------------------------------------------------------------- Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/print/epsonepl/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 10 Oct 2003 04:26:13 -0000 1.1 +++ pkg-plist 28 Jan 2010 20:25:21 -0000 @@ -1,5 +1,5 @@ bin/ijs_server_epsonepl bin/ps2epl etc/epsonepl.conf.sample -share/epsonepl/epsonepl.apsfilter -@dirrm share/epsonepl +%%DATADIR%%/epsonepl.apsfilter +@dirrm %%DATADIR%% Index: files/pkg-message.in =================================================================== RCS file: files/pkg-message.in diff -N files/pkg-message.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-message.in 28 Jan 2010 20:25:21 -0000 @@ -0,0 +1,9 @@ +------------------------------------------------------------------------- + +You need to copy and customize +%%PREFIX%%/etc/epsonepl.conf[.sample] + +If you're using apsfilter then have a look +at %%DATADIR%%/epsonepl.apsfilter + +------------------------------------------------------------------------- --- epsonepl-0.2.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?201001282030.o0SKUo83079585>