aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2024-01-24 16:15:02 +0000
committerNicola Vitale <nivit@FreeBSD.org>2024-01-24 16:15:02 +0000
commitddaf406ebd7dcac73561b6dc26833180cc148ba3 (patch)
tree76d44b108eeec7992feb8b042261087981d09dd9
parent63b843a1c0bb789da1022a3f646b1f93cb4736de (diff)
downloadports-ddaf406ebd7dcac73561b6dc26833180cc148ba3.tar.gz
ports-ddaf406ebd7dcac73561b6dc26833180cc148ba3.zip
graphics/variety: Update to 0.8.12
- Manually install the file quotes.txt (ignored by pydistutils) Release changes: https://github.com/varietywalls/variety/releases/tag/0.8.12
-rw-r--r--graphics/variety/Makefile13
-rw-r--r--graphics/variety/distinfo6
2 files changed, 13 insertions, 6 deletions
diff --git a/graphics/variety/Makefile b/graphics/variety/Makefile
index 0225e5d299be..e89df518d6a6 100644
--- a/graphics/variety/Makefile
+++ b/graphics/variety/Makefile
@@ -1,6 +1,6 @@
PORTNAME= variety
-PORTVERSION= 0.8.5
-PORTREVISION= 3
+PORTVERSION= 0.8.12
+PORTREVISION= 0
CATEGORIES= graphics
MAINTAINER= nivit@FreeBSD.org
@@ -27,7 +27,8 @@ RUN_DEPENDS= ${PY_PILLOW} \
coreutils>=8.23:sysutils/coreutils \
yelp>=3.14.1:x11/yelp
-USES= desktop-file-utils gettext-tools gnome magick:6,run python shebangfix
+USES= desktop-file-utils gettext-tools gnome magick:run python \
+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= varietywalls
@@ -36,6 +37,8 @@ USE_PYTHON= autoplist distutils noflavors
SHEBANG_FILES= bin/variety data/scripts/*
+PLIST_FILES= share/variety/config/quotes.txt
+
post-patch:
@(cd ${WRKSRC} && ${REINPLACE_CMD} \
-i '' \
@@ -47,6 +50,10 @@ post-patch:
variety/Options.py variety/ThumbsWindow.py \
variety/__init__.py variety/VarietyWindow.py)
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/variety/plugins/builtin/quotes/quotes.txt \
+ ${STAGEDIR}/${DATADIR}/config/quotes.txt
+
.include <bsd.port.pre.mk>
# PYDISTUTILS_INSTALLNOSINGLE is deprecated so...
diff --git a/graphics/variety/distinfo b/graphics/variety/distinfo
index 1a1b7dc9056e..3ba46f8c919c 100644
--- a/graphics/variety/distinfo
+++ b/graphics/variety/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615387540
-SHA256 (varietywalls-variety-0.8.5_GH0.tar.gz) = 2298af592cdd5cc0c183582f74f39af74b07499074ea164a3a327d55c9338248
-SIZE (varietywalls-variety-0.8.5_GH0.tar.gz) = 889750
+TIMESTAMP = 1706101599
+SHA256 (varietywalls-variety-0.8.12_GH0.tar.gz) = 8bf5a6748cf87976cfec3772e27ab53fb2a3dfb5704d66933481ca3e0004e09f
+SIZE (varietywalls-variety-0.8.12_GH0.tar.gz) = 848707