2003-10-04 12:34:20 +00:00
|
|
|
# New ports collection makefile for: xchm
|
|
|
|
# Date created: 3th October 2003
|
|
|
|
# Whom: Pav Lucistnik <pav@oook.cz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xchm
|
2011-05-12 20:27:30 +00:00
|
|
|
PORTVERSION= 1.20
|
2003-10-04 12:34:20 +00:00
|
|
|
CATEGORIES= deskutils
|
2009-08-22 00:18:43 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/xCHM/${PORTNAME}-${PORTVERSION}
|
2003-10-04 12:34:20 +00:00
|
|
|
|
2003-11-14 01:10:23 +00:00
|
|
|
MAINTAINER= pav@FreeBSD.org
|
2003-10-04 12:34:20 +00:00
|
|
|
COMMENT= Windows HTML Help (.chm) viewer for UNIX
|
|
|
|
|
2006-11-29 19:48:18 +00:00
|
|
|
LIB_DEPENDS= chm.0:${PORTSDIR}/misc/chmlib
|
2003-10-04 12:34:20 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2007-01-08 18:56:47 +00:00
|
|
|
USE_WX= 2.6+
|
2006-11-29 19:48:18 +00:00
|
|
|
WX_UNICODE= yes
|
|
|
|
WX_CONF_ARGS= absolute
|
2011-09-23 22:26:39 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2003-10-04 12:34:20 +00:00
|
|
|
|
2011-01-26 13:31:35 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2003-10-04 12:34:20 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|@REZ_COMMAND@||' ${WRKSRC}/src/Makefile.in
|
|
|
|
|
2011-05-12 20:27:30 +00:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-10-04 12:34:20 +00:00
|
|
|
.include <bsd.port.mk>
|