svn commit: r427239 - head/devel/gflags

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Nov 27 16:43:03 UTC 2016


Author: sunpoet
Date: Sun Nov 27 16:43:02 2016
New Revision: 427239
URL: https://svnweb.freebsd.org/changeset/ports/427239

Log:
  - Install gflags_completions.sh to etc/bash_completion.d/
  - Bump PORTREVISION for package change

Modified:
  head/devel/gflags/Makefile
  head/devel/gflags/pkg-plist

Modified: head/devel/gflags/Makefile
==============================================================================
--- head/devel/gflags/Makefile	Sun Nov 27 16:35:28 2016	(r427238)
+++ head/devel/gflags/Makefile	Sun Nov 27 16:43:02 2016	(r427239)
@@ -4,6 +4,7 @@
 PORTNAME=	gflags
 PORTVERSION=	2.2.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	sunpoet at FreeBSD.org
@@ -28,4 +29,8 @@ USE_GITHUB=	yes
 
 SHEBANG_FILES=	src/gflags_completions.sh
 
+post-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
+	${MV} ${STAGEDIR}${PREFIX}/bin/gflags_completions.sh ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
+
 .include <bsd.port.mk>

Modified: head/devel/gflags/pkg-plist
==============================================================================
--- head/devel/gflags/pkg-plist	Sun Nov 27 16:35:28 2016	(r427238)
+++ head/devel/gflags/pkg-plist	Sun Nov 27 16:43:02 2016	(r427239)
@@ -1,4 +1,4 @@
-bin/gflags_completions.sh
+etc/bash_completion.d/gflags_completions.sh
 include/gflags/gflags.h
 include/gflags/gflags_completions.h
 include/gflags/gflags_declare.h


More information about the svn-ports-all mailing list