summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-08 16:27:31 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-08 16:27:31 +0000
commit7a56a96ca74592f32d97fa719f53dfa858bc7ed0 (patch)
treec7f53e6629403e57864bfdc15dfada027af3217c /devel
parentf6ca54d6ce1ea6ac33a525b63ade18c1bb205e43 (diff)
downloadpkgsrc-7a56a96ca74592f32d97fa719f53dfa858bc7ed0.tar.gz
user-destdir support
Diffstat (limited to 'devel')
-rw-r--r--devel/libcompizconfig/Makefile7
-rw-r--r--devel/libctl/Makefile13
-rw-r--r--devel/libdockapp/Makefile9
3 files changed, 19 insertions, 10 deletions
diff --git a/devel/libcompizconfig/Makefile b/devel/libcompizconfig/Makefile
index 9165c83dc31..a3250827ad5 100644
--- a/devel/libcompizconfig/Makefile
+++ b/devel/libcompizconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/06/01 15:32:31 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2009/07/08 16:29:08 joerg Exp $
#
DISTNAME= libcompizconfig-0.6.0
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.compiz-fusion.org/
COMMENT= Configuration backend for compiz
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config perl intltool
@@ -19,8 +21,7 @@ CONF_FILES+= ${EGDIR}/config ${PKG_SYSCONFDIR}/config
PKGCONFIG_OVERRIDE= libcompizconfig.pc.in
-pre-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
+INSTALLATION_DIRS= ${EGDIR}
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../wm/compiz/buildlink3.mk"
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"
diff --git a/devel/libdockapp/Makefile b/devel/libdockapp/Makefile
index 7792597d4d1..38763d75082 100644
--- a/devel/libdockapp/Makefile
+++ b/devel/libdockapp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/12/27 13:37:36 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2009/07/08 16:34:45 joerg Exp $
#
DISTNAME= libdockapp-0.4.0
@@ -11,12 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://solfertje.student.utwente.nl/~dalroi/libdockapp/
COMMENT= Simple library to create dockapps for WindowMaker
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
+INSTALLATION_DIRS= share/doc/libdockapp
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdockapp
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libdockapp
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/libdockapp
BUILDLINK_DEPMETHOD.libXt?= build