pkgsrc/math/meschach/Makefile

46 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2019/12/20 00:02:06 joerg Exp $
DISTNAME= mesch12b
PKGNAME= meschach-1.2b
PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= http://www.math.uiowa.edu/~dstewart/meschach/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.math.uiowa.edu/~dstewart/meschach/
COMMENT= Library of C Routines for Matrix Computations
WRKSRC= ${WRKDIR}
2005-10-07 14:32:33 +02:00
GNU_CONFIGURE= yes
2001-02-27 19:42:05 +01:00
CONFIGURE_ARGS+= --with-all
2006-09-09 04:41:53 +02:00
MAKE_FILE= makefile
USE_BSD_MAKEFILE= yes
MAKE_FLAGS+= MKPROFILE=yes
2008-04-07 19:33:36 +02:00
INSTALLATION_DIRS= include/meschach lib share/meschach/tests
BUILDLINK_TRANSFORM+= rm:-Werror
pre-patch:
${CP} ${FILESDIR}/makefile.in ${WRKSRC}
post-patch:
${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${FILESDIR}/makefile.test \
> ${WRKSRC}/Makefile
post-install:
cd ${WRKSRC} && ${INSTALL_DATA} err.h machine.h matlab.h \
matrix.h meminfo.h sparse.h zmatrix.h iter.h matrix2.h \
oldnames.h sparse2.h zmatrix2.h ${DESTDIR}${PREFIX}/include/meschach/
cd ${WRKSRC} && ${INSTALL_DATA} torture.c sptort.c ztorture.c \
memtort.c itertort.c mfuntort.c iotort.c \
${DESTDIR}${PREFIX}/share/meschach/tests/
${INSTALL_DATA} ${WRKSRC}/Makefile ${DESTDIR}${PREFIX}/share/meschach/tests
cd ${WRKSRC} && ${INSTALL_DATA} README ./DOC/* \
${DESTDIR}${PREFIX}/share/meschach/
${INSTALL_DATA} ${WRKSRC}/copyright ${DESTDIR}${PREFIX}/share/meschach
cd ${WRKSRC} && ${INSTALL_DATA} tutadv.c tutorial.c \
${DESTDIR}${PREFIX}/share/meschach/
.include "../../mk/bsd.pkg.mk"