mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
26 lines
525 B
Makefile
26 lines
525 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= Compiler for the PHP language
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/license/LICENSE
|
|
|
|
USES= gmake
|
|
USE_CSTD= gnu89
|
|
GNU_CONFIGURE= yes
|
|
|
|
post-patch: .SILENT
|
|
${REINPLACE_CMD} 's/g++/$$CXX/' \
|
|
${WRKSRC}/phc_compile_plugin.in
|
|
${REINPLACE_CMD} 's/insert/this->&/' \
|
|
${WRKSRC}/lib/List.h
|
|
|
|
.include <bsd.port.mk>
|