Also install bash completions.

PR:		214805
Submitted by:	mat
Approved by:	maintainer
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-11-25 07:40:04 +00:00
parent fd2662c55b
commit 7d0cff1744
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427080

View file

@ -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>