freebsd-ports/lang/mono/Makefile

39 lines
1 KiB
Makefile
Raw Normal View History

2002-07-22 15:41:43 +02:00
# New ports collection makefile for: mono
# Date created: 22 July 2002
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mono
2002-08-03 15:12:47 +02:00
PORTVERSION= 0.13
PORTREVISION= 1
2002-07-22 15:41:43 +02:00
CATEGORIES= lang
MASTER_SITES= http://www.go-mono.com/archive/
MAINTAINER= gnome@FreeBSD.org
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \
gc.1:${PORTSDIR}/devel/boehm-gc
USE_LIBTOOL= yes
USE_AUTOCONF= yes
2002-07-22 15:41:43 +02:00
USE_REINPLACE= yes
2002-07-28 19:12:13 +02:00
USE_BISON= yes
2002-08-03 15:12:47 +02:00
CONFIGURE_ARGS= --program-transform-name=\'\'
2002-07-22 15:41:43 +02:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include " \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
2002-07-22 15:41:43 +02:00
MAN1= mcs.1 mint.1 mono.1 monoburg.1 monodis.1 monostyle.1
2002-08-03 15:12:47 +02:00
MAN5= mono-config.5
2002-07-22 15:41:43 +02:00
pre-patch:
@find ${WRKSRC} -name Makefile.in | xargs ${REINPLACE_CMD} -e \
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
@find ${WRKSRC}/mono -name *.c | xargs ${REINPLACE_CMD} -e \
's|gc/gc.h|'${LOCALBASE}/'include/gc.h|g'
.include <bsd.port.mk>