2013-09-20 20:55:04 +00:00
|
|
|
# Created by: ijliao
|
2001-12-06 15:48:26 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= newmat
|
2005-01-24 13:45:47 +00:00
|
|
|
PORTVERSION= 1.1
|
2008-01-22 00:33:23 +00:00
|
|
|
PORTREVISION= 1
|
2001-12-06 15:48:26 +00:00
|
|
|
CATEGORIES= math
|
2003-05-20 07:02:09 +00:00
|
|
|
MASTER_SITES= http://www.robertnz.net/ftp/
|
2001-12-06 15:48:26 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
|
|
|
|
|
2017-06-19 01:09:20 +00:00
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
2014-02-14 08:56:25 +00:00
|
|
|
COMMENT= C++ matrix library
|
2001-12-06 15:48:26 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
2014-02-14 08:56:25 +00:00
|
|
|
USES= gmake
|
|
|
|
USE_LDCONFIG= yes
|
2001-12-06 15:48:26 +00:00
|
|
|
MAKEFILE= nm_gnu.mak
|
2014-02-14 08:56:25 +00:00
|
|
|
CXXFLAGS+= -fPIC
|
2005-03-11 09:08:32 +00:00
|
|
|
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
2001-12-06 15:48:26 +00:00
|
|
|
ALL_TARGET= everything
|
|
|
|
|
|
|
|
do-install:
|
2014-02-14 08:56:25 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libnewmat.a ${STAGEDIR}${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libnewmat.so.1 ${STAGEDIR}${PREFIX}/lib
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnewmat.so.1
|
|
|
|
${LN} -sf libnewmath.so.1 ${STAGEDIR}${PREFIX}/lib/libnewmat.so
|
2001-12-06 15:48:26 +00:00
|
|
|
|
2008-01-22 00:33:23 +00:00
|
|
|
.include <bsd.port.mk>
|