aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-01-20 18:19:00 +0800
committerdougb <dougb@FreeBSD.org>2012-01-20 18:19:00 +0800
commit25f20a666195729fccfd8040a9403989c9d6326b (patch)
tree96b6990639ff3c2325724b3092e7a42833ad3c09 /ports-mgmt
parentc639336f006f45596f8ea4c65c61e8108ee31046 (diff)
downloadfreebsd-ports-gnome-25f20a666195729fccfd8040a9403989c9d6326b.tar.gz
freebsd-ports-gnome-25f20a666195729fccfd8040a9403989c9d6326b.tar.zst
freebsd-ports-gnome-25f20a666195729fccfd8040a9403989c9d6326b.zip
Move the Bash completion file to ${PREFIX}/etc/bash_completion.d
Bump PORTREVISION for the WITH_BASH case While here, remove the license info
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmaster/Makefile12
-rw-r--r--ports-mgmt/portmaster/pkg-descr2
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