aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2004-07-03 17:17:08 +0800
committerlkoeller <lkoeller@FreeBSD.org>2004-07-03 17:17:08 +0800
commit259953d77aabebfa4c61d2a02ea3e6355786209e (patch)
treea60fdc28c7c2289b90da0053d8cb174aa69637d2
parent7d72af5c59eb0927f22e51307adadee516fb4abe (diff)
downloadfreebsd-ports-gnome-259953d77aabebfa4c61d2a02ea3e6355786209e.tar.gz
freebsd-ports-gnome-259953d77aabebfa4c61d2a02ea3e6355786209e.tar.zst
freebsd-ports-gnome-259953d77aabebfa4c61d2a02ea3e6355786209e.zip
o) Bacula didn't create the database dir anymore when it is installed.
Now the port did it. PR: - Submitted by: Andy Wettstein <ajw@physics.umn.edu>
-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%%