1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/gitup/Makefile
Nuno Teixeira f92998df01 net/gitup: gitup.conf OSREL automation
- implement gitup.conf OSREL automation from net/svnup
 - bump PORTREVISION, changes will take efect on ${PREFIX}/etc/gitup.conf.sample
2022-06-28 09:08:33 +01:00

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>