aboutsummaryrefslogtreecommitdiffstats
path: root/net/pecl-geoip/Makefile
blob: c0e326d5be7868a2af14123ddf4a518682d4581f (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   geoip
PORTVERSION=    1.1.0
CATEGORIES= net www
MASTER_SITES=   http://pecl.php.net/get/
PKGNAMEPREFIX=  pecl-
DIST_SUBDIR=    PECL

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Map IP address to geographic places

LICENSE=    PHP301

LIB_DEPENDS=    libGeoIP.so:net/GeoIP

USE_PHP=    yes
USE_PHPEXT= yes
USES=       tar:tgz
IGNORE_WITH_PHP=    70

post-patch:
    @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/config.m4

.include <bsd.port.mk>