diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-08 16:27:31 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-08 16:27:31 +0000 |
commit | 7a56a96ca74592f32d97fa719f53dfa858bc7ed0 (patch) | |
tree | c7f53e6629403e57864bfdc15dfada027af3217c /devel/libctl | |
parent | f6ca54d6ce1ea6ac33a525b63ade18c1bb205e43 (diff) | |
download | pkgsrc-7a56a96ca74592f32d97fa719f53dfa858bc7ed0.tar.gz |
user-destdir support
Diffstat (limited to 'devel/libctl')
-rw-r--r-- | devel/libctl/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/libctl/Makefile b/devel/libctl/Makefile index bac5e3dd1ea..02b6d4b0c1e 100644 --- a/devel/libctl/Makefile +++ b/devel/libctl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2009/06/30 00:07:12 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2009/07/08 16:32:38 joerg Exp $ DISTNAME= libctl-2.2 PKGREVISION= 5 @@ -9,15 +9,20 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ab-initio.mit.edu/libctl/ COMMENT= Guile-based flexible control file library for scientific simulations +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_JOBS_SAFE= no GNU_CONFIGURE= yes +INSTALLATION_DIRS= share/doc/libctl +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libctl - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/libctl/ + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/libctl/ cd ${WRKSRC} && ${INSTALL_DATA} COPYING COPYRIGHT ChangeLog \ - NEWS README ${PREFIX}/share/doc/libctl/ + NEWS README ${DESTDIR}${PREFIX}/share/doc/libctl/ .include "../../lang/guile/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |