1999-05-19 13:37:59 +00:00
|
|
|
# New ports collection makefile for: ORTEP-III
|
|
|
|
# Date created: 1999-05-08
|
|
|
|
# Whom: Ryo MIYAMOTO
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1999-05-19 13:37:59 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= ortep3
|
2000-06-11 15:13:50 +00:00
|
|
|
PORTVERSION= 1.0.3
|
2000-10-10 01:16:23 +00:00
|
|
|
PORTREVISION= 1
|
2000-04-08 22:04:57 +00:00
|
|
|
CATEGORIES= biology
|
2000-10-10 01:16:23 +00:00
|
|
|
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
|
1999-05-19 13:37:59 +00:00
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
|
1999-05-19 13:37:59 +00:00
|
|
|
|
2000-10-10 01:16:23 +00:00
|
|
|
.if defined(WITH_PGPLOT)
|
2000-04-08 22:04:57 +00:00
|
|
|
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
|
2000-10-10 01:16:23 +00:00
|
|
|
.endif
|
1999-05-19 13:37:59 +00:00
|
|
|
|
2000-10-10 01:16:23 +00:00
|
|
|
WRKSRC= ${WRKDIR}/ortep/src
|
2000-06-11 15:13:50 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${MV} ${WRKSRC}/ortep.f ${WRKSRC}/ortep.f-1.0
|
2000-10-10 01:16:23 +00:00
|
|
|
${CP} ${DISTDIR}/ortep.f ${WRKSRC}/ortep.f
|
2000-06-11 15:13:50 +00:00
|
|
|
|
1999-05-19 13:37:59 +00:00
|
|
|
pre-patch:
|
2000-10-10 01:16:23 +00:00
|
|
|
${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile
|
1999-05-19 13:37:59 +00:00
|
|
|
.if defined(USEPGPLOT)
|
2000-10-10 01:16:23 +00:00
|
|
|
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-aa
|
1999-05-19 13:37:59 +00:00
|
|
|
.endif
|
2000-10-10 01:16:23 +00:00
|
|
|
|
1999-05-19 13:37:59 +00:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ortep3
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ortep3/examples
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ortep3/man
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/ortep3/src
|
|
|
|
|
|
|
|
do-install:
|
2000-06-11 15:13:50 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin
|
2000-10-10 01:16:23 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/ortep/examples/* \
|
1999-05-19 13:37:59 +00:00
|
|
|
${PREFIX}/share/doc/ortep3/examples
|
2000-10-10 01:16:23 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/ortep/man/* \
|
1999-05-19 13:37:59 +00:00
|
|
|
${PREFIX}/share/doc/ortep3/man
|
2000-10-10 01:16:23 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/ortep/src/000readme.txt \
|
1999-05-19 13:37:59 +00:00
|
|
|
${PREFIX}/share/doc/ortep3/src
|
2000-10-10 01:16:23 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/ortep/README.1st \
|
1999-05-19 13:37:59 +00:00
|
|
|
${PREFIX}/share/doc/ortep3
|
|
|
|
|
2000-07-03 02:50:58 +00:00
|
|
|
.include <bsd.port.mk>
|