summaryrefslogblamecommitdiff
path: root/cad/sceptre/Makefile
blob: 568f4177f102d99b7b5889cb0769e08efcac4b1b (plain) (tree)
1
2
3
4
5
6
7
8
9








                                               
                 
                   
                                                            
 
                                
                                                                     
 
                                         






                                             

                                                          
      
 




                                              

                                                                                           

      
                           
# 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>