pkgsrc/math/randlib/Makefile

28 lines
896 B
Makefile
Raw Normal View History

2012-09-12 01:04:15 +02:00
# $NetBSD: Makefile,v 1.18 2012/09/11 23:04:33 asau Exp $
DISTNAME= randlib.c-1.3
PKGNAME= randlib-1.3
CATEGORIES= math
2011-03-17 22:00:49 +01:00
MASTER_SITES= # ftp://odin.mdacc.tmc.edu/pub/source/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://biostatistics.mdanderson.org/SoftwareDownload/SingleSoftware.aspx?Software_Id=27
COMMENT= Library of C Routines for Random Number Generation
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/randlib.c/src
2004-12-19 20:28:43 +01:00
MAKE_ENV+= LIBOWN=${LIBOWN:Q} LIBGRP=${LIBGRP:Q}
2012-02-16 20:04:52 +01:00
USE_BSD_MAKEFILE= yes
2004-12-19 20:28:43 +01:00
2007-03-24 20:21:18 +01:00
INSTALLATION_DIRS= include lib share/doc/randlib share/examples/randlib
MAKE_FLAGS+= MKPROFILE=yes
2007-03-24 20:21:18 +01:00
post-install:
${INSTALL_DATA} ${WRKSRC}/../README ${WRKSRC}/../doc/* \
${DESTDIR}${PREFIX}/share/doc/randlib
${INSTALL_DATA} ${WRKSRC}/../test/* ${DESTDIR}${PREFIX}/share/examples/randlib
${INSTALL_DATA} ${WRKSRC}/randlib.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"