aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/flock
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-11-25 15:40:04 +0800
committermat <mat@FreeBSD.org>2016-11-25 15:40:04 +0800
commit1788b0aa4ef5c8e72fb6079ecf764c0321308ad6 (patch)
tree465b74fc7ffa9997c0434487456eacbfa69fdca3 /sysutils/flock
parent065420fc65f82e4b41a7b5227b10911550384595 (diff)
downloadfreebsd-ports-gnome-1788b0aa4ef5c8e72fb6079ecf764c0321308ad6.tar.gz
freebsd-ports-gnome-1788b0aa4ef5c8e72fb6079ecf764c0321308ad6.tar.zst
freebsd-ports-gnome-1788b0aa4ef5c8e72fb6079ecf764c0321308ad6.zip
Also install bash completions.
PR: 214805 Submitted by: mat Approved by: maintainer Sponsored by: Absolight
Diffstat (limited to 'sysutils/flock')
-rw-r--r--sysutils/flock/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/flock/Makefile b/sysutils/flock/Makefile
index f749b9f744c9..36cc276d907e 100644
--- a/sysutils/flock/Makefile
+++ b/sysutils/flock/Makefile
@@ -3,6 +3,7 @@
PORTNAME= flock
PORTVERSION= 2.29
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= KERNEL_ORG/linux/utils/util-linux/v${PORTVERSION}/
DISTNAME= util-linux-${PORTVERSION}
@@ -21,7 +22,8 @@ OPTIONS_DEFINE= NLS
NLS_CONFIGURE_OFF=--disable-nls
NLS_USES= autoreconf:autopoint gettext
-PLIST_FILES= bin/flock man/man1/flock.1.gz
+PLIST_FILES= bin/flock man/man1/flock.1.gz \
+ etc/bash_completion.d/flock
do-build:
# skip building unneeded utils
@@ -31,5 +33,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flock ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sys-utils/flock.1 \
${STAGEDIR}${MANPREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+ ${INSTALL_DATA} ${WRKSRC}/bash-completion/flock ${STAGEDIR}${PREFIX}/etc/bash_completion.d
.include <bsd.port.mk>