freebsd-ports/cad/sceptre/Makefile
Maho Nakata dc7fd64b5a * Fix build for CURRENT.
* Grab maintainership.
2007-01-23 05:20:58 +00:00

38 lines
912 B
Makefile

# New ports collection makefile for: sceptre
# Date created: 11 February 2001
# Whom: grog
#
# $FreeBSD$
#
PORTNAME= sceptre
PORTVERSION= 00.317
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://ftp.osuosl.org/pub/FreeBSD/distfiles/
MAINTAINER= maho@FreeBSD.org
COMMENT= SCEPTRE is a general purpose circuit analysis program
WANT_FORTRAN= yes #dummy but future use
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 700000
BUILD_DEPENDS+= g77-34:${PORTSDIR}/lang/gcc34
FC= g77-34
F77= g77-34
FFLAGS+= -fno-automatic -O
MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
.endif
NO_WRKSUBDIR= YES
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/sceptre
${INSTALL_DATA} ${WRKSRC}/doc/doc_en.pdf ${PREFIX}/share/doc/sceptre/doc_en.pdf
${INSTALL_DATA} ${WRKSRC}/doc/doc_ger.pdf ${PREFIX}/share/doc/sceptre/doc_ger.pdf
.endif
.include <bsd.port.post.mk>