diff options
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portmaster/Makefile | 12 | ||||
-rw-r--r-- | ports-mgmt/portmaster/pkg-descr | 2 |
2 files changed, 6 insertions, 8 deletions
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 <bsd.port.pre.mk> .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 |