summaryrefslogtreecommitdiff
path: root/math/randlib
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2009-12-12 20:56:54 +0000
committerasau <asau@pkgsrc.org>2009-12-12 20:56:54 +0000
commit448e342edf14f79b4eac27009a930c1fb32f3c32 (patch)
treef32af85cae66a1773b3a1212e6826296e372eb5d /math/randlib
parente389c3e7306510a426cf1baae7c6908c989f1172 (diff)
downloadpkgsrc-448e342edf14f79b4eac27009a930c1fb32f3c32.tar.gz
Home page moved.
Support staged installation.
Diffstat (limited to 'math/randlib')
-rw-r--r--math/randlib/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/math/randlib/Makefile b/math/randlib/Makefile
index 9a5a527ef69..7fec389ffbe 100644
--- a/math/randlib/Makefile
+++ b/math/randlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/03/24 19:21:28 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2009/12/12 20:56:54 asau Exp $
DISTNAME= randlib.c-1.3
PKGNAME= randlib-1.3
@@ -6,7 +6,7 @@ CATEGORIES= math
MASTER_SITES= ftp://odin.mdacc.tmc.edu/pub/source/
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://odin.mdacc.tmc.edu/anonftp/
+HOMEPAGE= http://biostatistics.mdanderson.org/SoftwareDownload/SingleSoftware.aspx?Software_Id=27
COMMENT= Library of C Routines for Random Number Generation
DIST_SUBDIR= ${PKGNAME_NOREV}
@@ -14,12 +14,13 @@ WRKSRC= ${WRKDIR}/randlib.c/src
MAKE_ENV+= LIBOWN=${LIBOWN:Q} LIBGRP=${LIBGRP:Q}
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= include lib share/doc/randlib share/examples/randlib
post-install:
${INSTALL_DATA} ${WRKSRC}/../README ${WRKSRC}/../doc/* \
- ${PREFIX}/share/doc/randlib
- ${INSTALL_DATA} ${WRKSRC}/../test/* ${PREFIX}/share/examples/randlib
- ${INSTALL_DATA} ${WRKSRC}/randlib.h ${PREFIX}/include
+ ${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"