From dc654bb0965c67a3f99d3fd17947830bc1b4f825 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Tue, 26 Mar 2024 15:04:04 +0000 Subject: [PATCH] deskutils/simpleagenda: unbreak the port and update to version 0.46 Add TEST_TARGET and chase HTTP/1.1 301 redirection in the WWW line. --- deskutils/simpleagenda/Makefile | 29 ++++++++++++----------------- deskutils/simpleagenda/distinfo | 5 +++-- 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/deskutils/simpleagenda/Makefile b/deskutils/simpleagenda/Makefile index 198f2b730475..0ad5bdf80208 100644 --- a/deskutils/simpleagenda/Makefile +++ b/deskutils/simpleagenda/Makefile @@ -1,33 +1,28 @@ PORTNAME= simpleagenda -PORTVERSION= 0.43 -PORTREVISION= 13 +PORTVERSION= 0.46 +DISTVERSIONPREFIX= v CATEGORIES= deskutils gnustep -MASTER_SITES= http://coyote.octets.fr/pub/gnustep/ DISTNAME= SimpleAgenda-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simple calendar and agenda application -WWW= http://wiki.gnustep.org/index.php/SimpleAgenda.app +WWW= https://mediawiki.gnustep.org/index.php/SimpleAgenda.app LICENSE= GPLv2 -BROKEN= Fails to build with unknown type name 'APPKIT_EXPORT_CLASS' - -LIB_DEPENDS+= libical.so:devel/libical \ +LIB_DEPENDS= libical.so:devel/libical \ libuuid.so:misc/e2fsprogs-libuuid USES= gnustep localbase -USE_GNUSTEP= back build - GNU_CONFIGURE= yes +USE_GNUSTEP= back base build gui +USE_GITHUB= yes +GH_ACCOUNT= poroussel +TEST_TARGET= check -.include - -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) -CFLAGS+= -Wno-error=incompatible-function-pointer-types -.endif - -pre-configure: - ${REINPLACE_CMD} -e 's|SimpleAgenda|SimpleAgenda.m|' ${WRKSRC}/configure +post-patch: + @${REINPLACE_CMD} -e 's|SimpleAgenda|&.m|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '1{x; s|^|#import |; \ + G;}' ${WRKSRC}/SoundBackend.m .include diff --git a/deskutils/simpleagenda/distinfo b/deskutils/simpleagenda/distinfo index 790b20fc961a..212d92ab95c5 100644 --- a/deskutils/simpleagenda/distinfo +++ b/deskutils/simpleagenda/distinfo @@ -1,2 +1,3 @@ -SHA256 (SimpleAgenda-0.43.tar.gz) = b363a3e36e6eaa55a81ac96eb8aa590472d83e6f177640016b917d400d969f14 -SIZE (SimpleAgenda-0.43.tar.gz) = 155517 +TIMESTAMP = 1634508073 +SHA256 (poroussel-simpleagenda-v0.46_GH0.tar.gz) = ca9662d44287e8344324472c2a3d3c9ee34b399f5d8c0f4c52a90e1b6985552e +SIZE (poroussel-simpleagenda-v0.46_GH0.tar.gz) = 156586