aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda32-server
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2002-01-11 23:06:17 +0800
committerjeh <jeh@FreeBSD.org>2002-01-11 23:06:17 +0800
commit2abbd31fe575e9c07e0b2d271f8d17e5d951d32f (patch)
tree3b8372e0008697b55c97245dc112b74ab3d8b868 /misc/amanda32-server
parent88f71c13633a1ae7f02bfc1d7219eba2fdad8d8e (diff)
downloadfreebsd-ports-gnome-2abbd31fe575e9c07e0b2d271f8d17e5d951d32f.tar.gz
freebsd-ports-gnome-2abbd31fe575e9c07e0b2d271f8d17e5d951d32f.tar.zst
freebsd-ports-gnome-2abbd31fe575e9c07e0b2d271f8d17e5d951d32f.zip
-Add WITH_MTX option for those that want the mtx changer program
-Small path cleanups -Bump PORTREVISION Submitted by: Martin Blapp <mb@imp.ch>
Diffstat (limited to 'misc/amanda32-server')
-rw-r--r--misc/amanda32-server/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/misc/amanda32-server/Makefile b/misc/amanda32-server/Makefile
index 34060ff29be4..b46db0c3d9de 100644
--- a/misc/amanda32-server/Makefile
+++ b/misc/amanda32-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 2.4.3b2
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= amanda
@@ -34,6 +34,7 @@ pre-fetch:
@${ECHO} ""
@${ECHO} " -DWITH_PLOT to enable ploting, requires X11 libraries"
@${ECHO} " -DWITH_SAMBA to enable the use of smbclient"
+ @${ECHO} " -DWITH_MTX to enable the use of mtx changer scripts"
@${ECHO} " -DWITHOUT_GNUTAR to NOT use GNUTar and use the"
@${ECHO} " native FreeBSD version"
@${ECHO} " AMANDA_SERVER=server to specify a server name"
@@ -44,8 +45,8 @@ pre-fetch:
@${ECHO} " The default is user"
@${ECHO} ""
-RUN_DEPENDS= ${PREFIX}/sbin/amrecover:${PORTSDIR}/misc/amanda-client
-BUILD_DEPENDS= ${PREFIX}/sbin/amrecover:${PORTSDIR}/misc/amanda-client
+RUN_DEPENDS= amrecover:${PORTSDIR}/misc/amanda-client
+BUILD_DEPENDS= amrecover:${PORTSDIR}/misc/amanda-client
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
--with-amandahosts --with-fqdn \
@@ -73,6 +74,11 @@ RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba
CONFIGURE_ARGS+= --with-smbclient=${PREFIX}/bin/smbclient
.endif
+.if defined (WITH_MTX)
+BUILD_DEPENDS+= mtx:${PORTSDIR}/misc/mtx
+RUN_DEPENDS+= mtx:${PORTSDIR}/misc/mtx
+.endif
+
.if !defined (WITHOUT_GNUTAR)
CONFIGURE_ARGS+= --with-gnutar=${PREFIX}/bin/gtar
BUILD_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar