aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda26-server/Makefile
blob: dabcb15b08258056483e8894917a3a120d206e34 (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
# New ports collection makefile for:    amanda
# Version required:         2.3.0
# Date created:             28th Feb 1995
# Whom:                 gpalmer
#
# $Id: Makefile,v 1.16 1998/06/05 22:13:19 asami Exp $
#

DISTNAME=   amanda-2.4.0
CATEGORIES= misc
MASTER_SITES=   ftp://ftp.amanda.org/pub/amanda/

MAINTAINER= cwt@FreeBSD.ORG

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

WRKSRC=     ${WRKDIR}/amanda-2.4.0
NO_LATEST_LINK= yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
        --with-user=operator --with-group=operator
PATCH_STRIP=
MAN8=       amadmin.8 amanda.8 amcheck.8 amcheckdb.8 amcleanup.8 \
        amdump.8 amflush.8 amlabel.8 amoverview.8 amplot.8 \
        amrecover.8 amrestore.8 amrmtape.8 amtape.8 amtoc.8 \
        amverify.8

post-install:
    ${MKDIR} ${PREFIX}/lib/amanda/${DISTNAME}/examples
    ${CP} -R ${WRKSRC}/example/amanda.conf \
        ${WRKSRC}/example/chg-multi.conf \
        ${WRKSRC}/example/disklist \
        ${PREFIX}/lib/amanda/${DISTNAME}/examples

.include <bsd.port.mk>