1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

misc/timezonemap: update to 0.4.5.3

While here, fix incorrect hardcoded paths for the data files.

PR: 281809
Co-authored-by: Pavel Timofeev <timp87@gmail.com>
This commit is contained in:
Charlie Li 2024-10-15 18:49:28 -04:00
parent 8996535790
commit 295b424873
No known key found for this signature in database
GPG Key ID: 678F936058415CCA
3 changed files with 11 additions and 10 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= timezonemap
DISTVERSION= 0.4.5.2
PORTREVISION= 2
DISTVERSION= 0.4.5.3
CATEGORIES= misc gnome
MAINTAINER= gnome@freebsd.org
@ -10,20 +9,21 @@ WWW= https://github.com/dashea/timezonemap
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gnome-autogen.sh:devel/gnome-common
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
libsoup-2.4.so:devel/libsoup
USES= autoreconf:build gmake gnome libtool pkgconfig
USES= autoreconf gmake gnome libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= dashea
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build librsvg2
USE_GNOME= gtk30 introspection:build librsvg2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
pre-configure:
@cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} autogen.sh
post-patch:
.for d in TZ_DATA_FILE ADMIN1_FILE COUNTRY_FILE
@${REINPLACE_CMD} '/$d/s|/usr|${PREFIX}|' ${WRKSRC}/src/tz.h
.endfor
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1668269243
SHA256 (dashea-timezonemap-0.4.5.2_GH0.tar.gz) = 80f631f79754c772ccbb80f5b6f9d232766f5706089bcfa7897bdf093323b6be
SIZE (dashea-timezonemap-0.4.5.2_GH0.tar.gz) = 2474755
TIMESTAMP = 1729031150
SHA256 (dashea-timezonemap-0.4.5.3_GH0.tar.gz) = 9efddf1c70b9a8a6dcddc10f28a0e78e12a95ef072f8a16a5dbecbb87b862b3d
SIZE (dashea-timezonemap-0.4.5.3_GH0.tar.gz) = 3004134

View File

@ -3,6 +3,7 @@ include/timezonemap/timezonemap/cc-timezone-map.h
include/timezonemap/timezonemap/timezone-completion.h
include/timezonemap/timezonemap/tz.h
lib/girepository-1.0/TimezoneMap-1.0.typelib
lib/libtimezonemap.a
lib/libtimezonemap.so
lib/libtimezonemap.so.1
lib/libtimezonemap.so.1.0.0