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.
This commit is contained in:
Alexey Dokuchaev 2024-03-26 15:04:04 +00:00
parent 601a02bef9
commit dc654bb096
2 changed files with 15 additions and 19 deletions

View file

@ -1,33 +1,28 @@
PORTNAME= simpleagenda PORTNAME= simpleagenda
PORTVERSION= 0.43 PORTVERSION= 0.46
PORTREVISION= 13 DISTVERSIONPREFIX= v
CATEGORIES= deskutils gnustep CATEGORIES= deskutils gnustep
MASTER_SITES= http://coyote.octets.fr/pub/gnustep/
DISTNAME= SimpleAgenda-${PORTVERSION} DISTNAME= SimpleAgenda-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Simple calendar and agenda application 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 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 libuuid.so:misc/e2fsprogs-libuuid
USES= gnustep localbase USES= gnustep localbase
USE_GNUSTEP= back build
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_GNUSTEP= back base build gui
USE_GITHUB= yes
GH_ACCOUNT= poroussel
TEST_TARGET= check
.include <bsd.port.options.mk> post-patch:
@${REINPLACE_CMD} -e 's|SimpleAgenda|&.m|' ${WRKSRC}/configure
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) @${REINPLACE_CMD} -e '1{x; s|^|#import <AppKit/AppKitDefines.h>|; \
CFLAGS+= -Wno-error=incompatible-function-pointer-types G;}' ${WRKSRC}/SoundBackend.m
.endif
pre-configure:
${REINPLACE_CMD} -e 's|SimpleAgenda|SimpleAgenda.m|' ${WRKSRC}/configure
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (SimpleAgenda-0.43.tar.gz) = b363a3e36e6eaa55a81ac96eb8aa590472d83e6f177640016b917d400d969f14 TIMESTAMP = 1634508073
SIZE (SimpleAgenda-0.43.tar.gz) = 155517 SHA256 (poroussel-simpleagenda-v0.46_GH0.tar.gz) = ca9662d44287e8344324472c2a3d3c9ee34b399f5d8c0f4c52a90e1b6985552e
SIZE (poroussel-simpleagenda-v0.46_GH0.tar.gz) = 156586