mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
39 lines
782 B
Makefile
39 lines
782 B
Makefile
# New ports collection makefile for: xchm
|
|
# Date created: 3th October 2003
|
|
# Whom: Pav Lucistnik <pav@oook.cz>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xchm
|
|
PORTVERSION= 1.20
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= SF/${PORTNAME}/xCHM/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= pav@FreeBSD.org
|
|
COMMENT= Windows HTML Help (.chm) viewer for UNIX
|
|
|
|
LIB_DEPENDS= chm.0:${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
|
|
|
|
LICENSE= GPLv2
|
|
|
|
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 <bsd.port.mk>
|