summaryrefslogtreecommitdiff
path: root/sysutils/flexbackup/Makefile
blob: 296a215cc034ecebc4a1d6b8f0d76f4e100e4ff3 (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
# New ports collection makefile for:    flexbackup
# Date created:         Wed Nov  3 17:58:26 MST 1999
# Whom:                 John Reynolds <jjreynold@home.com>
#
# $FreeBSD$
#

PORTNAME=	flexbackup
PORTVERSION=	0.9.8
CATEGORIES=	sysutils
MASTER_SITES=	http://www.bluecherry.net/~edwinh/flexbackup/tarball/ \
		http://members.home.com/flexbackup/tarball/ \
		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	system/backup

MAINTAINER=     jjreynold@home.com

RUN_DEPENDS=	afio:${PORTSDIR}/sysutils/afio \
		buffer:${PORTSDIR}/misc/buffer

NO_BUILD  = yes
USE_PERL5 = yes

post-configure:
	@${CP} ${WRKSRC}/flexbackup.conf ${WRKSRC}/flexbackup.conf.sample
	@${CP} ${WRKSRC}/README ${WRKSRC}/flexbackup.README

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/flexbackup ${PREFIX}/bin
	${MKDIR} ${PREFIX}/share/doc/flexbackup
	${INSTALL_DATA} ${WRKSRC}/flexbackup.conf.sample ${PREFIX}/share/doc/flexbackup
	${INSTALL_DATA} ${WRKSRC}/flexbackup.README ${PREFIX}/share/doc/flexbackup

post-install:
	@${CAT} ${PKGDIR}/MESSAGE | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g'

.include <bsd.port.mk>