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 18:28:22 +00:00
|
|
|
PORTREVISION= 2
|
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
|
|
|
|
2000-10-10 18:28:22 +00:00
|
|
|
MAKE_ARGS= FFLAGS="${FFLAGS}" LFLAGS="${LFLAGS}"
|
|
|
|
|
|
|
|
.if defined(WITH_PGPLOT)
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa
|
|
|
|
LFLAGS= -L${LOCALBASE}/lib -lpgplot -L${X11BASE}/lib -lX11
|
|
|
|
.endif
|
|
|
|
|
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
|
|
|
|
2000-10-10 18:28:22 +00:00
|
|
|
pre-build:
|
2000-10-10 01:16:23 +00:00
|
|
|
${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile
|
1999-05-19 13:37:59 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-06-11 15:13:50 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin
|
2000-10-10 18:28:22 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/ortep3
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../README.1st \
|
|
|
|
${PREFIX}/share/doc/ortep3
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/ortep3/examples
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../examples/* \
|
|
|
|
${PREFIX}/share/doc/ortep3/examples
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/ortep3/man
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../man/* \
|
|
|
|
${PREFIX}/share/doc/ortep3/man
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/ortep3/src
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/000readme.txt \
|
|
|
|
${PREFIX}/share/doc/ortep3/src
|
1999-05-19 13:37:59 +00:00
|
|
|
|
2000-07-03 02:50:58 +00:00
|
|
|
.include <bsd.port.mk>
|