Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 08:11:56 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21607: Update port: biology/deft
Message-ID:  <20000928151156.3602937B423@hub.freebsd.org>

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

>Number:         21607
>Category:       ports
>Synopsis:       Update port: biology/deft
>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:   Thu Sep 28 08:20:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support PREFIX properly

No response from maintainer.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/biology/deft/Makefile biology/deft/Makefile
--- /usr/ports/biology/deft/Makefile	Mon Jun 12 18:47:12 2000
+++ biology/deft/Makefile	Wed Jul 19 02:26:20 2000
@@ -23,6 +23,10 @@
 BUILD_DEPENDS=	ftn77:${PORTSDIR}/lang/f77
 .endif
 
+post-patch:
+	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g \
+		${WRKDIR}/${DISTNAME}/examples/DeFT
+
 post-configure:
 	${CP} ${FILESDIR}/Makefile.deft ${WRKSRC}/Makefile
 
diff -urN /usr/ports/biology/deft/patches/patch-aa biology/deft/patches/patch-aa
--- /usr/ports/biology/deft/patches/patch-aa	Fri Jun  9 21:02:18 2000
+++ biology/deft/patches/patch-aa	Wed Jul 19 02:24:26 2000
@@ -14,7 +14,7 @@
 +if (null$my_directory == null) then
 +    setenv my_directory `echo $PWD`
 +endif
-+setenv DeFT_directory /usr/local/share/DeFT
++setenv DeFT_directory %%PREFIX%%/share/DeFT
 +setenv temp_directory /usr/tmp/tmp$$
  
  mkdir $temp_directory


>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?20000928151156.3602937B423>