mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 10:40:46 -04:00
Other ports (e.g. devel/glib20) install files to this directory. - Costmetic change: put build-related knobs together - Sort PLIST - Space/tab twiddle PR: ports/160202 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 24 days)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: bash_completion
|
|
# Date created: 29 May 2003
|
|
# Whom: kirk@strauser.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bash-completion
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= shells
|
|
MASTER_SITES= http://bash-completion.alioth.debian.org/files/
|
|
|
|
MAINTAINER= adamw@FreeBSD.org
|
|
COMMENT= Programmable completion library for Bash
|
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
CONFLICTS= bash-completion-classic-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BZIP2= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
post-patch:
|
|
@${ECHO_CMD} You can safely ignore this next error...
|
|
-@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g; \
|
|
s|/etc/bash_completion|${PREFIX}&|g; \
|
|
s|/usr\(/sbin/postconf\)|${PREFIX}\1|g; \
|
|
s|/usr\(/lib/rpm/macros\)|${PREFIX}\1|g; \
|
|
s|/usr/share\(/ssl/openssl.cnf\)|/etc\1|g; \
|
|
s|/usr/ports|${PORTSDIR}|g; \
|
|
s|/usr/lib\(/aspell\)|${PREFIX}/share\1|g; \
|
|
s|/usr/share/info|&:${PREFIX}/info|g; \
|
|
s|\$$(sysconfdir)/profile.d|${PREFIX}/bin|g; \
|
|
s|FLAC|&\|flv\|FLV|' \
|
|
${WRKSRC}/bash_completion ${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/completions/* ${WRKSRC}/completions/helpers/*
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|