blob: 2bc40b14d7e02eaedfec947b81acf3cda9ab365f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Created by: Conor McDermottroe <ports@mcdermottroe.com>
# $FreeBSD$
PORTNAME= phc
PORTVERSION= 0.1.7
CATEGORIES= lang
MASTER_SITES= http://www.phpcompiler.org/src/archive/
MAINTAINER= eg@fbsd.lt
COMMENT= Compiler for the PHP language
USES= gmake
GNU_CONFIGURE= yes
CFLAGS+= -fgnu89-inline
post-patch: .SILENT
${REINPLACE_CMD} 's/g++/$$CXX/' \
${WRKSRC}/phc_compile_plugin.in
${REINPLACE_CMD} 's/insert/this->&/' \
${WRKSRC}/include/phc/lib/List.h
.include <bsd.port.mk>
|