summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2021-10-11 11:16:41 +0000
committertnn <tnn@pkgsrc.org>2021-10-11 11:16:41 +0000
commite838611137a5be5fa6d6cf340502d66da048f7ae (patch)
treec2c0f8eb713f2945a2a7a4fb11c922c17b8650d1 /sysutils
parentdab7c7d697cabccb0853dd48d0c1b1349a28106b (diff)
downloadpkgsrc-e838611137a5be5fa6d6cf340502d66da048f7ae.tar.gz
restic: remove redundant do-install, INSTALLATION_DIRS, CHECK_RELRO_SKIP
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/restic/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysutils/restic/Makefile b/sysutils/restic/Makefile
index 46893495d67..9a28905b9c2 100644
--- a/sysutils/restic/Makefile
+++ b/sysutils/restic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2021/10/08 18:55:09 bsiegert Exp $
+# $NetBSD: Makefile,v 1.9 2021/10/11 11:16:41 tnn Exp $
PKGNAME= restic-0.11.0
PKGREVISION= 7
@@ -16,16 +16,14 @@ LICENSE= mit
EXTRACT_USING= bsdtar
GO_BUILD_PATTERN= ./cmd/restic
-CHECK_RELRO_SKIP+= bin/restic
-INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 \
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1 \
share/bash-completion/completions \
share/zsh/site-functions
.include "go-modules.mk"
-do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/restic ${DESTDIR}${PREFIX}/bin
+post-install:
${INSTALL_DATA} ${WRKSRC}/doc/bash-completion.sh \
${DESTDIR}${PREFIX}/share/bash-completion/completions/restic
${INSTALL_DATA} ${WRKSRC}/doc/zsh-completion.zsh \