aboutsummaryrefslogtreecommitdiffstats
path: root/misc/chmlib/Makefile
blob: a1c197bca499dd8be4ac9130a2ad215fc8074a6d (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
# ex:ts=8
# Ports collection makefile for:    chmlib
# Date created:         Apr 5, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   chmlib
PORTVERSION=    0.37.4
CATEGORIES= misc
MASTER_SITES=   http://66.93.236.84/~jedwin/projects/chmlib/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A library for dealing with Microsoft ITSS/CHM format files

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-io64 --disable-pread --exec-prefix=${PREFIX}
USE_GMAKE=  yes
INSTALLS_SHLIB= yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-0.37

post-patch:
    @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS}," ${WRKSRC}/configure

.include <bsd.port.mk>