aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2024-03-26 15:04:04 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2024-03-26 15:04:04 +0000
commitdc654bb0965c67a3f99d3fd17947830bc1b4f825 (patch)
tree8ae1f22a30da124295f935daac1c81b6f6c66991
parent601a02bef960b00c97dc16db4140a8a542221ccc (diff)
downloadports-dc654bb0965c67a3f99d3fd17947830bc1b4f825.tar.gz
ports-dc654bb0965c67a3f99d3fd17947830bc1b4f825.zip
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.
-rw-r--r--deskutils/simpleagenda/Makefile31
-rw-r--r--deskutils/simpleagenda/distinfo5
2 files changed, 16 insertions, 20 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
-
-.include <bsd.port.options.mk>
-
-.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
+USE_GNUSTEP= back base build gui
+USE_GITHUB= yes
+GH_ACCOUNT= poroussel
+TEST_TARGET= check
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|SimpleAgenda|&.m|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '1{x; s|^|#import <AppKit/AppKitDefines.h>|; \
+ G;}' ${WRKSRC}/SoundBackend.m
.include <bsd.port.mk>
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