git: 87b5fedd0a07 - main - misc/pastebinit: update 1.5.1 → 1.6.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Oct 2023 13:20:43 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=87b5fedd0a07daaf4d7564df8084c803f1288fc7
commit 87b5fedd0a07daaf4d7564df8084c803f1288fc7
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2023-10-04 16:57:13 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2023-10-05 13:20:28 +0000
misc/pastebinit: update 1.5.1 → 1.6.2
---
misc/pastebinit/Makefile | 18 +++++++++---------
misc/pastebinit/distinfo | 6 +++---
misc/pastebinit/pkg-descr | 3 ++-
3 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/misc/pastebinit/Makefile b/misc/pastebinit/Makefile
index f6ec2e40a91d..4772d49180f3 100644
--- a/misc/pastebinit/Makefile
+++ b/misc/pastebinit/Makefile
@@ -1,18 +1,16 @@
PORTNAME= pastebinit
-PORTVERSION= 1.5.1
+PORTVERSION= 1.6.2
CATEGORIES= misc python
-MASTER_SITES= https://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Command line utility for pastebin
-WWW= https://phab.lubuntu.me/source/pastebinit/
+WWW= https://github.com/pastebinit/pastebinit
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=4.3.2:devel/py-configobj@${PY_FLAVOR}
-
USES= python:run shebangfix
+USE_GITHUB= yes
SHEBANG_FILES= pastebinit
NO_BUILD= yes
NO_ARCH= yes
@@ -26,16 +24,18 @@ OPTIONS_DEFAULT=PASTEBINS
PASTEBINS_DESC= Install default pastebins
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/share/pastebin.d|${DATADIR}/pastebin.d|' \
+ @${REINPLACE_CMD} -e 's|/usr/local/share|${DATADIR}|g' \
+ -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/pastebinit
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
do-install-PASTEBINS-on:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${STAGEDIR}${DATADIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${STAGEDIR}${DATADIR}/
do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
diff --git a/misc/pastebinit/distinfo b/misc/pastebinit/distinfo
index 40c774529a39..79659c496dab 100644
--- a/misc/pastebinit/distinfo
+++ b/misc/pastebinit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572273182
-SHA256 (pastebinit-1.5.1.tar.gz) = dfabd0c043f6bfffa19c60bd0266c1fc903740f622c92a09f9ad5d1d6fa318e6
-SIZE (pastebinit-1.5.1.tar.gz) = 51498
+TIMESTAMP = 1696437073
+SHA256 (pastebinit-pastebinit-1.6.2_GH0.tar.gz) = 81ab0ade7b58e3c48defcce3236ce3e97fbfadd02d55b205363756626f101915
+SIZE (pastebinit-pastebinit-1.6.2_GH0.tar.gz) = 53444
diff --git a/misc/pastebinit/pkg-descr b/misc/pastebinit/pkg-descr
index 75db1c70b9e1..2ccaad29677a 100644
--- a/misc/pastebinit/pkg-descr
+++ b/misc/pastebinit/pkg-descr
@@ -1 +1,2 @@
-A command line pastebin utility.
+A software that lets you send anything you want directly to a
+pastebin from the command line.