Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

32 lines
747 B
Makefile

PORTNAME= helpviewer
PORTVERSION= 0.3
PORTREVISION= 12
CATEGORIES= deskutils gnustep
MASTER_SITES= http://www.roard.com/helpviewer/download/
DISTNAME= HelpViewer-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Online help viewer for GNUstep programs
WWW= http://www.roard.com/helpviewer/
LICENSE= GPLv2
USES= gnustep tar:tgz
USE_GNUSTEP= back build
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
ADDITIONAL_CPPFLAGS+= -Wno-error=int-conversion
.endif
post-patch:
${REINPLACE_CMD} -e 's|Foundation/GSXML.h|GNUstepBase/GSXML.h|' \
${WRKSRC}/HandlerStructureXLP.h \
${WRKSRC}/TextFormatterXLP.h
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/HelpViewer.app/HelpViewer
.include <bsd.port.mk>