2001-02-11 07:58:11 +01:00
|
|
|
# New ports collection makefile for: sceptre
|
|
|
|
# Date created: 11 February 2001
|
|
|
|
# Whom: grog
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sceptre
|
|
|
|
PORTVERSION= 00.317
|
2009-06-10 08:11:44 +02:00
|
|
|
PORTREVISION= 2
|
2001-02-11 07:58:11 +01:00
|
|
|
CATEGORIES= cad
|
2005-11-22 08:34:59 +01:00
|
|
|
MASTER_SITES= http://ftp.osuosl.org/pub/FreeBSD/distfiles/
|
2001-02-11 07:58:11 +01:00
|
|
|
|
2007-01-23 06:20:58 +01:00
|
|
|
MAINTAINER= maho@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= SCEPTRE is a general purpose circuit analysis program
|
2001-02-11 07:58:11 +01:00
|
|
|
|
2009-06-10 08:11:44 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
.endif
|
|
|
|
|
2009-11-22 20:49:43 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2007-01-23 06:20:58 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-07-14 03:29:12 +02:00
|
|
|
USE_FORTRAN= g77
|
2007-01-12 14:01:51 +01:00
|
|
|
FFLAGS+= -fno-automatic -O
|
2007-09-04 10:54:30 +02:00
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Internal compiler error
|
|
|
|
.endif
|
2007-01-20 04:24:09 +01:00
|
|
|
|
2001-02-11 07:58:11 +01:00
|
|
|
NO_WRKSUBDIR= YES
|
|
|
|
|
2009-06-10 08:11:44 +02:00
|
|
|
post-extract:
|
|
|
|
@${REINPLACE_CMD} 's,INSTDIR = /usr/local,INSTDIR = ${PREFIX},' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
2001-02-11 07:58:11 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2009-06-10 08:11:44 +02:00
|
|
|
${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2001-02-11 07:58:11 +01:00
|
|
|
.endif
|
|
|
|
|
2007-01-23 06:20:58 +01:00
|
|
|
.include <bsd.port.post.mk>
|