aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2022-06-28 07:55:58 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2022-06-28 08:08:33 +0000
commitf92998df01d6e5402d31fff7010bb477d66b1137 (patch)
tree4792986742e63216f1973ef7886309636e38237c /net
parent40a558121da08020376128d01efdf858efc395ee (diff)
downloadports-f92998df01d6e5402d31fff7010bb477d66b1137.tar.gz
ports-f92998df01d6e5402d31fff7010bb477d66b1137.zip
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
Diffstat (limited to 'net')
-rw-r--r--net/gitup/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/gitup/Makefile b/net/gitup/Makefile
index d4bebb92b0fe..18c75977856a 100644
--- a/net/gitup/Makefile
+++ b/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/
@@ -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 \