Add gitup 0.87, minimalist, dependency-free program to clone/pull git
repositories. PR: 252220 Submitted by: ed.arrakis@gmail.com Sponsored by: Rubicon Communications, LLC (Netgate)
This commit is contained in:
parent
67f7823c0c
commit
c1e26e39b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559576
6 changed files with 71 additions and 0 deletions
|
@ -178,6 +178,7 @@
|
|||
SUBDIR += gerbera
|
||||
SUBDIR += gfbgraph
|
||||
SUBDIR += gitlab-agent
|
||||
SUBDIR += gitup
|
||||
SUBDIR += glflow
|
||||
SUBDIR += glib-networking
|
||||
SUBDIR += glusterfs
|
||||
|
|
45
net/gitup/Makefile
Normal file
45
net/gitup/Makefile
Normal file
|
@ -0,0 +1,45 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gitup
|
||||
DISTVERSION= 0.87
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= ed.arrakis@gmail.com
|
||||
COMMENT= Minimalist, dependency-free program to clone/pull git repositories
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= ssl
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= johnmehr
|
||||
|
||||
ALL_TARGET= gitup
|
||||
CFLAGS+= -I${OPENSSLINC}
|
||||
LDADD= -lz -L${OPENSSLLIB} -lssl -lcrypto -lprivateucl
|
||||
MAKE_ARGS= CFLAGS="${CFLAGS}" \
|
||||
LDADD="${LDADD}"
|
||||
|
||||
PORTDOCS= README.md
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's,\./gitup.conf,${PREFIX}/etc/gitup.conf,' \
|
||||
${WRKSRC}/gitup.c
|
||||
${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
|
||||
${WRKSRC}/gitup.1 ${WRKSRC}/gitup.conf.5
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/gitup.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/gitup.conf.5 ${STAGEDIR}${MANPREFIX}/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>
|
3
net/gitup/distinfo
Normal file
3
net/gitup/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1609199079
|
||||
SHA256 (johnmehr-gitup-0.87_GH0.tar.gz) = 7d8567714a902444fac1cb1f7d3d867ed9d4cf6e01e6e694dec0a917f35196a8
|
||||
SIZE (johnmehr-gitup-0.87_GH0.tar.gz) = 20296
|
8
net/gitup/pkg-descr
Normal file
8
net/gitup/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
A minimalist, dependency-free FreeBSD program to clone/pull git
|
||||
repositories. Intended for non-developers, gitup synchronizes local
|
||||
copies of repositories without the additional overhead that the
|
||||
official git client requires. Because gitup neither uses nor updates
|
||||
the contents of .git directories, the official git client should not
|
||||
be used on repositories cloned or modified with gitup.
|
||||
|
||||
WWW: https://github.com/johnmehr/gitup
|
10
net/gitup/pkg-message
Normal file
10
net/gitup/pkg-message
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
type: install
|
||||
message: <<EOM
|
||||
Currently this program is beta, so the usual caveats/warnings (don't
|
||||
use it in a production environment, make sure you've got backups, dont
|
||||
(yet) run as root) apply.
|
||||
EOM
|
||||
}
|
||||
]
|
4
net/gitup/pkg-plist
Normal file
4
net/gitup/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
bin/gitup
|
||||
man/man1/gitup.1.gz
|
||||
man/man5/gitup.conf.5.gz
|
||||
@sample etc/gitup.conf.sample
|
Loading…
Reference in a new issue