aboutsummaryrefslogtreecommitdiffstats
path: root/math/newmat/Makefile
blob: 672fbdb917616e5dc5e8971a348bc2d323141ce5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ex:ts=8
# New ports collection makefile for:    newmat
# Date created:         Dec 6, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   newmat
PORTVERSION=    1.0
CATEGORIES= math
MASTER_SITES=   ftp://webnz.com/robert/
DISTNAME=   ${PORTNAME}${PORTVERSION:S/.//}

MAINTAINER= ports@FreeBSD.org

NO_WRKSUBDIR=   yes
USE_GMAKE=  yes
MAKEFILE=   nm_gnu.mak
ALL_TARGET= everything

post-patch:
    @${PERL} -pi -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.mk>