aboutsummaryrefslogblamecommitdiff
path: root/sysutils/be_agent/Makefile
blob: 8be885d53e36ecb28a9c33a8cf9abaa7ff4b1b0c (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                           
                 





                                                   
                                                                                        
 
                   


                           




                                       


                          
                                                  



                                                                            

      








                                                                                 
                           
# 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.sh
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>