From 25f20a666195729fccfd8040a9403989c9d6326b Mon Sep 17 00:00:00 2001 From: dougb Date: Fri, 20 Jan 2012 10:19:00 +0000 Subject: Move the Bash completion file to ${PREFIX}/etc/bash_completion.d Bump PORTREVISION for the WITH_BASH case While here, remove the license info --- ports-mgmt/portmaster/Makefile | 12 ++++++------ ports-mgmt/portmaster/pkg-descr | 2 -- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'ports-mgmt') diff --git a/ports-mgmt/portmaster/Makefile b/ports-mgmt/portmaster/Makefile index 96ae5f99e436..628a0cb9fbf1 100644 --- a/ports-mgmt/portmaster/Makefile +++ b/ports-mgmt/portmaster/Makefile @@ -14,8 +14,6 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= dougb@FreeBSD.org COMMENT= Manage your ports without external databases or languages -LICENSE= BSD - OPTIONS= BASH "Install programmable completions for Bash" off \ ZSH "Install programmable completions for zsh" off @@ -26,8 +24,9 @@ MAN8= portmaster.8 .include .if defined(WITH_BASH) -PLIST_FILES+= share/portmaster/bash-completions -PLIST_DIRS+= share/portmaster +PORTREVISION= 1 +PLIST_FILES+= etc/bash_completion.d/portmaster +PLIST_DIRSTRY+= etc/bash_completion.d .endif .if defined(WITH_ZSH) @@ -50,8 +49,9 @@ do-install: post-install: .if defined(WITH_BASH) - ${MKDIR} ${PREFIX}/share/portmaster - ${INSTALL_DATA} ${WRKSRC}/bash-completions ${PREFIX}/share/portmaster + ${MKDIR} ${PREFIX}/etc/bash_completion.d + ${INSTALL_DATA} ${WRKSRC}/bash-completions \ + ${PREFIX}/etc/bash_completion.d/portmaster.sh .endif .if defined(WITH_ZSH) ${MKDIR} ${PREFIX}/share/zsh/site-functions diff --git a/ports-mgmt/portmaster/pkg-descr b/ports-mgmt/portmaster/pkg-descr index bd2c915382ee..a3e0b4e209ee 100644 --- a/ports-mgmt/portmaster/pkg-descr +++ b/ports-mgmt/portmaster/pkg-descr @@ -19,6 +19,4 @@ Portmaster has the following features: * Packages can be used for installation either exclusively, if available, or only for build dependencies -LICENSE: BSD - WWW: http://dougbarton.us/portmaster.html -- cgit