1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/biology/ortep3/Makefile
Gerald Pfeifer 1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00

58 lines
1.5 KiB
Makefile

# Created by: Ryo MIYAMOTO
# $FreeBSD$
PORTNAME= ortep3
PORTVERSION= 1.0.3
PORTREVISION= 8
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= Oak Ridge Thermal Ellipsoid Plot Program for Crystal Structure
PGPLOT_LIB_DEPENDS= libpgplot.so:${PORTSDIR}/graphics/pgplot
USES= fortran
WRKSRC= ${WRKDIR}/ortep/src
MAKE_ARGS= LFLAGS="${LDFLAGS}"
PGPLOT_LDFLAGS= -L${LOCALBASE}/lib -lpgplot -lX11
PLIST_FILES+= bin/ortep3
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES PGPLOT
PGPLOT_DESC= Fortran subroutine package for drawing graphs
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPGPLOT}
EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa
.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 ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/src
${INSTALL_DATA} ${WRKSRC}/../README.1st ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../man/* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/000readme.txt ${STAGEDIR}${DOCSDIR}/src
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/../examples/* ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>