blob: a82d5be993f09c8e1038c564fd8ba851e27668f4 (
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
32
33
34
35
36
37
38
39
40
41
|
# $FreeBSD$
PORTNAME= qore
PORTVERSION= 0.8.8
CATEGORIES= lang
MASTER_SITES= SF/qore/qore/${PORTVERSION}/
MAINTAINER= estrabd@gmail.com
COMMENT= The Qore Programming Language
LICENSE= GPLv2
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre \
mpfr:${PORTSDIR}/math/mpfr
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
${LOCALBASE}/bin/bison:${PORTSDIR}/devel/bison
USE_BZIP2= yes
USES= gmake iconv pathfix
USE_OPENSSL= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LEX="${LOCALBASE}/bin/flex" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
PTHREAD_CFLAGS="${PTRHEAD_CFLAGS}"
CONFIGURE_ARGS= --disable-debug --disable-static --with-doxygen=no
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
post-patch:
${REINPLACE_CMD} -e 's|; make|; $${MAKE}|g' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
|