# Created by: Pav Lucistnik # $FreeBSD$ PORTNAME= xchm PORTVERSION= 1.21 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= chm:${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 post-patch: @${REINPLACE_CMD} -e 's|@REZ_COMMAND@||' ${WRKSRC}/src/Makefile.in .if !defined(WITHOUT_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif .include