diff options
-rw-r--r-- | sysutils/zetaback/Makefile | 11 | ||||
-rw-r--r-- | sysutils/zetaback/pkg-plist | 7 |
2 files changed, 7 insertions, 11 deletions
diff --git a/sysutils/zetaback/Makefile b/sysutils/zetaback/Makefile index 5e5d4d7dd0d3..cc754d42788f 100644 --- a/sysutils/zetaback/Makefile +++ b/sysutils/zetaback/Makefile @@ -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> diff --git a/sysutils/zetaback/pkg-plist b/sysutils/zetaback/pkg-plist index 60ac3fc9cadc..4e683e94a7c7 100644 --- a/sysutils/zetaback/pkg-plist +++ b/sysutils/zetaback/pkg-plist @@ -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 - |