summaryrefslogtreecommitdiffstats
path: root/science/lamprop/Makefile
blob: fc14d1e4c6fd4ed64f6450d1039c50bd2e542890 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:	lamprop
# Date created:				15 May 2005
# Whom:					rsmith@xs4all.nl
#
# $FreeBSD$
#

PORTNAME=	lamprop
PORTVERSION=	1.3.1
CATEGORIES=	science
MASTER_SITES=	http://www.xs4all.nl/~rsmith/software/

MAINTAINER=	rsmith@xs4all.nl
COMMENT=	Calculates properties of fiber reinforced composites

USE_REINPLACE=	yes

PLIST_FILES=	bin/lamprop

MAN1=		lamprop.1
MAN5=		lamprop.5
MANCOMPRESSED=	yes

.if defined(NOPORTDOCS)
MAKE_ENV=	NOPORTDOCS=yes
.else
PORTDOCS=	LICENSE README NEWS
.endif

.include <bsd.port.pre.mk>

REP=	's|-pipe||; s|-fmerge-constants||; s|-fno-unit-at-a-time||; s|--fast-math||'
.if ${ARCH} == "ia64"
REP=	's|-pipe||; s|-fmerge-constants||; s|--fast-math||'
.endif

post-patch:
	@${REINPLACE_CMD} -e ${REP} ${WRKSRC}/Makefile

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud