aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2000-10-10 01:16:23 +0000
committerJames E. Housley <jeh@FreeBSD.org>2000-10-10 01:16:23 +0000
commit4f3702a57ad213f1950227c57f30fc396463d4b1 (patch)
tree99a587cd558c6f54c278efa70b7c4e96fc4aabe7 /biology
parent0eb1022cf73ecc81149e675cee3720b35a0167f0 (diff)
downloadports-4f3702a57ad213f1950227c57f30fc396463d4b1.tar.gz
ports-4f3702a57ad213f1950227c57f30fc396463d4b1.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/ortep3/Makefile33
-rw-r--r--biology/ortep3/distinfo4
-rw-r--r--biology/ortep3/pkg-descr2
3 files changed, 19 insertions, 20 deletions
diff --git a/biology/ortep3/Makefile b/biology/ortep3/Makefile
index a1b9ea43e8c3..bab2d2ca582e 100644
--- a/biology/ortep3/Makefile
+++ b/biology/ortep3/Makefile
@@ -7,32 +7,31 @@
PORTNAME= ortep3
PORTVERSION= 1.0.3
+PORTREVISION= 1
CATEGORIES= biology
-#MASTER_SITES= ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/
-# ftp://ftp.ornl.gov/pub/ortep/src/
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=alex
-DISTFILES= ortep-1.0.3.tar.Z ortep-1.0.3.f
-DISTNAME= ortep
-EXTRACT_ONLY= ortep-1.0.3.tar.Z
+MASTER_SITES= ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/ \
+ ftp://ftp.ornl.gov/pub/ortep/src/
+DISTFILES= ortep.tar.Z ortep.f
+EXTRACT_ONLY= ortep.tar.Z
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
+.if defined(WITH_PGPLOT)
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
+.endif
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
+WRKSRC= ${WRKDIR}/ortep/src
post-extract:
${MV} ${WRKSRC}/ortep.f ${WRKSRC}/ortep.f-1.0
- ${CP} ${DISTDIR}/ortep-${PORTVERSION}.f ${WRKSRC}/ortep.f
+ ${CP} ${DISTDIR}/ortep.f ${WRKSRC}/ortep.f
pre-patch:
- ${CP} ${FILESDIR}/Makefile.ortep3 ${WRKDIR}/${DISTNAME}/src/Makefile
+ ${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile
.if defined(USEPGPLOT)
- cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-aa
- cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-ab
+ cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-aa
.endif
-
+
pre-install:
${MKDIR} ${PREFIX}/share/doc/ortep3
${MKDIR} ${PREFIX}/share/doc/ortep3/examples
@@ -41,13 +40,13 @@ pre-install:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/* \
+ ${INSTALL_DATA} ${WRKDIR}/ortep/examples/* \
${PREFIX}/share/doc/ortep3/examples
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/man/* \
+ ${INSTALL_DATA} ${WRKDIR}/ortep/man/* \
${PREFIX}/share/doc/ortep3/man
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/src/000readme.txt \
+ ${INSTALL_DATA} ${WRKDIR}/ortep/src/000readme.txt \
${PREFIX}/share/doc/ortep3/src
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README.1st \
+ ${INSTALL_DATA} ${WRKDIR}/ortep/README.1st \
${PREFIX}/share/doc/ortep3
.include <bsd.port.mk>
diff --git a/biology/ortep3/distinfo b/biology/ortep3/distinfo
index 69dbe6ae293a..3d4c07094e16 100644
--- a/biology/ortep3/distinfo
+++ b/biology/ortep3/distinfo
@@ -1,2 +1,2 @@
-MD5 (ortep-1.0.3.tar.Z) = c183517406eda8854399287042dac075
-MD5 (ortep-1.0.3.f) = 9af12582aa95d9cc21f18883c2afea20
+MD5 (ortep.tar.Z) = c183517406eda8854399287042dac075
+MD5 (ortep.f) = 9af12582aa95d9cc21f18883c2afea20
diff --git a/biology/ortep3/pkg-descr b/biology/ortep3/pkg-descr
index 5b8081a655f8..6e50cfea7b36 100644
--- a/biology/ortep3/pkg-descr
+++ b/biology/ortep3/pkg-descr
@@ -3,7 +3,7 @@ Structure Illustrations.
(1) If you can use `pgplot' as screen drawing routine, type
- % make USEPGPLOT=yes
+ % make WITH_PGPLOT=yes
(2) If you are not familier to `pgplot', note the followings: