summaryrefslogtreecommitdiff
path: root/net/gnome-vfs-smb
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /net/gnome-vfs-smb
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/gnome-vfs-smb')
-rw-r--r--net/gnome-vfs-smb/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/gnome-vfs-smb/Makefile b/net/gnome-vfs-smb/Makefile
index e1c0c6b42f8..b8870486b3e 100644
--- a/net/gnome-vfs-smb/Makefile
+++ b/net/gnome-vfs-smb/Makefile
@@ -1,16 +1,20 @@
-# $NetBSD: Makefile,v 1.2 2007/09/20 22:51:00 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2008/06/20 01:09:30 joerg Exp $
#
GNOME_VFS_NAME= smb
GNOME_VFS_FLAG= samba
CATEGORIES= net
+PKG_DESTDIR_SUPPORT= user-destdir
+
EGFILES+= modules/smb-module.conf
CONFIGURE_ARGS+= --with-samba-libs=${BUILDLINK_PREFIX.samba}/lib/samba
+INSTALLATION_DIRS+= ${EGDIR}/modules
+
post-install:
- ${INSTALL_DATA} ${WRKSRC}/modules/smb-module.conf ${EGDIR}/modules
+ ${INSTALL_DATA} ${WRKSRC}/modules/smb-module.conf ${DESTDIR}${EGDIR}/modules
.include "../../sysutils/gnome-vfs/Makefile.common"