aboutsummaryrefslogtreecommitdiff
path: root/deskutils/helpviewer/Makefile
blob: a0bb761a7db7df213c8f4809f89b48c433e34c3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
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>