[Midnightbsd-cvs] mports [18527] trunk/shells/bash-completion/Makefile: fix fetching of bash completion

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Apr 1 06:51:54 EDT 2015


Revision: 18527
          http://svnweb.midnightbsd.org/mports/?rev=18527
Author:   laffer1
Date:     2015-04-01 06:51:53 -0400 (Wed, 01 Apr 2015)
Log Message:
-----------
fix fetching of bash completion

Modified Paths:
--------------
    trunk/shells/bash-completion/Makefile

Modified: trunk/shells/bash-completion/Makefile
===================================================================
--- trunk/shells/bash-completion/Makefile	2015-04-01 10:49:12 UTC (rev 18526)
+++ trunk/shells/bash-completion/Makefile	2015-04-01 10:51:53 UTC (rev 18527)
@@ -14,11 +14,9 @@
 
 CONFLICTS=	bash-completion-classic-[0-9]*
 
+USES=		gmake tar:bzip2
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 
-USE_BZIP2=	yes
-
 SUB_FILES=	pkg-message
 SUB_LIST+=	RUNFILE=${DATADIR}/bash_completion.sh
 PORTDOCS=	*
@@ -42,12 +40,10 @@
 		${WRKSRC}/completions/*
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-.	for i in README doc/bash_completion.txt doc/bashrc doc/inputrc
-		${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.	endfor
-.endif
+	@${MKDIR} ${DOCSDIR}
+.for i in README doc/bash_completion.txt doc/bashrc doc/inputrc
+	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
+.endfor
 
 
 .include <bsd.port.mk>



More information about the Midnightbsd-cvs mailing list