Skip to content

Commit

Permalink
net/gitup: gitup.conf OSREL automation
Browse files Browse the repository at this point in the history
 - implement gitup.conf OSREL automation from net/svnup
 - bump PORTREVISION, changes will take efect on ${PREFIX}/etc/gitup.conf.sample
  • Loading branch information
nunotexbsd committed Jun 28, 2022
1 parent 40a5581 commit f92998d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion net/gitup/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gitup
DISTVERSION= 0.97
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net

PATCH_SITES= https://github.com/johnmehr/gitup/commit/
Expand All @@ -23,6 +23,11 @@ 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 \
Expand Down

0 comments on commit f92998d

Please sign in to comment.