1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/science/simlib/Makefile
Ion-Mihai Tetcu 49b1e9516f - update to 3.0.20081216 from 3.0.20071212
- fix the build error with custom LOCALBASE [1]

Submitted by:	maintainer
Reported by:	QATty [1]
2009-07-06 14:56:42 +00:00

35 lines
967 B
Makefile

# Ports collection makefile for: simlib
# Whom: Pav Lucistnik <pav@FreeBSD.org>
# Date created: 26 Nov 2004
#
# $FreeBSD$
#
PORTNAME= simlib
PORTVERSION= 3.0.20081216
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
NOT_FOR_ARCHS= sparc64
NOT_FOR_ARCHS_REASON= contains not working ${ARCH}-dependent assembly code
post-patch:
@${REINPLACE_CMD} -e 's|make|gmake|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \
${WRKSRC}/src/Makefile.generic
@${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>