aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2023-10-04 16:57:13 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2023-10-05 13:20:28 +0000
commit87b5fedd0a07daaf4d7564df8084c803f1288fc7 (patch)
treee939b2ddf417193c0b2b0e49f0c36efef5bf702a
parent406acd67fa722743cfd930263dad1af8cad21938 (diff)
downloadports-87b5fedd0a07daaf4d7564df8084c803f1288fc7.tar.gz
ports-87b5fedd0a07daaf4d7564df8084c803f1288fc7.zip
misc/pastebinit: update 1.5.1 → 1.6.2
-rw-r--r--misc/pastebinit/Makefile18
-rw-r--r--misc/pastebinit/distinfo6
-rw-r--r--misc/pastebinit/pkg-descr3
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.