mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
4ee8c8d078
- pkg-message --> files/pkg-message.in; [2] - don't hardcode DOCSDIR to default in it - display it only when NOPORTDOCS it's not defined - rework PORTDOCS installation a little [3] - bump PORTREVISION [3] Submitted by: Sahil Tandon [1][3], itetcu@ [2] Reported by: QATty [1] Approved by: maintainer
43 lines
856 B
Makefile
43 lines
856 B
Makefile
# New ports collection makefile for: sceptre
|
|
# Date created: 11 February 2001
|
|
# Whom: grog
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sceptre
|
|
PORTVERSION= 00.317
|
|
PORTREVISION= 2
|
|
CATEGORIES= cad
|
|
MASTER_SITES= http://ftp.osuosl.org/pub/FreeBSD/distfiles/
|
|
|
|
MAINTAINER= maho@FreeBSD.org
|
|
COMMENT= SCEPTRE is a general purpose circuit analysis program
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
SUB_FILES+= pkg-message
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
USE_FORTRAN= g77
|
|
FFLAGS+= -fno-automatic -O
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Internal compiler error
|
|
.endif
|
|
|
|
NO_WRKSUBDIR= YES
|
|
|
|
post-extract:
|
|
@${REINPLACE_CMD} 's,INSTDIR = /usr/local,INSTDIR = ${PREFIX},' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|