mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
f92998df01
- implement gitup.conf OSREL automation from net/svnup - bump PORTREVISION, changes will take efect on ${PREFIX}/etc/gitup.conf.sample
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
PORTNAME= gitup
|
|
DISTVERSION= 0.97
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
|
|
PATCH_SITES= https://github.com/johnmehr/gitup/commit/
|
|
PATCHFILES= dfbe3f0f847cb09225b5d09c4a09d654356bab68.patch:-p1
|
|
|
|
MAINTAINER= eduardo@FreeBSD.org
|
|
COMMENT= Minimalist, dependency-free program to clone/pull git repositories
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= ssl
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= johnmehr
|
|
|
|
MAKE_ENV+= CONFIG_FILE_PATH=${LOCALBASE}/etc/gitup.conf
|
|
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|stable\/12|stable\/${OSREL:R}| ; \
|
|
s|releng\/11.4|releng\/${OSREL}|' \
|
|
${WRKSRC}/gitup.conf
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/gitup.1 \
|
|
${STAGEDIR}${PREFIX}/share/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/gitup.conf.5 \
|
|
${STAGEDIR}${PREFIX}/share/man/man5
|
|
${INSTALL_DATA} ${WRKSRC}/gitup.conf \
|
|
${STAGEDIR}${PREFIX}/etc/gitup.conf.sample
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|