aboutsummaryrefslogtreecommitdiffstats
path: root/devel/liboop/Makefile
blob: d57cd4a14ecc3cf3ab6d3a34fc8bb8b30046be85 (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
# ex:ts=8
# New ports collection makefile for:    liboop
# Date created:         Jun 1, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   liboop
PORTVERSION=    0.8
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://download.ofb.net/liboop/

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    adns.1:${PORTSDIR}/net/adns \
        wwwcore.1:${PORTSDIR}/www/libwww

USE_GLIB=   yes
USE_LIBTOOL=    yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes

CPPFLAGS=   -I${LOCALBASE}/include/w3c-libwww -I${LOCALBASE}/include 
LDFLAGS=    -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e \
        's|glib-config|${GLIB_CONFIG:T}|g' ${WRKSRC}/configure

.include <bsd.port.mk>