aboutsummaryrefslogtreecommitdiff
path: root/shells/bash-completion/Makefile
blob: 8951ab2b1bd69a44930fd190f1d40d77fc40769c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	bash_completion
# Date created:				29 May 2003
# Whom:					kirk@strauser.com
#
# $FreeBSD$
#

PORTNAME=	bash-completion
PORTVERSION=	20040101
CATEGORIES=	shells
MASTER_SITES=	http://www.caliban.org/files/bash/

MAINTAINER=	kirk@strauser.com
COMMENT=	Programmable completion library for Bash 2.04 and up

RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2

WRKSRC=		${WRKDIR}/bash_completion
NO_BUILD=	yes

PKGMESSAGE=	${WRKDIR}/pkg-message

pre-patch:
	@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE}

do-install:
	${INSTALL_DATA} ${WRKSRC}/bash_completion ${PREFIX}/etc/bash_completion

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>