View | Details | Raw Unified | Return to bug 56477
Collapse All | Expand All

(-)flexbackup/Makefile (-6 / +43 lines)
Lines 7-25 Link Here
7
7
8
PORTNAME=	flexbackup
8
PORTNAME=	flexbackup
9
PORTVERSION=	1.2.0
9
PORTVERSION=	1.2.0
10
PORTREVISION?=	1
10
PORTREVISION?=	2
11
CATEGORIES=	sysutils
11
CATEGORIES=	sysutils
12
MASTER_SITES=	http://www.edwinh.org/flexbackup/tarball/ \
12
MASTER_SITES=	http://www.edwinh.org/flexbackup/tarball/ \
13
		http://www.reynoldsnet.org/flexbackup/tarball/
13
		http://www.reynoldsnet.org/flexbackup/tarball/
14
14
15
MAINTAINER=	johnjen@reynoldsnet.org
15
MAINTAINER=	johnjen@reynoldsnet.org
16
COMMENT=	A flexible backup tool (Perl)
16
COMMENT=	Perl-based flexible backup system that can use dump/afio/cpio/tar/star
17
17
18
MAKE_ARGS=	CONFFILE=${LOCALBASE}/etc/flexbackup.conf \
18
MAKE_ARGS=	PERLPATH=${PERL}
19
		PERLPATH=${PERL}
20
19
21
USE_PERL5=	yes
20
USE_PERL5=	yes
22
21
22
.if defined(WITH_AFIO)
23
RUN_DEPENDS+=    afio:${PORTSDIR}/sysutils/afio
24
.endif
25
26
.if defined(WITH_BUFFER)
27
RUN_DEPENDS+=    buffer:${PORTSDIR}/misc/buffer
28
.endif
29
30
.if defined(WITH_STAR)
31
RUN_DEPENDS+=    star:${PORTSDIR}/archivers/star
32
.endif
33
34
.if defined(WITH_ZIP)
35
RUN_DEPENDS+=    zip:${PORTSDIR}/archivers/zip
36
.endif
37
38
.if defined(WITH_GTAR)
39
RUN_DEPENDS+=	gtar:${PORTSDIR}/archivers/gtar
40
.endif
41
42
pre-fetch:
43
	@${ECHO} "----------------------------------------------------------"
44
	@${ECHO} "This port can utilize afio, star, zip, and buffer."
45
	@${ECHO} "You may use the following build options to make:"
46
	@${ECHO}
47
	@${ECHO} "  WITH_AFIO=yes   enable the use of afio"
48
	@${ECHO} "  WITH_STAR=yes   enable the use of star"
49
	@${ECHO} "  WITH_ZIP=yes    enable the use of zip"
50
	@${ECHO} "  WITH_BUFFER=yes enable the use of buffer"
51
	@${ECHO}
52
	@${ECHO} "----------------------------------------------------------"
53
	@${ECHO}
54
	@${ECHO} "If you are using and older version of FreeBSD that does not have GNU Tar"
55
	@${ECHO} "imported as the system 'tar,' configure this port using WITH_GTAR=yes"
56
	@${ECHO} "to enable the port dependency and use the 'path' variable in the"
57
	@${ECHO} "flexbackup.conf file to point to 'gtar'"
58
	@${ECHO}
59
23
do-install:
60
do-install:
24
	${INSTALL_SCRIPT} ${WRKSRC}/fb.install ${LOCALBASE}/bin/flexbackup
61
	${INSTALL_SCRIPT} ${WRKSRC}/fb.install ${LOCALBASE}/bin/flexbackup
25
	${INSTALL_DATA} ${WRKSRC}/flexbackup.conf ${LOCALBASE}/etc/flexbackup.conf.sample
62
	${INSTALL_DATA} ${WRKSRC}/flexbackup.conf ${LOCALBASE}/etc/flexbackup.conf.sample
Lines 27-35 Link Here
27
post-install:
64
post-install:
28
.if !defined(NOPORTDOCS)
65
.if !defined(NOPORTDOCS)
29
	@${MKDIR} ${DOCSDIR}
66
	@${MKDIR} ${DOCSDIR}
30
.for docfile in CHANGES COPYING CREDITS README TODO faq.html
67
.for docfile in CHANGES CREDITS README TODO faq.html
31
	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
68
	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
32
.endfor
69
.endfor
33
.endif
70
.endif
34
	@${CAT} ${PKGMESSAGE}
71
	@${CAT} ${PKGMESSAGE} | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g'
35
.include <bsd.port.mk>
72
.include <bsd.port.mk>
(-)flexbackup/pkg-message (-6 / +20 lines)
Lines 1-9 Link Here
1
-------------------------------------------------------------------------------
1
--------------------- Flexbackup Configuration Information --------------------
2
Flexbackup supports utilities from the following ports (all optional):
3
2
4
archivers/afio
3
Flexbackup needs to have its configuration file placed in /etc. A template
5
archivers/star
4
copy of this configuration file has been installed into
6
archivers/zip
5
7
misc/buffer
6
  %%PREFIX%%/etc/flexbackup.conf.sample
7
8
Please copy this file as 
9
10
  /etc/flexbackup.conf
11
12
(on all machines where you will run flexbackup) and edit appropriately for your
13
site configuration. 
14
15
 ****************************************************************************
16
 **  Changes have occurred in this file up to and including version 1.2.0! **
17
 ****************************************************************************
18
19
Also see %%PREFIX%%/share/doc/flexbackup/README
20
for more information on how to use flexbackup (until the man 
21
pages are written :).
8
22
9
-------------------------------------------------------------------------------
23
-------------------------------------------------------------------------------
(-)flexbackup/pkg-plist (-1 lines)
Lines 1-7 Link Here
1
bin/flexbackup
1
bin/flexbackup
2
etc/flexbackup.conf.sample
2
etc/flexbackup.conf.sample
3
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
3
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
4
%%PORTDOCS%%%%DOCSDIR%%/COPYING
5
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
4
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
6
%%PORTDOCS%%%%DOCSDIR%%/README
5
%%PORTDOCS%%%%DOCSDIR%%/README
7
%%PORTDOCS%%%%DOCSDIR%%/TODO
6
%%PORTDOCS%%%%DOCSDIR%%/TODO

Return to bug 56477