aboutsummaryrefslogtreecommitdiff
path: root/science/simlib/Makefile
blob: 960c8a8311a1b412d838faf406098a86dfc1603f (plain) (blame)
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
# Ports collection makefile for:	simlib
# Whom:					Pav Lucistnik <pav@FreeBSD.org>
# Date created:				26 Nov 2004
#
# $FreeBSD$
#

PORTNAME=	simlib
PORTVERSION=	3.0.20071212
CATEGORIES=	science
MASTER_SITES=	http://www.fit.vutbr.cz/~peringer/SIMLIB/source/
DISTNAME=	${PORTNAME}3-${PORTVERSION:E}

MAINTAINER=	wenheping@gmail.com
COMMENT=	SIMulation LIBrary for C++ programming language

USE_GMAKE=	yes
USE_LDCONFIG=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-3

CXXFLAGS+=	-fPIC

post-patch:
	@${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile
	@${MV} ${WRKSRC}/src/Makefile.FreeBSD-i386 ${WRKSRC}/src/Makefile
	@${MV} ${WRKSRC}/examples/Makefile.FreeBSD-i386 ${WRKSRC}/examples/Makefile
	@${MV} ${WRKSRC}/tests/Makefile.FreeBSD-i386 ${WRKSRC}/tests/Makefile

.include <bsd.port.mk>