aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2013-09-30 22:23:54 +0800
committeradamw <adamw@FreeBSD.org>2013-09-30 22:23:54 +0800
commit133d654187fc8bc303439d905830160e6d503907 (patch)
treec7cae5eb16b007d2e6b3d46b5b45ecaaf54967dd /shells
parenta334c54c516b300722df277360435942844b368a (diff)
downloadfreebsd-ports-gnome-133d654187fc8bc303439d905830160e6d503907.tar.gz
freebsd-ports-gnome-133d654187fc8bc303439d905830160e6d503907.tar.zst
freebsd-ports-gnome-133d654187fc8bc303439d905830160e6d503907.zip
Staging support.
Diffstat (limited to 'shells')
-rw-r--r--shells/bash-completion/Makefile12
-rw-r--r--shells/bash-completion/pkg-plist11
2 files changed, 10 insertions, 13 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index ce83f56890f4..565bcbe7b166 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -25,10 +25,6 @@ USE_BZIP2= yes
SUB_FILES= pkg-message
SUB_LIST+= RUNFILE=${DATADIR}/bash_completion.sh
-PORTDOCS= *
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g; \
@@ -47,13 +43,9 @@ post-patch:
${WRKSRC}/completions/*
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
. for i in README doc/bash_completion.txt doc/bashrc doc/inputrc
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}
. endfor
-.endif
-
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/shells/bash-completion/pkg-plist b/shells/bash-completion/pkg-plist
index 6188f79a736e..93f88a9d3c3d 100644
--- a/shells/bash-completion/pkg-plist
+++ b/shells/bash-completion/pkg-plist
@@ -567,6 +567,11 @@ libdata/pkgconfig/bash-completion.pc
%%DATADIR%%/completions/ypmatch
%%DATADIR%%/completions/yum-arch
%%DATADIR%%/helpers/perl
-@dirrm %%DATADIR%%/helpers
-@dirrm %%DATADIR%%/completions
-@dirrm %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/bash_completion.txt
+%%PORTDOCS%%%%DOCSDIR%%/bashrc
+%%PORTDOCS%%%%DOCSDIR%%/inputrc
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrmtry %%DATADIR%%/helpers
+@dirrmtry %%DATADIR%%/completions
+@dirrmtry %%DATADIR%%