1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/math/newmat/Makefile

31 lines
816 B
Makefile
Raw Normal View History

# Created by: ijliao
2001-12-06 15:48:26 +00:00
# $FreeBSD$
PORTNAME= newmat
PORTVERSION= 1.1
PORTREVISION= 1
2001-12-06 15:48:26 +00:00
CATEGORIES= math
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
COMMENT= C++ matrix library
2001-12-06 15:48:26 +00:00
NO_WRKSUBDIR= yes
USES= gmake
USE_LDCONFIG= yes
2001-12-06 15:48:26 +00:00
MAKEFILE= nm_gnu.mak
CXXFLAGS+= -fPIC
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
2001-12-06 15:48:26 +00:00
ALL_TARGET= everything
do-install:
@${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
.include <bsd.port.mk>