aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bacula-server-devel
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-10-20 03:52:35 +0800
committererwin <erwin@FreeBSD.org>2006-10-20 03:52:35 +0800
commit93d15565fc04ce8e2edb14387927f5897ac1229b (patch)
tree518ce6eecc9a7ca395c732559dccd7aa706b7521 /sysutils/bacula-server-devel
parent3053e294adb40b04785308e2cd0d8f6897af8c14 (diff)
downloadfreebsd-ports-gnome-93d15565fc04ce8e2edb14387927f5897ac1229b.tar.gz
freebsd-ports-gnome-93d15565fc04ce8e2edb14387927f5897ac1229b.tar.zst
freebsd-ports-gnome-93d15565fc04ce8e2edb14387927f5897ac1229b.zip
Fix man-page and plist problems and unbreak the client port.
PR: 104566 Submitted by: Frank J. Laszlo <laszlof@vonostingroup.com> Approved by: portmgr (self), Dan Langille <dan@langille.org> (maintainer)
Diffstat (limited to 'sysutils/bacula-server-devel')
-rw-r--r--sysutils/bacula-server-devel/Makefile17
-rw-r--r--sysutils/bacula-server-devel/pkg-plist.client1
2 files changed, 5 insertions, 13 deletions
diff --git a/sysutils/bacula-server-devel/Makefile b/sysutils/bacula-server-devel/Makefile
index b72653e951d6..3c4654d1c217 100644
--- a/sysutils/bacula-server-devel/Makefile
+++ b/sysutils/bacula-server-devel/Makefile
@@ -29,6 +29,7 @@ SUB_FILES+= pkg-message
#
BACULA_DIR?=/var/db/bacula
#
+MANCOMPRESSED= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcp-wrappers=/usr/lib \
--enable-smartalloc \
@@ -166,6 +167,8 @@ MAN8=bacula-fd.8 bconsole.8
MAN8=bacula.8 bacula-dir.8 bacula-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 btape.8 btraceback.8 dbcheck.8
MAN1=bsmtp.1 bacula-console-gnome.1 bacula-tray-monitor.1 bacula-wxconsole.1
.endif
+MAKE_ARGS+= -E MAN8 -E MAN1
+MAKE_ENV+= MAN8="${MAN8}" MAN1="${MAN1}"
pre-everything::
.if !defined(WITH_CLIENT_ONLY)
@@ -206,7 +209,7 @@ post-patch:
${REINPLACE_CMD} -e 's|\(.*$${MKDIR} $${DESTDIR}$${scriptdir}\)|#\1|g' ${WRKSRC}/Makefile.in
.else
# In server port don't install filed
- @${REINPLACE_CMD} -e 's|^all_subdirs = .*|all_subdirs = scripts src\/lib src\/findlib $${subdirs}|g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' ${WRKSRC}/Makefile.in
.endif
pre-install:
@@ -222,18 +225,6 @@ pre-install:
${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
post-install:
-.if defined(MAN8)
-. for manpage in ${MAN8}
- ${INSTALL_MAN} ${WRKSRC}/manpages/${manpage} ${PREFIX}/man/man8/${manpage}
-. endfor
-.endif
-
-.if defined(MAN1)
-. for manpage in ${MAN1}
- ${INSTALL_MAN} ${WRKSRC}/manpages/${manpage} ${PREFIX}/man/man1/${manpage}
-. endfor
-.endif
-
.if defined(WITH_CLIENT_ONLY)
# Extend only /etc/services
@ ${SETENV} PKG_PREFIX=${PREFIX} \
diff --git a/sysutils/bacula-server-devel/pkg-plist.client b/sysutils/bacula-server-devel/pkg-plist.client
index 8e0a85d7c7f3..9111867f4477 100644
--- a/sysutils/bacula-server-devel/pkg-plist.client
+++ b/sysutils/bacula-server-devel/pkg-plist.client
@@ -2,6 +2,7 @@ sbin/bacula-fd
sbin/bconsole
%%GNOMECONS%%sbin/gnome-console
%%WXCONS%%sbin/wx-console
+@dirrm %%DATADIR%%
@unexec /usr/bin/killall badula-fd > /dev/null 2>&1 || true
@exec mkdir -p %%BACULA_DIR%%
@dirrmtry %%BACULA_DIR%%