1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

- Add LICENSE

- Switch to USES=autoreconf
- Add NO_ARCH
- Switch to @sample

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-09-07 20:46:17 +00:00
parent 39f3cbd235
commit bb1fa04c35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396346
2 changed files with 7 additions and 11 deletions

View File

@ -9,13 +9,12 @@ MASTER_SITES= http://mirrors.omniti.com/zetaback/
MAINTAINER= cy@FreeBSD.org
COMMENT= Zetaback ZFS backup and recovery management system
USES= perl5
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= autoreconf perl5
USE_PERL5= run
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf
post-install:
@${TEST} ! -f ${PREFIX}/etc/zetaback.conf && ${CP} ${STAGEDIR}${PREFIX}/etc/zetaback.conf.sample ${STAGEDIR}${PREFIX}/etc/zetaback.conf; ${TRUE}
@${TEST} ! -f ${PREFIX}/etc/zetaback_agent.conf && ${CP} ${STAGEDIR}${PREFIX}/etc/zetaback_agent.conf.sample ${STAGEDIR}${PREFIX}/etc/zetaback_agent.conf; ${TRUE}
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -1,9 +1,6 @@
@unexec if cmp -s %%PREFIX%%/etc/zetaback.conf %%PREFIX%%/etc/zetaback.conf.sample; then rm -f %%PREFIX%%/etc/zetaback.conf; else echo If permanently deleting this package, %%PREFIX%%/etc/zetaback.conf must be removed manually.; fi
@unexec if cmp -s %%PREFIX%%/etc/zetaback_agent.conf %%PREFIX%%/etc/zetaback_agent.conf.sample; then rm -f %%PREFIX%%/etc/zetaback_agent.conf; else echo If permanently deleting this package, %%PREFIX%%/etc/zetaback_agent.conf must be removed manually.; fi
bin/zetaback
bin/zetaback_agent
etc/zetaback.conf.sample
etc/zetaback_agent.conf.sample
@sample etc/zetaback.conf.sample
@sample etc/zetaback_agent.conf.sample
man/man1/zetaback.1.gz
man/man1/zetaback_agent.1.gz