1999-05-19 15:37:59 +02:00
|
|
|
# New ports collection makefile for: ORTEP-III
|
|
|
|
# Date created: 1999-05-08
|
|
|
|
# Whom: Ryo MIYAMOTO
|
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1999-05-19 15:37:59 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 00:04:57 +02:00
|
|
|
PORTNAME= ortep3
|
2000-06-11 17:13:50 +02:00
|
|
|
PORTVERSION= 1.0.3
|
2007-01-12 06:40:57 +01:00
|
|
|
PORTREVISION= 3
|
2000-04-09 00:04:57 +02:00
|
|
|
CATEGORIES= biology
|
2004-06-02 05:32:57 +02:00
|
|
|
MASTER_SITES= http://www.ccl.net/cca/software/SOURCES/FORTRAN/ortep/:Z \
|
|
|
|
ftp://ftp.ornl.gov/pub/ortep/src/:f
|
|
|
|
DISTFILES= ortep.tar.Z:Z ortep.f:f
|
2000-10-10 03:16:23 +02:00
|
|
|
EXTRACT_ONLY= ortep.tar.Z
|
1999-05-19 15:37:59 +02:00
|
|
|
|
2006-04-05 08:13:46 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= The Oak Ridge Thermal Ellipsoid Plot Program for Crystal Structure
|
1999-05-19 15:37:59 +02:00
|
|
|
|
2000-10-10 03:16:23 +02:00
|
|
|
.if defined(WITH_PGPLOT)
|
2000-04-09 00:04:57 +02:00
|
|
|
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
|
2000-10-10 03:16:23 +02:00
|
|
|
.endif
|
1999-05-19 15:37:59 +02:00
|
|
|
|
2007-07-14 11:51:49 +02:00
|
|
|
USE_FORTRAN= yes
|
2000-10-10 03:16:23 +02:00
|
|
|
WRKSRC= ${WRKDIR}/ortep/src
|
2007-07-14 11:51:49 +02:00
|
|
|
MAKE_ARGS= LFLAGS="${LFLAGS}"
|
2000-10-10 20:28:22 +02:00
|
|
|
|
|
|
|
.if defined(WITH_PGPLOT)
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
LFLAGS= -L${LOCALBASE}/lib -lpgplot -lX11
|
2000-10-10 20:28:22 +02:00
|
|
|
.endif
|
|
|
|
|
2000-06-11 17:13:50 +02:00
|
|
|
post-extract:
|
|
|
|
${MV} ${WRKSRC}/ortep.f ${WRKSRC}/ortep.f-1.0
|
2000-10-10 03:16:23 +02:00
|
|
|
${CP} ${DISTDIR}/ortep.f ${WRKSRC}/ortep.f
|
2000-06-11 17:13:50 +02:00
|
|
|
|
2000-10-10 20:28:22 +02:00
|
|
|
pre-build:
|
2000-10-10 03:16:23 +02:00
|
|
|
${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile
|
1999-05-19 15:37:59 +02:00
|
|
|
|
|
|
|
do-install:
|
2000-06-11 17:13:50 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin
|
2000-10-10 20:28:22 +02: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 15:37:59 +02:00
|
|
|
|
2000-07-03 04:50:58 +02:00
|
|
|
.include <bsd.port.mk>
|