aboutsummaryrefslogtreecommitdiff
path: root/ftp/curl-hiphop/Makefile
blob: e774a60beba863f8cb622decbeea8feb32bc263b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$

PKGNAMESUFFIX=	-hiphop

MAINTAINER=	mm@FreeBSD.org
COMMENT=	Static libcurl with custom patches for HipHop

SSP_UNSAFE=	Refuses -l in LDFLAGS

BUILDING_HIPHOP=	yes

HIPHOP_DIR=	share/hiphop-php
EXTRA_PATCHES=	${.CURDIR}/files/extra-patch-hiphop
GNU_CONFIGURE_PREFIX=	${PREFIX}/${HIPHOP_DIR}/ext
CONFIGURE_ARGS+=	--disable-shared --enable-static
PLIST_SUB+=	HIPHOP_DIR="${HIPHOP_DIR}"
PLIST=		${.CURDIR}/pkg-plist
DESCR=		${.CURDIR}/pkg-descr

MASTERDIR=	${.CURDIR}/../curl

do-install:
.for dir in include lib
	@cd ${WRKSRC}/${dir} && \
		${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
		${MAKE_ARGS} ${INSTALL_TARGET}
.endfor

.include "${MASTERDIR}/Makefile"