ports/142616: [PATCH] japanese/ja-jadetex-ptex: use $SUB_FILES to dynamically adjust pkg-message

Sevan Janiyan venture37 at geeklan.co.uk
Sun Jan 10 22:40:02 UTC 2010


>Number:         142616
>Category:       ports
>Synopsis:       [PATCH] japanese/ja-jadetex-ptex: 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 22:40:01 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/pkg-message.in

Removed file(s):
- pkg-message

Port maintainer (hrs at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- ja-jadetex-ptex-3.13_6.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/jadetex-ptex/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	22 Aug 2009 00:24:19 -0000	1.9
+++ Makefile	10 Jan 2010 22:28:04 -0000
@@ -20,8 +20,7 @@
 LIB_DEPENDS=		png.5:${PORTSDIR}/graphics/png
 RUN_DEPENDS=		ptex:${PORTSDIR}/japanese/ptex
 
-PKGMESSAGE=		${WRKDIR}/pkg-message
-PKGMESSAGE_SUB=		LOCALBASE=${LOCALBASE}
+SUB_FILES=		pkg-message
 
 PLIST_SUB=		PKGNAMESUFFIX=${PKGNAMESUFFIX} \
 			MKTEXLSR=${MKTEXLSR} \
@@ -32,10 +31,6 @@
 TEXMFDIR=	share/texmf
 TEXMFLOCALDIR=	share/texmf-local
 
-pre-patch:
-	${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
-		< ${PKGDIR}/pkg-message > ${PKGMESSAGE}
-
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	10 Feb 2005 17:52:30 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-JadeTeX uses quite a lot of TeX's resources.  You may find it
-necessary to increase the size of some of TeX's resource pools by
-editing the file %%LOCALBASE%%/share/texmf/web2c/ptex/texmf.cnf with any text
-editor.
-
-For example, to typeset the FreeBSD Handbook with JadeTeX, change the
-following settings to the listed values:
-
-	  hash_extra = 60000
-	  pool_size = 1000000
-	  max_strings = 70000
-	  save_size = 10000
-
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	10 Jan 2010 22:28:04 -0000
@@ -0,0 +1,13 @@
+JadeTeX uses quite a lot of TeX's resources.  You may find it
+necessary to increase the size of some of TeX's resource pools by
+editing the file %%LOCALBASE%%/share/texmf/web2c/ptex/texmf.cnf with any text
+editor.
+
+For example, to typeset the FreeBSD Handbook with JadeTeX, change the
+following settings to the listed values:
+
+	  hash_extra = 60000
+	  pool_size = 1000000
+	  max_strings = 70000
+	  save_size = 10000
+
--- ja-jadetex-ptex-3.13_6.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list