mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
cce92f80e1
- Remove security/gnupg1 from GNUPG_RUN_DEPENDS PR: 195945 Submitted by: fk@fabiankeil.de (maintainer)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Fabian Keil <fk@fabiankeil.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zogftw
|
|
PORTVERSION= 0.0.2014.12.12
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.fabiankeil.de/sourcecode/zogftw/
|
|
DISTNAME= ${PORTNAME}-2014-12-12-71f792b
|
|
|
|
MAINTAINER= fk@fabiankeil.de
|
|
COMMENT= Creates redundant backups on encrypted ZFS pools
|
|
|
|
RUN_DEPENDS= mbuffer:${PORTSDIR}/misc/mbuffer \
|
|
sudo:${PORTSDIR}/security/sudo
|
|
|
|
OPTIONS_DEFINE= EXECUTE_TESTS GNUPG
|
|
OPTIONS_DEFAULT= GNUPG
|
|
EXECUTE_TESTS_DESC= Execute tests before staging. Adds build dependencies.
|
|
|
|
PLIST_FILES= sbin/zogftw \
|
|
man/man8/zogftw.8.gz
|
|
|
|
NO_BUILD= yes
|
|
PORTSCOUT= ignore:1
|
|
|
|
GNUPG_RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
|
|
|
EXECUTE_TESTS_BUILD_DEPENDS= atf-sh:${PORTSDIR}/devel/atf \
|
|
kyua:${PORTSDIR}/devel/kyua
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
execute-tests: extract
|
|
.if ${PORT_OPTIONS:MEXECUTE_TESTS}
|
|
${SETENV} HOME=${WRKDIR} kyua test --kyuafile ${WRKSRC}/tests/Kyuafile
|
|
.endif
|
|
|
|
do-install: execute-tests
|
|
${INSTALL_SCRIPT} ${WRKSRC}/zogftw ${STAGEDIR}${PREFIX}/sbin/zogftw
|
|
${INSTALL_MAN} ${WRKSRC}/zogftw.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|