aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda25-client/Makefile
blob: cf80be0d0f7134030801a3248c39d4706a4dc874 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    amanda
# Date created:             28th Feb 1995
# Whom:                 gpalmer
#
# $FreeBSD$
#

PORTNAME=   amanda
PORTVERSION=    2.4.2
CATEGORIES= misc
MASTER_SITES=   ftp://ftp.amanda.org/pub/amanda/

MAINTAINER= ports@FreeBSD.org

BUILD_DEPENDS=  gnuplot:${PORTSDIR}/math/gnuplot
RUN_DEPENDS=    gnuplot:${PORTSDIR}/math/gnuplot

WRKSRC=     ${WRKDIR}/amanda-2.4.2
NO_LATEST_LINK= yes
USE_GMAKE=  yes
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS=   --disable-ltlibs --release-ignore
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
        --with-amandahosts --with-fqdn \
        --with-dump-honor-nodump \
        --with-user=operator --with-group=operator

PATCH_STRIP=
MAN8=       amadmin.8 amanda.8 amcheck.8 amcheckdb.8 amcleanup.8 \
        amdump.8 amflush.8 amgetconf.8 amlabel.8 amoverview.8 \
        amplot.8 amrecover.8 amreport.8 amrestore.8 amrmtape.8 \
        amstatus.8 amtape.8 amtoc.8 amverify.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

.include <bsd.port.mk>