Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Sep 2000 12:12:15 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21081: Update port: devel/SpecTcl
Message-ID:  <20000906191215.EB4EE37B449@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21081
>Category:       ports
>Synopsis:       Update port: devel/SpecTcl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 06 12:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support PREFIX properly

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/SpecTcl/Makefile devel/SpecTcl/Makefile
--- /usr/ports/devel/SpecTcl/Makefile	Wed Apr 12 21:19:31 2000
+++ devel/SpecTcl/Makefile	Wed Jul 19 04:55:05 2000
@@ -17,6 +17,10 @@
 
 NO_BUILD=	yes
 
+post-patch:
+	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specJava
+	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specTcl
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/specJava ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/specTcl ${PREFIX}/bin
diff -urN /usr/ports/devel/SpecTcl/patches/patch-aa devel/SpecTcl/patches/patch-aa
--- /usr/ports/devel/SpecTcl/patches/patch-aa	Tue Jan  4 06:59:06 2000
+++ devel/SpecTcl/patches/patch-aa	Wed Jul 19 04:53:06 2000
@@ -5,7 +5,7 @@
  
  # Change DIR to the directory that contains the SpecTcl source files
 -DIR=../SpecTcl
-+DIR=/usr/local/SpecTcl/lib
++DIR=%%PREFIX%%/SpecTcl/lib
  
  # Change WISH to the pathname of your tk4.1a2 (or >) wish binary
 -WISH=`which wish`
diff -urN /usr/ports/devel/SpecTcl/patches/patch-ab devel/SpecTcl/patches/patch-ab
--- /usr/ports/devel/SpecTcl/patches/patch-ab	Tue Jan  4 06:59:06 2000
+++ devel/SpecTcl/patches/patch-ab	Wed Jul 19 04:53:19 2000
@@ -5,7 +5,7 @@
  
  # Change DIR to the directory that contains the SpecTcl source files
 -DIR=../SpecTcl
-+DIR=/usr/local/SpecTcl/lib
++DIR=%%PREFIX%%/SpecTcl/lib
  
  # Change WISH to the pathname of your tk4.1a2 (or >) wish binary
 -WISH=`which wish`


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000906191215.EB4EE37B449>