blob: 094352af38a4ca519397bdea806863f2670c6190 (
plain)
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
|
# New ports collection makefile for: orchard
# Date created: 08 Feb 2001
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= orchard-c
PORTVERSION= 0.5.1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= orchard
DISTNAME= Orchard-C-${PORTVERSION}
MAINTAINER= skv@protey.ru
COMMENT= Innovative, lightweight API for event stream and tree views of XML
LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \
gc:${PORTSDIR}/devel/boehm-gc
USE_AUTOCONF= yes
USE_LIBTOOL= yes
USE_PERL= yes
USE_PYTHON= yes
USE_QT_VER= 2
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
MAKE_ENV+= RM="${RM} -f"
INSTALLS_SHLIB= yes
post-patch:
@${PERL} -pi -e 's,CFLAGS = -I. -g -O2,CFLAGS = -I. \@CFLAGS\@,' \
${WRKSRC}/Makefile.in
@${PERL} -pi -e 's,^#!/usr/bin/env python,#!${PYTHON_CMD},' \
${WRKSRC}/moc.py
.include <bsd.port.mk>
|