aboutsummaryrefslogtreecommitdiff
path: root/devel/libevent-hiphop/Makefile
blob: 9db6fa51b1373b256bbbab22f1e1cb30a15e9521 (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
31
# New ports collection makefile for:	libevent-hiphop
# Date created:				16 July 2012
# Whom:					Martin Matuska <mm@FreeBSd.org>
#
# $FreeBSD$
#

PKGNAMESUFFIX=	-hiphop
PORTREVISION=	3

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

LICENSE=	BSD

HIPHOP_DIR=	share/hiphop-php

_BUILDING_LIBEVENT_HIPHOP=	yes
CONFIGURE_ARGS+=	--disable-shared --enable-static
EXTRA_PATCHES=	${.CURDIR}/files/extra-patch-hiphop
GNU_CONFIGURE_PREFIX=	${PREFIX}/${HIPHOP_DIR}/ext
INSTALL_TARGET=	install-libLTLIBRARIES \
		install-includeHEADERS \
		install-nodist_includeHEADERS
PLIST_SUB+=	HIPHOP_DIR="${HIPHOP_DIR}"
PLIST=		${.CURDIR}/pkg-plist
DESCR=		${.CURDIR}/pkg-descr

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

.include "${MASTERDIR}/Makefile"