Changeset View
Changeset View
Standalone View
Standalone View
shells/bash-completion/Makefile
PORTNAME= bash-completion | PORTNAME= bash-completion | ||||
PORTVERSION= 2.11 | PORTVERSION= 2.11 | ||||
PORTREVISION= 1 | PORTREVISION= 2 | ||||
PORTEPOCH= 2 | PORTEPOCH= 2 | ||||
CATEGORIES= shells | CATEGORIES= shells | ||||
MAINTAINER= sunpoet@FreeBSD.org | MAINTAINER= sunpoet@FreeBSD.org | ||||
COMMENT= Programmable completion library for Bash | COMMENT= Programmable completion library for Bash | ||||
WWW= https://github.com/scop/bash-completion | WWW= https://github.com/scop/bash-completion | ||||
# bash-completion is licensed under GPLv2+ | # bash-completion is licensed under GPLv2+ | ||||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | @${REINPLACE_CMD} \ | ||||
-e 's|/usr/ports|${PORTSDIR}|g' \ | -e 's|/usr/ports|${PORTSDIR}|g' \ | ||||
-e 's|/usr\(/sbin/postconf\)|${PREFIX}\1|g' \ | -e 's|/usr\(/sbin/postconf\)|${PREFIX}\1|g' \ | ||||
-e 's|/usr/share/info|&:${PREFIX}/info|g' \ | -e 's|/usr/share/info|&:${PREFIX}/info|g' \ | ||||
-e 's|/var\(/lib/rpm/macros\)|${PREFIX}\1|g' \ | -e 's|/var\(/lib/rpm/macros\)|${PREFIX}\1|g' \ | ||||
${WRKSRC}/completions/* | ${WRKSRC}/completions/* | ||||
post-install: | post-install: | ||||
cd ${WRKSRC}/freebsd/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} | cd ${WRKSRC}/freebsd/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} | ||||
${RM} ${STAGEDIR}${DATADIR}/completions/makepkg | |||||
post-install-DOCS-on: | post-install-DOCS-on: | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/ | ${MKDIR} ${STAGEDIR}${DOCSDIR}/ | ||||
cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES README.md doc/bash_completion.txt doc/bashrc doc/inputrc ${STAGEDIR}${DOCSDIR}/ | cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES README.md doc/bash_completion.txt doc/bashrc doc/inputrc ${STAGEDIR}${DOCSDIR}/ | ||||
do-test: | do-test: | ||||
.for test in runCompletion runInstall runUnit | .for test in runCompletion runInstall runUnit | ||||
-cd ${WRKSRC}/test && bash ${test} | -cd ${WRKSRC}/test && bash ${test} | ||||
.endfor | .endfor | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |