aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-04-20 14:01:35 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-04-20 14:01:35 +0000
commit3e92e3a55e57bb0efa9c2d0ba2ebe553dfea06ac (patch)
treef9287fbd96dda24e7964fe7fad208ae7675a52e4 /biology
parent517156ba03b55dfcebabc446011b581475cf6875 (diff)
downloadports-3e92e3a55e57bb0efa9c2d0ba2ebe553dfea06ac.tar.gz
ports-3e92e3a55e57bb0efa9c2d0ba2ebe553dfea06ac.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/tinker/Makefile24
-rw-r--r--biology/tinker/distinfo2
-rw-r--r--biology/tinker/files/patch-aa23
-rw-r--r--biology/tinker/pkg-plist1
-rw-r--r--biology/tinker/pkg-plist.viewer1
5 files changed, 14 insertions, 37 deletions
diff --git a/biology/tinker/Makefile b/biology/tinker/Makefile
index 9436e26f402b..98cf283d0b09 100644
--- a/biology/tinker/Makefile
+++ b/biology/tinker/Makefile
@@ -7,27 +7,14 @@
PORTNAME= tinker
PORTVERSION= 3.8
+PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= ftp://dasher.wustl.edu/pub/
DISTNAME= ${PORTNAME}
-MAINTAINER= gjohnson@nola.srrc.usda.gov
+MAINTAINER= gjohnson@srrc.ars.usda.gov
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 400005
-LIB_DEPENDS= U77:${PORTSDIR}/devel/libU77
-
-# If you wish to use g77 from EGCS, do the following:
-# a) comment out the LIB_DEPENDS line above and uncomment the following line
-
-# BUILD_DEPENDS= g77:${PORTSDIR}/lang/egcs
-
-# b) set env variable 'FC' to 'g77' before running `make'; or 'make FC=g77'
-
-.else
MAKE_ENV+= HAVE_G2C=yes INSTALL_PROGRAM="${INSTALL_PROGRAM}"
-.endif
WRKSRC= ${WRKDIR}/tinker/source
@@ -37,7 +24,6 @@ INSTALL_TARGET= rename
RESTRICTED= author requests no distribution except from his FTP site
-
.if defined(WANT_VIEWER)
.if ${XFREE86_VERSION} == 3
BUILD_DEPENDS+= imake:${PORTSDIR}/devel/imake
@@ -122,7 +108,7 @@ ${PREFIX}/share/tinker/bench
.if defined(WANT_VIEWER)
${MKDIR} ${PREFIX}/share/tinker/rasmol
- ${INSTALL_PROGRAM} ${WRKDIR}/tinker/rasmol/tview-* ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/tinker/rasmol/tview-* ${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/tinker/rasmol/rasmol.hlp ${PREFIX}/share/tinker/rasmol
.endif
@@ -132,8 +118,8 @@ ${PREFIX}/share/tinker/bench
@${ECHO} " The author requests that you return a license form "
@${ECHO} " to him if you find Tinker to be useful. "
@${ECHO} " "
- @${ECHO} " See ${PREFIX}/share/tinker/doc for license forms. "
+ @${ECHO} " See ${PREFIX}/share/doc/tinker for license forms. "
@${ECHO} " **********************************************************"
@${ECHO} ""
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/biology/tinker/distinfo b/biology/tinker/distinfo
index 673edd1ec5f2..a22df5355677 100644
--- a/biology/tinker/distinfo
+++ b/biology/tinker/distinfo
@@ -1 +1 @@
-MD5 (tinker.tar.gz) = e3784b524b5e8acf80b592657c457602
+MD5 (tinker.tar.gz) = 11e66fb5452e2153a2ced410ea9acadb
diff --git a/biology/tinker/files/patch-aa b/biology/tinker/files/patch-aa
index 0d3f17e2ce38..c12a46cb6f62 100644
--- a/biology/tinker/files/patch-aa
+++ b/biology/tinker/files/patch-aa
@@ -1,5 +1,5 @@
--- ../make/Makefile.orig Mon Jan 15 12:39:52 2001
-+++ ../make/Makefile Mon Jan 15 15:48:37 2001
++++ ../make/Makefile Thu Apr 19 14:39:26 2001
@@ -9,8 +9,8 @@
##
## 1. make all Build all the TINKER executables
@@ -43,7 +43,7 @@
##
## Machine: IntelPC / Linux
-@@ -108,6 +108,35 @@
+@@ -108,6 +108,24 @@
#LIBFLAGS = -crusv
#LINKFLAGS =
@@ -52,23 +52,12 @@
+## CPU Type: Intel, AMD, Cyrix
+## Oper Sys: FreeBSD 4.2
+## Compiler: f77 , aka g77
++##
+
+F77 = ${FC}
-+.if ${FC}==f77
-+.if !defined(HAVE_G2C)
-+LIBS = -lU77
-+F77FLAGS = -NL400 -c -w
-+LINKFLAGS = -L${PREFIX}/lib
-+.else
-+LIBS =
-+F77FLAGS = -Wno-globals -fno-globals -c -w
-+LINKFLAGS =
-+.endif
-+.elseif ${FC}==g77
+LIBS =
+F77FLAGS = -Wno-globals -fno-globals -c -w
+LINKFLAGS =
-+.endif
+
+OPTFLAGS = ${FFLAGS} -ffast-math
+.if ${MACHINE_ARCH} == "i386"
@@ -79,7 +68,7 @@
#################################################################
## Should not be Necessary to Change Things Below this Point ##
#################################################################
-@@ -486,11 +515,13 @@
+@@ -486,11 +504,13 @@
xyzpdb.x \
xyzsybyl.x
@@ -95,7 +84,7 @@
all: ${EXEFILES}
-@@ -501,56 +532,56 @@
+@@ -501,56 +521,56 @@
cat *.i *.f > tinker.txt
rename:
@@ -202,7 +191,7 @@
remove_links:
rm -f $(LINKDIR)/alchemy
-@@ -671,8 +702,8 @@
+@@ -671,8 +691,8 @@
bspline.o \
calendar.o \
center.o \
diff --git a/biology/tinker/pkg-plist b/biology/tinker/pkg-plist
index 880a1d1110ce..4253b71400d9 100644
--- a/biology/tinker/pkg-plist
+++ b/biology/tinker/pkg-plist
@@ -159,6 +159,7 @@ share/tinker/test/azulene.key
share/tinker/test/azulene.xyz
share/tinker/test/bdna.int
share/tinker/test/bdna.key
+share/tinker/test/bdna.make
share/tinker/test/bdna.seq
share/tinker/test/bdna.xyz
share/tinker/test/bearing.key
diff --git a/biology/tinker/pkg-plist.viewer b/biology/tinker/pkg-plist.viewer
index 8cedec932ec5..ce873ddf3322 100644
--- a/biology/tinker/pkg-plist.viewer
+++ b/biology/tinker/pkg-plist.viewer
@@ -163,6 +163,7 @@ share/tinker/test/azulene.key
share/tinker/test/azulene.xyz
share/tinker/test/bdna.int
share/tinker/test/bdna.key
+share/tinker/test/bdna.make
share/tinker/test/bdna.seq
share/tinker/test/bdna.xyz
share/tinker/test/bearing.key