aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gitolite
diff options
context:
space:
mode:
authormilki <milki@FreeBSD.org>2014-07-15 13:27:56 +0800
committermilki <milki@FreeBSD.org>2014-07-15 13:27:56 +0800
commitc96bdbd8002763a9dbd570428995166564c19092 (patch)
tree82147c16ac9d9f4db057d30fe4a47227a858ab1a /devel/gitolite
parent3d6b835e2a630693c049a7bd4b60196896c91702 (diff)
downloadfreebsd-ports-gnome-c96bdbd8002763a9dbd570428995166564c19092.tar.gz
freebsd-ports-gnome-c96bdbd8002763a9dbd570428995166564c19092.tar.zst
freebsd-ports-gnome-c96bdbd8002763a9dbd570428995166564c19092.zip
Unmute build steps, DOCS options
Approved by: swills (mentor)
Diffstat (limited to 'devel/gitolite')
-rw-r--r--devel/gitolite/Makefile26
1 files changed, 12 insertions, 14 deletions
diff --git a/devel/gitolite/Makefile b/devel/gitolite/Makefile
index 3ccc00984fbf..bd27df26ed5a 100644
--- a/devel/gitolite/Makefile
+++ b/devel/gitolite/Makefile
@@ -28,7 +28,7 @@ USES= perl5
SUB_FILES= pkg-message
-OPTIONS_DEFINE= GITUSER
+OPTIONS_DEFINE= GITUSER DOCS
GITUSER_DESC= Create git user as gitolite provider
@@ -52,25 +52,23 @@ post-patch:
do-build:
echo "v${PORTVERSION}-0-g${GH_COMMIT}" > ${WRKSRC}/src/VERSION
- @${MKDIR} ${WRKSRC}/lib
- @${MV} ${WRKSRC}/src/lib/Gitolite ${WRKSRC}/lib/
- @${RMDIR} ${WRKSRC}/src/lib
- @${MV} ${WRKSRC}/check-g2-compat ${WRKSRC}/src/
- @${MV} ${WRKSRC}/convert-gitosis-conf ${WRKSRC}/src/
+ ${MKDIR} ${WRKSRC}/lib
+ ${MV} ${WRKSRC}/src/lib/Gitolite ${WRKSRC}/lib/
+ ${RMDIR} ${WRKSRC}/src/lib
+ ${MV} ${WRKSRC}/check-g2-compat ${WRKSRC}/src/
+ ${MV} ${WRKSRC}/convert-gitosis-conf ${WRKSRC}/src/
post-build:
- @${FIND} ${WRKSRC} -name "*.bak" -delete
- @${FIND} ${WRKSRC} -name "*.orig" -delete
+ ${FIND} ${WRKSRC} -name "*.bak" -delete
+ ${FIND} ${WRKSRC} -name "*.orig" -delete
do-install:
- @(cd ${WRKSRC}/src && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/libexec/gitolite)
- @(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} Gitolite ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/)
- @${LN} -s ${PREFIX}/libexec/gitolite/gitolite ${STAGEDIR}${PREFIX}/bin/gitolite
+ (cd ${WRKSRC}/src && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/libexec/gitolite)
+ (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} Gitolite ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/)
+ ${LN} -s ${PREFIX}/libexec/gitolite/gitolite ${STAGEDIR}${PREFIX}/bin/gitolite
-.if ${PORT_OPTIONS:MDOCS}
- -@${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>