1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/lang/phc/Makefile
Martin Wilke 7bf1652bda - Stage support
- Convert few ports to USES
2014-02-02 14:33:37 +00:00

23 lines
485 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
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>