From 2862d547f7dd47847c6065a3825c169df559b9ef Mon Sep 17 00:00:00 2001 From: sunpoet Date: Mon, 19 Sep 2011 18:30:35 +0000 Subject: - Use @dirrmtry for PREFIX/etc/bash_completion.d 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) --- shells/bash-completion/Makefile | 25 ++++++++++++------------- shells/bash-completion/pkg-plist | 4 ++-- 2 files changed, 14 insertions(+), 15 deletions(-) (limited to 'shells') diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile index 2efd03de6858..c3facc12485f 100644 --- a/shells/bash-completion/Makefile +++ b/shells/bash-completion/Makefile @@ -5,25 +5,24 @@ # $FreeBSD$ # -PORTNAME= bash-completion +PORTNAME= bash-completion PORTVERSION= 1.3 -PORTREVISION= 1 -PORTEPOCH= 1 -CATEGORIES= shells +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 +MAINTAINER= adamw@FreeBSD.org +COMMENT= Programmable completion library for Bash -USE_BZIP2= yes -SUB_FILES= pkg-message +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash -RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash -CONFLICTS+= bash-completion-classic-[0-9]* +CONFLICTS= bash-completion-classic-[0-9]* GNU_CONFIGURE= yes +USE_BZIP2= yes -.include +SUB_FILES= pkg-message post-patch: @${ECHO_CMD} You can safely ignore this next error... @@ -36,11 +35,11 @@ post-patch: s|/usr/lib\(/aspell\)|${PREFIX}/share\1|g; \ s|/usr/share/info|&:${PREFIX}/info|g; \ s|\$$(sysconfdir)/profile.d|${PREFIX}/bin|g; \ - s|\(FLAC\)|\1\|flv\|FLV|' \ + s|FLAC|&\|flv\|FLV|' \ ${WRKSRC}/bash_completion ${WRKSRC}/Makefile.in \ ${WRKSRC}/completions/* ${WRKSRC}/completions/helpers/* post-install: @${CAT} ${PKGMESSAGE} -.include +.include diff --git a/shells/bash-completion/pkg-plist b/shells/bash-completion/pkg-plist index 16a1b985b764..d7faf9afc7e5 100644 --- a/shells/bash-completion/pkg-plist +++ b/shells/bash-completion/pkg-plist @@ -107,8 +107,8 @@ etc/bash_completion.d/ncftp etc/bash_completion.d/net-tools etc/bash_completion.d/nmap etc/bash_completion.d/ntpdate -etc/bash_completion.d/openldap etc/bash_completion.d/open-iscsi +etc/bash_completion.d/openldap etc/bash_completion.d/openssl etc/bash_completion.d/p4 etc/bash_completion.d/perl @@ -181,4 +181,4 @@ etc/bash_completion.d/xz etc/bash_completion.d/yp-tools etc/bash_completion.d/yum-arch @dirrm etc/bash_completion.d/helpers -@dirrm etc/bash_completion.d +@dirrmtry etc/bash_completion.d -- cgit