aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xchm/Makefile
blob: c5c3912a0465d134d42821939934c22be18ddef8 (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
32
33
34
# Created by: Pav Lucistnik <pav@oook.cz>
# $FreeBSD$

PORTNAME=   xchm
PORTVERSION=    1.23
CATEGORIES= deskutils
MASTER_SITES=   SF/${PORTNAME}/xCHM/${PORTNAME}-${PORTVERSION}

MAINTAINER= rm@FreeBSD.org
COMMENT=    Windows HTML Help (.chm) viewer for UNIX

LICENSE=    GPLv2

LIB_DEPENDS=    libchm.so:${PORTSDIR}/misc/chmlib

GNU_CONFIGURE=  yes
USE_WX=     2.6+
WX_UNICODE= yes
WX_CONF_ARGS=   absolute
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS+=  -I${LOCALBASE}/include

NO_STAGE=   yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.mk>