aboutsummaryrefslogtreecommitdiff
path: root/sysutils/flock/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-11-25 07:40:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-11-25 07:40:04 +0000
commit7d0cff17448a0db224ee3479b30ce4036cb7a76b (patch)
tree465b74fc7ffa9997c0434487456eacbfa69fdca3 /sysutils/flock/Makefile
parentfd2662c55b311a06f3afa7418f82850d6b3b5a86 (diff)
downloadports-7d0cff17448a0db224ee3479b30ce4036cb7a76b.tar.gz
ports-7d0cff17448a0db224ee3479b30ce4036cb7a76b.zip
Also install bash completions.
PR: 214805 Submitted by: mat Approved by: maintainer Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=427080
Diffstat (limited to 'sysutils/flock/Makefile')
-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>