blob: 5f9800cc9e07bf96ebb95e53623080b776cba08a (
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
|
# New ports collection makefile for: pecl-shape
# Date created: 15 Nov 2007
# Whom: Ditesh Shashikant Gathani <ditesh@gathani.org>
#
# $FreeBSD$
#
PORTNAME= shape
PORTVERSION= 0.9.1
CATEGORIES= devel pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PECL
MAINTAINER= ditesh@gathani.org
COMMENT= A PECL extension that wraps libshape
LIB_DEPENDS= shp:${PORTSDIR}/devel/shapelib
USE_PHP= yes
USE_PHP_BUILD= yes
USE_PHPEXT= yes
PHP_MODNAME= shp
post-patch:
@${REINPLACE_CMD} -e 's|include/libshp|include|g' ${WRKSRC}/config.m4
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/config.m4
@${REINPLACE_CMD} -e 's|include "libshp/|include "|g' ${WRKSRC}/php_shp.h
.include <bsd.port.mk>
|