aboutsummaryrefslogtreecommitdiff
path: root/misc/amanda26-server
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2002-01-11 15:06:17 +0000
committerJames E. Housley <jeh@FreeBSD.org>2002-01-11 15:06:17 +0000
commit85357d827402e691c284a7a6768fa898b99480ff (patch)
tree1be74b55c32097faf21f274b8e3406d3f012adc4 /misc/amanda26-server
parentcef31e6ddac888ff1bafb07efe4632ddb0e3e15c (diff)
downloadports-85357d827402e691c284a7a6768fa898b99480ff.tar.gz
ports-85357d827402e691c284a7a6768fa898b99480ff.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>
Notes
Notes: svn path=/head/; revision=52923
Diffstat (limited to 'misc/amanda26-server')
-rw-r--r--misc/amanda26-server/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/misc/amanda26-server/Makefile b/misc/amanda26-server/Makefile
index 34060ff29be4..b46db0c3d9de 100644
--- a/misc/amanda26-server/Makefile
+++ b/misc/amanda26-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