2004-11-27 22:38:03 +01:00
|
|
|
# Ports collection makefile for: simlib
|
|
|
|
# Whom: Pav Lucistnik <pav@FreeBSD.org>
|
|
|
|
# Date created: 26 Nov 2004
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= simlib
|
2009-07-06 16:56:42 +02:00
|
|
|
PORTVERSION= 3.0.20081216
|
2004-11-27 22:38:03 +01:00
|
|
|
CATEGORIES= science
|
|
|
|
MASTER_SITES= http://www.fit.vutbr.cz/~peringer/SIMLIB/source/
|
2009-07-06 16:56:42 +02:00
|
|
|
DISTNAME= ${PORTNAME}-3-${PORTVERSION:E}
|
2004-11-27 22:38:03 +01:00
|
|
|
|
2008-04-06 08:35:14 +02:00
|
|
|
MAINTAINER= wenheping@gmail.com
|
2004-11-27 22:38:03 +01:00
|
|
|
COMMENT= SIMulation LIBrary for C++ programming language
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2007-01-17 08:27:25 +01:00
|
|
|
USE_LDCONFIG= yes
|
2008-04-06 08:35:14 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-3
|
2004-11-27 22:38:03 +01:00
|
|
|
|
2008-04-06 08:35:14 +02:00
|
|
|
CXXFLAGS+= -fPIC
|
|
|
|
|
2008-09-16 11:18:28 +02:00
|
|
|
NOT_FOR_ARCHS= sparc64
|
|
|
|
NOT_FOR_ARCHS_REASON= contains not working ${ARCH}-dependent assembly code
|
|
|
|
|
2008-04-06 08:35:14 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile
|
2009-07-06 16:56:42 +02:00
|
|
|
@${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \
|
|
|
|
${WRKSRC}/src/Makefile.generic
|
2008-04-06 08:35:14 +02:00
|
|
|
@${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
|
2004-11-27 22:38:03 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|