blob: 8898cc6e5b9f646a662f98d0ccb5f249c355bf6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
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
WWW= https://github.com/johnmehr/gitup
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>
|