ports/142620: [PATCH] japanese/ja-platex-otf: use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sun Jan 10 23:30:04 UTC 2010
>Number: 142620
>Category: ports
>Synopsis: [PATCH] japanese/ja-platex-otf: use $SUB_FILES to dynamically adjust 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: Sun Jan 10 23:30:03 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:
There's no need to invoke sed manually, use $SUB_FILES to take care of things automatically.
Port maintainer (hrs at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- ja-platex-otf-1.2.4_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/platex-otf/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 31 Jul 2009 13:53:04 -0000 1.8
+++ Makefile 10 Jan 2010 23:13:55 -0000
@@ -30,9 +30,8 @@
DVIPSDIR=${DVIPSDIR} DVIPDFMDIR=${DVIPDFMDIR}
WRKSRC= ${WRKDIR}/otfstable
PLIST= ${WRKDIR}/pkg-plist
-PKGMESSAGE_SUB= DVIPSDIR=${DVIPSDIR_DST} \
- DVIPDFMDIR=${DVIPDFMDIR_DST}
-PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
+SUB_LIST= DVIPSDIR=${DVIPSDIR_DST} DVIPDFMDIR=${DVIPDFMDIR_DST}
TEXMFDIR= share/texmf
TEXMFLOCALDIR= share/texmf-local
@@ -540,8 +539,6 @@
done
pre-install:
- @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${ECHO_CMD} "@comment AUTOMATICALLY GENERATED PLIST" > ${PLIST}
@${ECHO_CMD} "${DVIPDFMDIR_DST}/cid-otf-noembed.map" >> ${PLIST}
.for D in CLASS OFM TFM VF DVIPDFM DVIPS
--- ja-platex-otf-1.2.4_3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list