aboutsummaryrefslogtreecommitdiffstats
path: root/devel/liboop/Makefile
blob: 545a1bab7d0fbac350c730c0e5fe2491d88e8d00 (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
29
30
31
32
33
34
35
36
# ex:ts=8
# New ports collection makefile for:    liboop
# Date created:         Jun 1, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   liboop
PORTVERSION=    1.0
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   http://download.ofb.net/liboop/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A low-level event loop management library for POSIX-based OS

LIB_DEPENDS=    adns.1:${PORTSDIR}/dns/adns \
        tcl84.1:${PORTSDIR}/lang/tcl84 \
        wwwcore.1:${PORTSDIR}/www/libwww

USE_BZIP2=  yes
USE_GNOME=  glib12 glib20 gnomehack gnometarget
USE_LIBTOOL_VER=    13
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-libwww
INSTALLS_SHLIB= yes

CPPFLAGS=   -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|8\.4|84|g' ${WRKSRC}/configure

.include <bsd.port.mk>