freebsd-ports/biology/ortep3/Makefile
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

55 lines
1.4 KiB
Makefile

# New ports collection makefile for: ORTEP-III
# Date created: 1999-05-08
# Whom: Ryo MIYAMOTO
#
# $FreeBSD$
#
PORTNAME= ortep3
PORTVERSION= 1.0.3
PORTREVISION= 3
CATEGORIES= biology
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
EXTRACT_ONLY= ortep.tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= The Oak Ridge Thermal Ellipsoid Plot Program for Crystal Structure
.if defined(WITH_PGPLOT)
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
.endif
USE_FORTRAN= yes
WRKSRC= ${WRKDIR}/ortep/src
MAKE_ARGS= LFLAGS="${LFLAGS}"
.if defined(WITH_PGPLOT)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa
LFLAGS= -L${LOCALBASE}/lib -lpgplot -lX11
.endif
post-extract:
${MV} ${WRKSRC}/ortep.f ${WRKSRC}/ortep.f-1.0
${CP} ${DISTDIR}/ortep.f ${WRKSRC}/ortep.f
pre-build:
${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin
@${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
.include <bsd.port.mk>