1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/math/newmat/Makefile
2004-08-16 02:47:09 +00:00

41 lines
835 B
Makefile

# ex:ts=8
# New ports collection makefile for: newmat
# Date created: Dec 6, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= newmat
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://www.robertnz.net/ftp/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= A C++ matrix library
NO_WRKSUBDIR= yes
USE_REINPLACE= yes
USE_GMAKE= yes
MAKEFILE= nm_gnu.mak
ALL_TARGET= everything
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile with gcc 3.4.2"
.endif
post-patch:
@${REINPLACE_CMD} -e "s,^CXX,#CXX,g ; \
s,^CXXFLAGS,#CXXFLAGS,g" ${WRKSRC}/${MAKEFILE}
do-install:
@${MKDIR} ${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/libnewmat.a ${PREFIX}/lib
.include <bsd.port.post.mk>