f9ebb25f81
- Switch to wx 2.6
29 lines
758 B
Makefile
29 lines
758 B
Makefile
# New ports collection makefile for: xchm
|
|
# Date created: 3th October 2003
|
|
# Whom: Pav Lucistnik <pav@oook.cz>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xchm
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= pav@FreeBSD.org
|
|
COMMENT= Windows HTML Help (.chm) viewer for UNIX
|
|
|
|
LIB_DEPENDS= chm.0:${PORTSDIR}/misc/chmlib \
|
|
wx_base-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_X_PREFIX= yes
|
|
CONFIGURE_ARGS= --with-wx-config=${X11BASE}/bin/wxgtk2-2.6-config
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|@REZ_COMMAND@||' ${WRKSRC}/src/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|