diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-01-25 04:02:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-01-25 04:02:46 +0800 |
commit | 24ea09c587c717f42ad9c29c4aa7744304136d25 (patch) | |
tree | c75ab6bf467d438e8eefecb6d458d03d958eeba5 | |
parent | 1e4084811248333e192b8dd34044d08c779bec68 (diff) | |
download | freebsd-ports-gnome-24ea09c587c717f42ad9c29c4aa7744304136d25.tar.gz freebsd-ports-gnome-24ea09c587c717f42ad9c29c4aa7744304136d25.tar.zst freebsd-ports-gnome-24ea09c587c717f42ad9c29c4aa7744304136d25.zip |
- Add NO_ARCH
- Switch to options helpers
-rw-r--r-- | devel/gitolite/Makefile | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/devel/gitolite/Makefile b/devel/gitolite/Makefile index 526d3e7cac82..720bd84da518 100644 --- a/devel/gitolite/Makefile +++ b/devel/gitolite/Makefile @@ -25,24 +25,16 @@ GH_TAGNAME= 3455375 CONFLICTS= gitolite-[^3]* USES= cpe perl5 - CPE_VENDOR= sitaram_chamarty +NO_ARCH= yes SUB_FILES= pkg-message OPTIONS_DEFINE= GITUSER DOCS +OPTIONS_SUB= yes GITUSER_DESC= Create git user as gitolite provider - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGITUSER} -USERS= git -GROUPS= ${USERS} -PLIST_SUB+= GITUSER="" -.else -PLIST_SUB+= GITUSER="@comment " -.endif +GITUSER_VARS= USERS=git GROUPS=git post-patch: @${FIND} ${WRKSRC} \ @@ -69,8 +61,9 @@ do-install: (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} Gitolite ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/) ${LN} -s ${PREFIX}/libexec/gitolite/gitolite ${STAGEDIR}${PREFIX}/bin/gitolite - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |