mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
24 lines
502 B
Makefile
24 lines
502 B
Makefile
# 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= A compiler for the PHP language
|
|
|
|
USE_GMAKE= yes
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.mk>
|