diff options
author | James E. Housley <jeh@FreeBSD.org> | 2000-10-10 00:43:26 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2000-10-10 00:43:26 +0000 |
commit | 11fa2e221b1c94cfa5338fc9a7db884e01a23cb0 (patch) | |
tree | 17edc8efc76cb26a95ea21c3868dc494ecbad862 /biology/deft | |
parent | 3866598402d4abd922edd0aa951111da06566f8f (diff) | |
download | ports-11fa2e221b1c94cfa5338fc9a7db884e01a23cb0.tar.gz ports-11fa2e221b1c94cfa5338fc9a7db884e01a23cb0.zip |
Support PREFIX properly
PR: 21607
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Approved by: rmiya@cc.hirosaki-u.ac.jp (Ryo MIYAMOTO) MAINTAINER
Notes
Notes:
svn path=/head/; revision=33636
Diffstat (limited to 'biology/deft')
-rw-r--r-- | biology/deft/Makefile | 4 | ||||
-rw-r--r-- | biology/deft/files/patch-aa | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/biology/deft/Makefile b/biology/deft/Makefile index 781239c3eece..5047c62ee2fc 100644 --- a/biology/deft/Makefile +++ b/biology/deft/Makefile @@ -23,6 +23,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/source 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 --git a/biology/deft/files/patch-aa b/biology/deft/files/patch-aa index 933341927f96..7164a838b73c 100644 --- a/biology/deft/files/patch-aa +++ b/biology/deft/files/patch-aa @@ -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 |