svn commit: r328796 - head/shells/bash-completion
Adam Weinberger
adamw at FreeBSD.org
Mon Sep 30 14:23:55 UTC 2013
Author: adamw
Date: Mon Sep 30 14:23:54 2013
New Revision: 328796
URL: http://svnweb.freebsd.org/changeset/ports/328796
Log:
Staging support.
Modified:
head/shells/bash-completion/Makefile
head/shells/bash-completion/pkg-plist
Modified: head/shells/bash-completion/Makefile
==============================================================================
--- head/shells/bash-completion/Makefile Mon Sep 30 14:23:02 2013 (r328795)
+++ head/shells/bash-completion/Makefile Mon Sep 30 14:23:54 2013 (r328796)
@@ -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>
Modified: head/shells/bash-completion/pkg-plist
==============================================================================
--- head/shells/bash-completion/pkg-plist Mon Sep 30 14:23:02 2013 (r328795)
+++ head/shells/bash-completion/pkg-plist Mon Sep 30 14:23:54 2013 (r328796)
@@ -567,6 +567,11 @@ libdata/pkgconfig/bash-completion.pc
%%DATADIR%%/completions/ypmatch
%%DATADIR%%/completions/yum-arch
%%DATADIR%%/helpers/perl
- at dirrm %%DATADIR%%/helpers
- at dirrm %%DATADIR%%/completions
- at dirrm %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/bash_completion.txt
+%%PORTDOCS%%%%DOCSDIR%%/bashrc
+%%PORTDOCS%%%%DOCSDIR%%/inputrc
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+ at dirrmtry %%DATADIR%%/helpers
+ at dirrmtry %%DATADIR%%/completions
+ at dirrmtry %%DATADIR%%
More information about the svn-ports-all
mailing list