summaryrefslogtreecommitdiff
path: root/sysutils/be_agent/Makefile
blob: 9ea3f9a8243d3c26f41dcea4d7f780fc794836bd (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
44
45
46
47
48
# New ports collection Makefile for:   be_agent
# Date created:        20 May 2005
# Whom:                Tony Shadwick <numbski@hksilver.net>
#
# $FreeBSD$
#

PORTNAME=	be_agent
PORTVERSION=	5.046
CATEGORIES=	sysutils
MASTER_SITES=	#
DISTNAME=	nls_agnt_262592
EXTRACT_SUFX=	.tar

MAINTAINER=	numbski@hksilver.net
COMMENT=	VERITAS Backup Exec (tm) UNIX Agent

DOWNLOAD_URL=	http://www.symantec.com/business/support/index?page=content&id=TECH28248

USE_LINUX=	yes
NO_BUILD=	yes
ONLY_FOR_ARCHS=	i386
NO_INSTALL_MANPAGES=	yes
SUB_FILES=	pkg-message
USE_RC_SUBR=	be-agent
PLIST_FILES=	bin/agent.be \
		etc/be-agent.cfg.sample

.include <bsd.port.pre.mk>

pre-fetch:
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=	because of licensing restrictions, you must fetch the distribution\
manually.  Please access ${DOWNLOAD_URL}\
Click "Download Now", and agree to the license agreement.  Please place the\
downloaded ${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR}
.endif

do-install:
	@${INSTALL_PROGRAM} ${WRKDIR}/common/agent.linux24 ${PREFIX}/bin/agent.be
	@${CAT} ${PKGMESSAGE} ${WRKDIR}/english/agent.cfg \
		${FILESDIR}/config_example >> ${WRKDIR}/be-agent.cfg.sample
	@${INSTALL_DATA} ${WRKDIR}/be-agent.cfg.sample ${PREFIX}/etc

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>