summaryrefslogtreecommitdiff
path: root/devel/liboop/Makefile
blob: d291f463db143e30e3201d1873257cd7067e0734 (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_INC_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>