a80fd13efc
their files via a custom do-install target.
30 lines
797 B
Makefile
30 lines
797 B
Makefile
# $NetBSD: Makefile,v 1.6 2008/03/04 18:12:59 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= mapm-4.9.2
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.tc.umn.edu/~ringx004/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.tc.umn.edu/~ringx004/
|
|
COMMENT= Arbitrary Precision Math library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/mapm_4.9.2
|
|
|
|
DOCS= README algorithms.used function.ref
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
INSTALLATION_DIRS= bin include lib share/doc/mapm
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/m_apm.h ${DESTDIR}${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/libmapm.a ${DESTDIR}${PREFIX}/lib
|
|
${INSTALL_PROGRAM} ${WRKSRC}/calc ${DESTDIR}${PREFIX}/bin/mapm-calc
|
|
cd ${WRKSRC}; for f in ${DOCS}; do \
|
|
${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/doc/mapm; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|