2013-09-20 19:53:09 +00:00
|
|
|
# Created by: Conor McDermottroe <ports@mcdermottroe.com>
|
2006-07-13 22:07:11 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phc
|
2006-10-08 10:22:43 +00:00
|
|
|
PORTVERSION= 0.1.7
|
2006-07-13 22:07:11 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://www.phpcompiler.org/src/archive/
|
|
|
|
|
2009-09-17 21:31:48 +00:00
|
|
|
MAINTAINER= eg@fbsd.lt
|
2006-07-13 22:07:11 +00:00
|
|
|
COMMENT= A compiler for the PHP language
|
|
|
|
|
2014-02-02 14:33:37 +00:00
|
|
|
USES= gmake
|
2006-07-13 22:07:11 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-11-28 11:43:28 +00:00
|
|
|
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
|
2006-07-13 22:07:11 +00:00
|
|
|
|
2007-10-04 01:25:18 +00:00
|
|
|
.include <bsd.port.mk>
|