# New ports collection makefile for: amanda # Date created: 28th Feb 1995 # Whom: gpalmer # # $FreeBSD$ # PORTNAME?= ${MASTERPORTNAME} PORTVERSION= 2.4.3b2 PORTREVISION?= 2 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= amanda DISTFILES= amanda-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= jeh@FreeBSD.org WRKSRC= ${WRKDIR}/amanda-${PORTVERSION} SLAVEDIRS= misc/amanda-client MASTERPORTNAME= amanda-server NO_LATEST_LINK= yes USE_GMAKE= yes HAS_CONFIGURE= yes PATCH_STRIP= .include # amanda-server part .if !defined(CLIENT_ONLY) pre-fetch: @${ECHO} "" @${ECHO} "You may use the following build options:" @${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" @${ECHO} " The default is `uname -n`" @${ECHO} " AMANDA_TAPE=tape to specify the default tape device" @${ECHO} " The default is /dev/nrsa0" @${ECHO} " AMANDA_CONFIG=config to specify the default configuation" @${ECHO} " The default is user" @${ECHO} "" RUN_DEPENDS= ${LOCALBASE}/sbin/amrecover:${PORTSDIR}/misc/amanda-client BUILD_DEPENDS= ${LOCALBASE}/sbin/amrecover:${PORTSDIR}/misc/amanda-client CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \ --with-amandahosts --with-fqdn \ --with-dump-honor-nodump --with-buffered-dump \ --with-user=operator --with-group=operator \ --without-client --disable-libtool --prefix=${PREFIX} MAN8= amadmin.8 amcheck.8 amcheckdb.8 amcleanup.8 amdd.8 \ amdump.8 amflush.8 amgetconf.8 amlabel.8 ammt.8 \ amoverview.8 amreport.8 amrmtape.8 amstatus.8 \ amtape.8 amtoc.8 amverify.8 .if defined (WITH_PLOT) BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot MAN8+= amplot.8 PLIST_SUB+= PLOT='' .else PLIST_SUB+= PLOT='@comment ' .endif .if defined (WITH_SAMBA) BUILD_DEPENDS+= smbclient:${PORTSDIR}/net/samba 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 RUN_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar .endif .if defined (AMANDA_SERVER) CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER} CONFIGURE_ARGS+= --with-tape-server=${AMANDA_SERVER} .endif .if defined (AMANDA_TAPE) CONFIGURE_ARGS+= --with-tape-device=${AMANDA_TAPE} .endif .if defined (AMANDA_CONFIG) CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG} .endif # # Before 4.0, pre-CAM scsiio.h existed .if ${OSVERSION} < 400000 PLIST_SUB+= SCSICHG='' .else PLIST_SUB+= SCSICHG='@comment ' .endif # amanda-client part .else pre-fetch: @${ECHO} "" @${ECHO} "You may use the following build options:" @${ECHO} "" @${ECHO} " -DWITHOUT_GNUTAR to NOT use GNUTar and use the" @${ECHO} " native FreeBSD version" @${ECHO} " AMANDA_SERVER=server to specify a server name" @${ECHO} " The default is `uname -n`" @${ECHO} " AMANDA_CONFIG=config to specify the default configuation" @${ECHO} " The default is user" @${ECHO} "" CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \ --with-amandahosts --with-fqdn \ --with-dump-honor-nodump --with-buffered-dump \ --with-user=operator --with-group=operator \ --without-server --disable-libtool --prefix=${PREFIX} MAN8= amanda.8 amrecover.8 amrestore.8 post-install: ${MKDIR} ${PREFIX}/share/examples/amanda ${CP} -R ${WRKSRC}/example/amanda.conf \ ${WRKSRC}/example/chg-multi.conf \ ${WRKSRC}/example/chg-scsi.conf \ ${WRKSRC}/example/disklist \ ${PREFIX}/share/examples/amanda .if !defined (WITHOUT_GNUTAR) CONFIGURE_ARGS+= --with-gnutar=${PREFIX}/bin/gtar BUILD_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar RUN_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar .endif .if defined (AMANDA_SERVER) CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER} CONFIGURE_ARGS+= --with-tape-server=${AMANDA_SERVER} .endif .if defined (AMANDA_CONFIG) CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG} .endif .endif .include panish translationDaniel Mustieles2012-06-151-14/+15 * Updated Spanish translationDaniel Mustieles2012-06-111-49/+108 * Updated Spanish translationDaniel Mustieles2012-04-271-5/+22 * Updated Spanish translationDaniel Mustieles2012-04-201-13/+10 * Updated spanish translationDaniel Mustieles2012-03-261-26/+16 * Updated Spanish translationDaniel Mustieles2012-03-101-69/+52 * Updated Spanish translationDaniel Mustieles2012-03-081-66/+20 * Updated Spanish translationDaniel Mustieles2012-03-081-358/+559 * Updated Spanish translationDaniel Mustieles2012-03-021-45/+24 * Updated Spanish translationDaniel Mustieles2012-02-221-467/+427 * Updated Spanish translationDaniel Mustieles2012-02-201-328/+530 * Updated Spanish translationDaniel Mustieles2012-02-181-48/+92 * Updated Spanish translationDaniel Mustieles2012-02-101-21/+31 * Updated Spanish translationDaniel Mustieles2012-01-211-19/+25 * Updated Spanish translationDaniel Mustieles2012-01-191-15/+14 * Updated Spanish translationDaniel Mustieles2012-01-161-45/+136 * Updated Spanish translationDaniel Mustieles2011-12-121-20/+35 * Updated Spanish translationDaniel Mustieles2011-12-081-3/+4 * Updated Spanish translationDaniel Mustieles2011-11-101-7/+2 * Updated Spanish translationDaniel Mustieles2011-10-141-93/+46 * Updated Spanish translationJorge González2011-10-081-26/+43 * Updated Spanish translationJorge González2011-10-081-94/+38 * Updated Spanish translationDaniel Mustieles2011-10-071-325/+605 * Updated Spanish translationJorge González2011-09-281-2/+100 * Updated Spanish translationJorge González2011-09-281-1/+127 * Updated Spanish translationJorge González2011-09-281-4/+49 * Updated Spanish translationJorge González2011-09-281-138/+195 * Updated Spanish translationJorge González2011-09-271-28/+17 * Updated Spanish translationJorge González2011-09-271-79/+158 * Updated Spanish translationJorge González2011-09-241-35/+65 * Updated Spanish translationJorge González2011-09-241-37/+53 * Updated Spanish translationDaniel Mustieles2011-09-211-6/+6 * Updated Spanish translationJorge González2011-09-191-57/+90 * Updated Spanish translationDaniel Mustieles2011-09-191-68/+80 * Updated Spanish translationdmustieles2011-09-141-19/+7 * Updated Spanish translationdmustieles2011-09-141-112/+123 * Updated Spanish translationdmustieles2011-09-131-116/+83 * Updated Spanish translationJorge González2011-09-121-44/+67 * Updated Spanish translationDaniel Mustieles2011-09-111-15/+6 * Updated Spanish translationJorge González2011-09-111-22/+40 * Updated Spanish translationJorge González2011-09-101-181/+239 * Updated Spanish translationJorge González2011-09-051-68/+55 * Updated Spanish translationJorge González2011-09-051-61/+73 * Updated Spanish translationJorge González2011-09-051-23/+16 * Updated Spanish translationJorge González2011-09-041-60/+100 * Updated Spanish translationJorge González2011-09-041-92/+103 * Updated Spanish translationJorge González2011-09-031-5/+16 * Updated Spanish translationJorge González2011-09-031-102/+121 * Updated Spanish translationDaniel Mustieles2011-09-021-99/+63 * Updated Spanish translationJorge González2011-08-311-59/+59 * Updated Spanish translationJorge González2011-08-301-117/+96 * Updated Spanish translationJorge González2011-08-281-38/+64 * Updated Spanish translationJorge González2011-08-281-59/+82 * Updated Spanish translationJorge González2011-08-271-24907/+11051 * Updated Spanish translationJorge González2011-08-271-11009/+24923 * Updated Spanish translationJorge González2011-08-251-147/+231 * Updated Spanish translationJorge González2011-08-241-120/+123 * Updated Spanish screenshot, fixes bug #657102Jorge González2011-08-231-0/+0 * Updated Spanish translationJorge González2011-08-231-9791/+313 * Updated Spanish translationJorge González2011-08-221-33/+25 * Updated Spanish translationJorge González2011-08-201-0/+0 * Updated Spanish translationJorge González2011-08-201-0/+0 * Updated Spanish translationJorge González2011-08-202-122/+106 * Updated Spanish translationJorge González2011-08-201-63/+61 * Updated Spanish translationJorge González2011-08-161-191/+192 * Updated Spanish translationDaniel Mustieles2011-08-151-1/+2 * Updated Spanish translationDaniel Mustieles2011-08-151-89/+86 * Updated Spanish translationJorge González2011-08-151-68/+60 * Updated Spanish translationJorge González2011-08-141-133/+171 * Updated Spanish translationDaniel Mustieles2011-08-081-100/+71 * Updated Spanish translationDaniel Mustieles2011-08-061-4190/+3444 * Rename picture to new nameAndre Klapper2011-08-041-0/+0 * Add the one reused translatable picture againAndre Klapper2011-08-041-0/+0 * Merge old translations for new user docsAndre Klapper2011-08-0440-12093/+20000 * Updated Spanish translationDaniel Mustieles2011-06-101-16/+9 * Updated Spanish translationJorge González2011-05-261-23/+37 * Updated Spanish translationJorge González2011-02-201-44/+43 * Updated Spanish translationDaniel Mustieles2011-01-161-1000/+913 * Updated Spanish translationJorge González2010-12-191-36/+20