2000-04-07 01:47:51 +00:00
|
|
|
# New ports collection makefile for: LinAlg
|
|
|
|
# Date created: August 25, 1999
|
|
|
|
# Whom: Oleg Kiselyov <oleg@pobox.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 07:20:58 +00:00
|
|
|
PORTNAME= linalg
|
|
|
|
PORTVERSION= 4.3
|
2000-04-07 01:47:51 +00:00
|
|
|
CATEGORIES= math
|
2000-06-29 02:31:42 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= will
|
2000-04-07 01:47:51 +00:00
|
|
|
|
|
|
|
MAINTAINER= oleg@pobox.com
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/LinAlg
|
|
|
|
ALL_TARGET= lib
|
|
|
|
INSTALL_TARGET= lib
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2000-05-28 04:05:30 +00:00
|
|
|
post-patch:
|
|
|
|
@( cd ${WRKSRC}; ${SED} -e 's/%%CXXFLAGS%%/${CXXFLAGS}/g' \
|
|
|
|
-e 's/%%CXX%%/${CXX}/g' c++ > c++.sed; mv c++.sed c++; ${CHMOD} +x c++ )
|
2000-04-29 21:46:08 +00:00
|
|
|
|
2000-04-07 01:47:51 +00:00
|
|
|
post-install:
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/libla.a ${PREFIX}/lib
|
|
|
|
${MKDIR} ${PREFIX}/include/LinAlg
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/LinAlg.h ${PREFIX}/include/LinAlg
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/LAStreams.h ${PREFIX}/include/LinAlg
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/builtin.h ${PREFIX}/include/LinAlg
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/math_num.h ${PREFIX}/include/LinAlg
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/minmax.h ${PREFIX}/include/LinAlg
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/myenv.h ${PREFIX}/include/LinAlg
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/std.h ${PREFIX}/include/LinAlg
|
|
|
|
$(INSTALL_DATA) ${WRKSRC}/svd.h ${PREFIX}/include/LinAlg
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/LinAlg
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/LinAlg
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|