summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/tarsnap/Makefile4
-rw-r--r--sysutils/tarsnap/pkg-plist1
2 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/tarsnap/Makefile b/sysutils/tarsnap/Makefile
index 6ba27e64bd32..954467dffbf9 100644
--- a/sysutils/tarsnap/Makefile
+++ b/sysutils/tarsnap/Makefile
@@ -2,6 +2,7 @@
PORTNAME= tarsnap
PORTVERSION= 1.0.40
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.tarsnap.com/download-http/
DISTNAME= ${PORTNAME}-autoconf-${PORTVERSION}
@@ -15,7 +16,8 @@ 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/
+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
diff --git a/sysutils/tarsnap/pkg-plist b/sysutils/tarsnap/pkg-plist
index 4b045f11a23c..91db16919519 100644
--- a/sysutils/tarsnap/pkg-plist
+++ b/sysutils/tarsnap/pkg-plist
@@ -14,4 +14,5 @@ man/man1/tarsnap-keyregen.1.gz
man/man1/tarsnap-recrypt.1.gz
man/man1/tarsnap.1.gz
man/man5/tarsnap.conf.5.gz
+share/zsh/site-functions/_tarsnap
@sample etc/tarsnap.conf.sample