ports/science/libctl/Makefile
Wen Heping ce6bd0ba61 - Update to 3.1
- Fix the build and unbreak on FreeBSD-6

PR:		ports/142158
Submitted by:	Stas Timokhin <devel@stasyan.com>
2010-01-24 02:11:31 +00:00

42 lines
735 B
Makefile

# ex:ts=8
# Ports collection Makefile for: libctl
# Date created: Apr 4, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libctl
PORTVERSION= 3.1
CATEGORIES= science math
MASTER_SITES= http://ab-initio.mit.edu/libctl/
MAINTAINER= ports@FreeBSD.org
COMMENT= Control Language Library
LIB_DEPENDS= guile.20:${PORTSDIR}/lang/guile
USE_AUTOTOOLS= libtool:22
USE_FORTRAN= yes
USE_LDCONFIG= yes
MAN1= gen-ctl-io.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
USE_FORTRAN= g77
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>