From nobody@FreeBSD.ORG Mon Nov 29 15:01:44 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id A99AC152C8; Mon, 29 Nov 1999 15:01:44 -0800 (PST)
Message-Id: <19991129230144.A99AC152C8@hub.freebsd.org>
Date: Mon, 29 Nov 1999 15:01:44 -0800 (PST)
From: watanabe@zlab.phys.nagoya-u.ac.jp
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: Missing scripts files of ja-dvipsk-* ports
X-Send-Pr-Version: www-1.0

>Number:         15172
>Category:       ports
>Synopsis:       Missing scripts files of ja-dvipsk-* ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 29 15:10:00 PST 1999
>Closed-Date:    Thu Dec 9 22:11:21 PST 1999
>Last-Modified:  Thu Dec  9 22:11:45 PST 1999
>Originator:     Makoto WATANABE
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
Z lab. Division of Particle and Astrophysical Science, Nagoya University, JAPAN
>Environment:
>Description:
Because the 'ja-dvipsk-*' ports have missed the scripts/post-configure
files, please add these files. I put the patches for 'japanese/dvipsk'
and 'japanese/dvipsk-vflib' below "Fix:".

Added files are

  dvipsk/scripts/post-configure
  dvipsk-vflib/scripts/post-configure

- Makoto WATANABE
watanabe@zlab.phys.nagoya-u.ac.jp

>How-To-Repeat:

>Fix:
diff -ruN dvipsk.orig/scripts/post-configure dvipsk/scripts/post-configure
--- dvipsk.orig/scripts/post-configure	Thu Jan  1 09:00:00 1970
+++ dvipsk/scripts/post-configure	Tue Nov 30 07:32:54 1999
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+chgdirs=". kpathsea dvipsk"
+
+cd ${WRKSRC}
+
+for dir in ${chgdirs}; do
+    ${MV} -f ${dir}/Makefile ${dir}/Makefile.bak
+    ${SED} \
+	-e 's@^prefix[ 	]*=.*$@prefix=${PREFIX}@' \
+	-e 's@^texmf[ 	]*=.*$@texmf=${PREFIX}/share/texmf@' \
+	< ${dir}/Makefile.bak > ${dir}/Makefile
+done


diff -ruN dvipsk-vflib.orig/scripts/post-configure dvipsk-vflib/scripts/post-configure
--- dvipsk-vflib.orig/scripts/post-configure	Thu Jan  1 09:00:00 1970
+++ dvipsk-vflib/scripts/post-configure	Tue Nov 30 07:32:54 1999
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+chgdirs=". kpathsea dvipsk"
+
+cd ${WRKSRC}
+
+for dir in ${chgdirs}; do
+    ${MV} -f ${dir}/Makefile ${dir}/Makefile.bak
+    ${SED} \
+	-e 's@^prefix[ 	]*=.*$@prefix=${PREFIX}@' \
+	-e 's@^texmf[ 	]*=.*$@texmf=${PREFIX}/share/texmf@' \
+	< ${dir}/Makefile.bak > ${dir}/Makefile
+done


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: imura 
State-Changed-When: Thu Dec 9 22:11:21 PST 1999 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
