1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-01-28 08:41:25 +00:00
parent e478a2e7bf
commit 1522b709fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341517

View File

@ -18,23 +18,20 @@ USE_RAKE= yes
PLIST_FILES= bin/hub \
etc/bash_completion.d/hub \
share/zsh/site-functions/_hub
share/zsh/site-functions/_hub \
man/man1/hub.1.gz
PLIST_DIRSTRY= etc/bash_completion.d \
share/zsh/site-functions share/zsh
MAN1= hub.1
NO_STAGE= yes
do-build:
@cd ${WRKSRC} && ${RAKE_BIN} standalone
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/hub ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/hub.1 ${MAN1PREFIX}/man/man1
post-install:
${MKDIR} ${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/etc/hub.bash_completion.sh ${PREFIX}/etc/bash_completion.d/hub
${MKDIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/etc/hub.zsh_completion ${PREFIX}/share/zsh/site-functions/_hub
${INSTALL_SCRIPT} ${WRKSRC}/hub ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/hub.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/etc/hub.bash_completion.sh ${STAGEDIR}${PREFIX}/etc/bash_completion.d/hub
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/etc/hub.zsh_completion ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_hub
.include <bsd.port.mk>