freebsd-ports/sysutils/tarsnap/Makefile
Colin Percival 3f3b9dcc12 sysutils/tarsnap: Enable zsh completion
Now that the tarsnap zsh completion file has been removed from the
shels/zsh-completions port, enable it in the tarsnap port.
2022-02-28 12:19:34 -08:00

37 lines
1 KiB
Makefile

# Created by: Colin Percival
PORTNAME= tarsnap
PORTVERSION= 1.0.40
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.tarsnap.com/download-http/
DISTNAME= ${PORTNAME}-autoconf-${PORTVERSION}
MAINTAINER= cperciva@tarsnap.com
COMMENT= Online encrypted backup service (client)
LICENSE= tarsnap
LICENSE_NAME= tarsnap
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="-I${OPENSSLINC} ${CFLAGS}" \
LDFLAGS="-L${OPENSSLLIB} ${LDFLAGS}"
CONFIGURE_ARGS= --with-bash-completion-dir=${PREFIX}/etc/bash_completion.d/ \
--with-zsh-completion-dir=${PREFIX}/share/zsh/site-functions
USES= gmake tar:tgz ssl
.include <bsd.port.pre.mk>
# safety check to ensure that we don't violate the license
.if exists(${PATCHDIR})
# Converted from RESTRICTED
LICENSE_TEXT= license only allows redistribution and use of unmodified source and binaries
LICENSE_PERMS= auto-accept
.else
# Converted from LEGAL_TEXT
LICENSE_TEXT= license restricts redistribution of source and binaries
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
.endif
.include <bsd.port.post.mk>