blob: 6c759ddcd8b3dbaf683114846b317cfe58e56b47 (
plain)
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
|
# Created by: chinsan
# $FreeBSD$
PORTNAME= hidef
PORTVERSION= 0.1.13
PORTREVISION= 1
CATEGORIES= devel pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= ports@FreeBSD.org
COMMENT= Constants for real
LICENSE= PHP301
USES= php:ext tar:tgz
IGNORE_WITH_PHP= 56 70
CONFIGURE_ARGS= --enable-hidef
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,g' \
${WRKSRC}/hidef.c
.include <bsd.port.mk>
|