aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xchm/Makefile
blob: 505dd45e0a13bc377e52f0e44659c0bcb758240f (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
# New ports collection makefile for:    xchm
# Date created:             3th October 2003
# Whom:                 Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
#

PORTNAME=   xchm
PORTVERSION=    0.8.4
CATEGORIES= deskutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= pav@oook.cz
COMMENT=    Windows HTML Help (.chm) viewer for UNIX

LIB_DEPENDS=    wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel \
        chm.0:${PORTSDIR}/misc/chmlib

GNU_CONFIGURE=  yes
USE_X_PREFIX=   yes
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>