mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
Move the Bash completion file to ${PREFIX}/etc/bash_completion.d
Bump PORTREVISION for the WITH_BASH case While here, remove the license info
This commit is contained in:
parent
15a1d4ddc6
commit
7d6ad43b14
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289512
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user