pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d7f1a5174d5
branches:  trunk
changeset: 561398:3d7f1a5174d5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 08 16:27:31 2009 +0000

description:
user-destdir support

diffstat:

 devel/libcompizconfig/Makefile            |   7 ++++---
 devel/libctl/Makefile                     |  13 +++++++++----
 devel/libdockapp/Makefile                 |   9 ++++++---
 filesystems/fuse-curlftpfs/Makefile       |   4 +++-
 filesystems/fuse-djmount/Makefile         |   9 ++++++---
 filesystems/fuse-encfs/Makefile           |   4 +++-
 filesystems/fuse-ntfs-3g/Makefile         |   4 +++-
 filesystems/fuse-ntfs-3g/distinfo         |   4 ++--
 filesystems/fuse-ntfs-3g/patches/patch-ab |   4 ++--
 9 files changed, 38 insertions(+), 20 deletions(-)

diffs (203 lines):

diff -r ff50687c0d65 -r 3d7f1a5174d5 devel/libcompizconfig/Makefile
--- a/devel/libcompizconfig/Makefile    Wed Jul 08 16:25:01 2009 +0000
+++ b/devel/libcompizconfig/Makefile    Wed Jul 08 16:27:31 2009 +0000
@@ -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 @@
 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 @@
 
 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 -r ff50687c0d65 -r 3d7f1a5174d5 devel/libctl/Makefile
--- a/devel/libctl/Makefile     Wed Jul 08 16:25:01 2009 +0000
+++ b/devel/libctl/Makefile     Wed Jul 08 16:27:31 2009 +0000
@@ -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 @@
 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 -r ff50687c0d65 -r 3d7f1a5174d5 devel/libdockapp/Makefile
--- a/devel/libdockapp/Makefile Wed Jul 08 16:25:01 2009 +0000
+++ b/devel/libdockapp/Makefile Wed Jul 08 16:27:31 2009 +0000
@@ -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 @@
 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
 
diff -r ff50687c0d65 -r 3d7f1a5174d5 filesystems/fuse-curlftpfs/Makefile
--- a/filesystems/fuse-curlftpfs/Makefile       Wed Jul 08 16:25:01 2009 +0000
+++ b/filesystems/fuse-curlftpfs/Makefile       Wed Jul 08 16:27:31 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/03/27 14:18:50 bjs Exp $
+# $NetBSD: Makefile,v 1.5 2009/07/08 16:27:31 joerg Exp $
 #
 
 DISTNAME=      curlftpfs-0.9.1
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://curlftpfs.sourceforge.net/
 COMMENT=       FUSE filesystem for acessing FTP hosts
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    gmake pkg-config
diff -r ff50687c0d65 -r 3d7f1a5174d5 filesystems/fuse-djmount/Makefile
--- a/filesystems/fuse-djmount/Makefile Wed Jul 08 16:25:01 2009 +0000
+++ b/filesystems/fuse-djmount/Makefile Wed Jul 08 16:27:31 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/05/20 00:58:16 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2009/07/08 16:33:38 joerg Exp $
 
 DISTNAME=      djmount-0.71
 PKGNAME=       fuse-${DISTNAME}
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://djmount.sourceforge.net/
 COMMENT=       FUSE filesystem for accessing Media Server content via UPnP
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    gmake
@@ -19,9 +21,10 @@
 CONFIGURE_ARGS+=       --with-external-libupnp
 CONFIGURE_ARGS+=       --with-libupnp-prefix=${PREFIX}
 
+INSTALLATION_DIRS=     share/doc/djmount
+
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/djmount
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/djmount
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/djmount
 
 .include "../../devel/readline/buildlink3.mk"
 .include "../../net/libupnp/buildlink3.mk"
diff -r ff50687c0d65 -r 3d7f1a5174d5 filesystems/fuse-encfs/Makefile
--- a/filesystems/fuse-encfs/Makefile   Wed Jul 08 16:25:01 2009 +0000
+++ b/filesystems/fuse-encfs/Makefile   Wed Jul 08 16:27:31 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/01/18 05:06:33 tnn Exp $
+# $NetBSD: Makefile,v 1.5 2009/07/08 16:31:59 joerg Exp $
 #
 
 DISTNAME=      encfs-1.2.0-2
@@ -12,6 +12,8 @@
 HOMEPAGE=      http://arg0.net/wiki/encfs
 COMMENT=       FUSE Encrypted Filesystem
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/-2//}
 GNU_CONFIGURE= yes
 USE_TOOLS+=    autoconf gmake pkg-config
diff -r ff50687c0d65 -r 3d7f1a5174d5 filesystems/fuse-ntfs-3g/Makefile
--- a/filesystems/fuse-ntfs-3g/Makefile Wed Jul 08 16:25:01 2009 +0000
+++ b/filesystems/fuse-ntfs-3g/Makefile Wed Jul 08 16:27:31 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/05/25 21:23:26 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2009/07/08 16:34:40 joerg Exp $
 #
 
 DISTNAME=      ntfs-3g-1.1120
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www.ntfs-3g.org/
 COMMENT=       NTFS driver for Linux/FreeBSD/NetBSD with read and write support
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    gmake pkg-config
diff -r ff50687c0d65 -r 3d7f1a5174d5 filesystems/fuse-ntfs-3g/distinfo
--- a/filesystems/fuse-ntfs-3g/distinfo Wed Jul 08 16:25:01 2009 +0000
+++ b/filesystems/fuse-ntfs-3g/distinfo Wed Jul 08 16:27:31 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2007/12/12 16:43:55 xtraeme Exp $
+$NetBSD: distinfo,v 1.15 2009/07/08 16:34:40 joerg Exp $
 
 SHA1 (ntfs-3g-1.1120.tgz) = 203b6194e4dc531065b81c8f2ef72dd247e48a9b
 RMD160 (ntfs-3g-1.1120.tgz) = ecaef2641e018364620507a0703546a62c2a7683
 Size (ntfs-3g-1.1120.tgz) = 577005 bytes
-SHA1 (patch-ab) = 37d7aa735d99d1d6d5cc6210894ec0252a7836fc
+SHA1 (patch-ab) = 9bc1480296f2306aac2b8f2eb67a16743372bced
diff -r ff50687c0d65 -r 3d7f1a5174d5 filesystems/fuse-ntfs-3g/patches/patch-ab
--- a/filesystems/fuse-ntfs-3g/patches/patch-ab Wed Jul 08 16:25:01 2009 +0000
+++ b/filesystems/fuse-ntfs-3g/patches/patch-ab Wed Jul 08 16:27:31 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2007/04/13 09:23:57 xtraeme Exp $
+$NetBSD: patch-ab,v 1.3 2009/07/08 16:34:40 joerg Exp $
 
 --- src/Makefile.in.orig       2007-03-27 23:24:12.000000000 +0200
 +++ src/Makefile.in    2007-04-13 11:16:54.000000000 +0200
@@ -7,7 +7,7 @@
  install-exec-local:
        $(INSTALL) -d $(DESTDIR)/sbin
 -      $(LN_S) -f $(bindir)/ntfs-3g $(DESTDIR)/sbin/mount.ntfs-3g
-+      $(LN_S) -f $(bindir)/ntfs-3g $(bindir)/mount.ntfs-3g
++      $(LN_S) -f $(bindir)/ntfs-3g $(DESTDIR)$(bindir)/mount.ntfs-3g
  
  install-data-local:
        $(INSTALL) -d $(DESTDIR)$(man8dir)



Home | Main Index | Thread Index | Old Index