summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/bacula-server/Makefile4
-rw-r--r--sysutils/bacula-server/pkg-plist1
-rw-r--r--sysutils/bacula/Makefile4
-rw-r--r--sysutils/bacula/pkg-plist1
4 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index 99f31c5ded43..95a6fe086a0f 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bacula
PORTVERSION= 1.34.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
@@ -53,6 +53,8 @@ USE_GNOME= libgnome
.include <bsd.port.pre.mk>
+PLIST_SUB+= BACULA_DIR=${BACULA_DIR}
+
# Build gnome-console
.if defined(WITH_GNOMECONSOLE)
CONFIGURE_ARGS+= --enable-gnome
diff --git a/sysutils/bacula-server/pkg-plist b/sysutils/bacula-server/pkg-plist
index c04636ba87ae..4c40c62aad20 100644
--- a/sysutils/bacula-server/pkg-plist
+++ b/sysutils/bacula-server/pkg-plist
@@ -29,3 +29,4 @@ sbin/bconsole
%%SERVER%%share/bacula/delete_catalog_backup
%%SERVER%%share/bacula/make_catalog_backup
%%SERVER%%@dirrm share/bacula
+@exec mkdir -p %%BACULA_DIR%%
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile
index 99f31c5ded43..95a6fe086a0f 100644
--- a/sysutils/bacula/Makefile
+++ b/sysutils/bacula/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bacula
PORTVERSION= 1.34.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
@@ -53,6 +53,8 @@ USE_GNOME= libgnome
.include <bsd.port.pre.mk>
+PLIST_SUB+= BACULA_DIR=${BACULA_DIR}
+
# Build gnome-console
.if defined(WITH_GNOMECONSOLE)
CONFIGURE_ARGS+= --enable-gnome
diff --git a/sysutils/bacula/pkg-plist b/sysutils/bacula/pkg-plist
index c04636ba87ae..4c40c62aad20 100644
--- a/sysutils/bacula/pkg-plist
+++ b/sysutils/bacula/pkg-plist
@@ -29,3 +29,4 @@ sbin/bconsole
%%SERVER%%share/bacula/delete_catalog_backup
%%SERVER%%share/bacula/make_catalog_backup
%%SERVER%%@dirrm share/bacula
+@exec mkdir -p %%BACULA_DIR%%