aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-28 16:41:25 +0800
committerbapt <bapt@FreeBSD.org>2014-01-28 16:41:25 +0800
commite52ddc8e06109ff7f118cd04efe056a0df49e267 (patch)
tree93ad09486cdaf904f94454551f4927ab14cc925f
parentd21ecef50330b6ccea63a120beb683b571e7bf8c (diff)
downloadfreebsd-ports-gnome-e52ddc8e06109ff7f118cd04efe056a0df49e267.tar.gz
freebsd-ports-gnome-e52ddc8e06109ff7f118cd04efe056a0df49e267.tar.zst
freebsd-ports-gnome-e52ddc8e06109ff7f118cd04efe056a0df49e267.zip
Support stage
-rw-r--r--devel/hub/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/devel/hub/Makefile b/devel/hub/Makefile
index 82737fdd575b..ca08d5812b56 100644
--- a/devel/hub/Makefile
+++ b/devel/hub/Makefile
@@ -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>