freebsd-ports/textproc/orchard-c/Makefile
Pete Fritchman 4668be7e4e Add orchard-c-0.5.1, an innovative, lightweight API for event stream and
tree views of XML

PR:		24948
Submitted by:	Sergey Skvortsov <skv@protey.ru>
2001-11-30 04:50:49 +00:00

37 lines
852 B
Makefile

# 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
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= orchard
DISTNAME= Orchard-C-${PORTVERSION}
MAINTAINER= skv@protey.ru
LIB_DEPENDS= expat.2:${PORTSDIR}/textproc/expat2 \
gc:${PORTSDIR}/devel/boehm-gc
USE_AUTOCONF= yes
USE_LIBTOOL= 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>