summaryrefslogtreecommitdiff
path: root/sysutils/bacula
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2008-01-04 14:32:49 +0000
committerghen <ghen@pkgsrc.org>2008-01-04 14:32:49 +0000
commitc0ff0e3bfc453355adb4f28f2a06294f2e378625 (patch)
treecb87220198f47adb8f1450dba44406ab3c50aca2 /sysutils/bacula
parent5299226d71df9d0ccffb89e0e3ac2e4d3b229b4c (diff)
downloadpkgsrc-c0ff0e3bfc453355adb4f28f2a06294f2e378625.tar.gz
Full DESTDIR support for all bacula packages.
Diffstat (limited to 'sysutils/bacula')
-rw-r--r--sysutils/bacula/Makefile4
-rw-r--r--sysutils/bacula/Makefile.common4
2 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile
index eefc3e84c3e..be5958b830b 100644
--- a/sysutils/bacula/Makefile
+++ b/sysutils/bacula/Makefile
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.21 2007/07/04 20:54:59 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2008/01/04 14:32:49 ghen Exp $
CONFLICTS+= bacula-client-[0-9]* bacula-clientonly-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "options.mk"
PLIST_SRC= PLIST.common
diff --git a/sysutils/bacula/Makefile.common b/sysutils/bacula/Makefile.common
index 8c079855e33..f3b15f0a029 100644
--- a/sysutils/bacula/Makefile.common
+++ b/sysutils/bacula/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.42 2007/09/20 13:40:18 ghen Exp $
+# $NetBSD: Makefile.common,v 1.43 2008/01/04 14:32:49 ghen Exp $
DISTNAME= bacula-2.2.4
CATEGORIES= sysutils
@@ -61,7 +61,7 @@ PTHREAD_AUTO_VARS= yes
EXAMPLESDIR= ${PREFIX}/share/examples/bacula
pre-install:
- ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLESDIR}
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"