aboutsummaryrefslogtreecommitdiffstats
path: root/devel/liboop/Makefile
blob: 327a0ce8c383846ad30327783e30bc66f850aee8 (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
# Created by: ijliao
# $FreeBSD$

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

MAINTAINER= rodrigo@FreeBSD.org
COMMENT=    Low-level event loop management library for POSIX-based OS

LICENSE=    GPLv2

LIB_DEPENDS=    libadns.so:dns/adns \
        libwwwcore.so:www/libwww

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libwww
MAKE_ENV=   INSTALL_STRIP_FLAG=${STRIP}
MAKE_JOBS_UNSAFE=   yes
USE_GNOME=  glib12 glib20
USE_LDCONFIG=   yes
USES=       libtool pathfix pkgconfig tcl tar:bzip2

CPPFLAGS+=  -I${TCL_INCLUDEDIR} -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

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

.include <bsd.port.mk>