Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 14:53:35 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338885 - head/shells/bash-completion
Message-ID:  <201401061453.s06ErZMQ094853@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Jan  6 14:53:34 2014
New Revision: 338885
URL: http://svnweb.freebsd.org/changeset/ports/338885

Log:
  Host the bash-completion-2.1 distfile on MASTER_SITE_LOCAL.
  
  I really have no idea what is going on with the distfile. The 2.1 tag
  has been in the b-c git tree for 9 months now, but their website hasn't
  been updated to reflect this. Their alioth area now shows no files
  whatsoever, which makes this version (and any other) unfetchable. Some
  distros are also using 2.1, some aren't. So, let's cut our losses and
  just host it ourselves. Hopefully this can help some other distros too.
  
  While I'm here, clean up the Makefile a bit to feed my OCD.

Modified:
  head/shells/bash-completion/Makefile

Modified: head/shells/bash-completion/Makefile
==============================================================================
--- head/shells/bash-completion/Makefile	Mon Jan  6 14:40:31 2014	(r338884)
+++ head/shells/bash-completion/Makefile	Mon Jan  6 14:53:34 2014	(r338885)
@@ -1,12 +1,13 @@
 # Created by: kirk@strauser.com
 # $FreeBSD$
 
-PORTNAME=	bash-completion
+PORTNAME=		bash-completion
 PORTVERSION=	2.1
 PORTREVISION=	1
-PORTEPOCH=	1
-CATEGORIES=	shells
-MASTER_SITES=	http://bash-completion.alioth.debian.org/files/
+PORTEPOCH=		1
+CATEGORIES=		shells
+MASTER_SITES=	${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=	adamw
 
 MAINTAINER=	adamw@FreeBSD.org
 COMMENT=	Programmable completion library for Bash
@@ -16,11 +17,10 @@ BASH_DEVEL_DESC=	Use shells/bash-devel i
 
 CONFLICTS=	bash-completion-classic-[0-9]*
 
+USE_BZIP2=		yes
 USE_AUTOTOOLS=	aclocal automake
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
-
-USE_BZIP2=	yes
+USES=			gmake
 
 SUB_FILES=	pkg-message
 SUB_LIST+=	RUNFILE=${DATADIR}/bash_completion.sh
@@ -48,9 +48,9 @@ post-configure:
 		${WRKSRC}/completions/*
 
 post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.	for i in README doc/bash_completion.txt doc/bashrc doc/inputrc
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for i in README doc/bash_completion.txt doc/bashrc doc/inputrc
 		${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}
-.	endfor
+.endfor
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401061453.s06ErZMQ094853>