[Bsd-sharp-cvs] CVS commit to
/cvsroot/bsd-sharp/FreeBSD-ports/lang/mono by killfill
noreply at forge.novell.com
noreply at forge.novell.com
Thu Jun 29 19:25:53 MDT 2006
CVS commit to /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono by killfill
Added Files:
Makefile bsd.mono.mk distinfo pkg-descr pkg-message pkg-plist
Log Message:
Add support for nant in the form of "USE_NANT=yes"
===================================================================
RCS file: /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/Makefile,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/Makefile 2006/05/01 17:54:48 1.59
+++ /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/Makefile 2006/06/30 01:25:53 1.60
@@ -2,12 +2,13 @@
# Date created: 22 July 2002
# Whom: Yukihiro Nakai <nakai at FreeBSD.org>
#
-# $FreeBSD: ports/lang/mono/Makefile,v 1.55 2006/02/23 10:37:41 ade Exp $
-# $Id: Makefile,v 1.59 2006/05/01 17:54:48 tmclau02 dead $
+# $FreeBSD: ports/lang/mono/Makefile,v 1.56 2006/04/23 19:57:11 tmclaugh Exp $
+# $Id: Makefile,v 1.60 2006/06/30 01:25:53 killfill Exp $
#
PORTNAME= mono
PORTVERSION= 1.1.13.6
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.go-mono.com/sources/mono-1.1/ \
${MASTER_SITE_LOCAL}
@@ -67,6 +68,10 @@
${WRKSRC}/mono/metadata/assembly.c
@${REINPLACE_CMD} -e 's|.so.0|.so|g' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \
+ s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/mcs/tools/mkbundle/mkbundle.cs
+
.if ${OSVERSION} >= 700000
@${REINPLACE_CMD} -e 's|freebsd6|freebsd7|g' \
${WRKSRC}/configure ${WRKSRC}/libgc/configure
===================================================================
RCS file: /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/bsd.mono.mk,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/bsd.mono.mk 2006/05/01 17:54:48 1.13
+++ /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/bsd.mono.mk 2006/06/30 01:25:53 1.14
@@ -5,17 +5,21 @@
# bsd.mono.mk: accomodate the peculiarities of building C# ports within
# the FreeBSD ports system.
#
-# $FreeBSD: ports/lang/mono/bsd.mono.mk,v 1.3 2006/02/19 06:14:39 tmclaugh Exp $
-# $Id: bsd.mono.mk,v 1.13 2006/05/01 17:54:48 tmclau02 dead $
+# $FreeBSD: ports/lang/mono/bsd.mono.mk,v 1.4 2006/04/23 19:57:11 tmclaugh Exp $
+# $Id: bsd.mono.mk,v 1.14 2006/06/30 01:25:53 killfill Exp $
#
+# USE_NANT - If set, the port uses nant.
+# USE_NANT - If set "contrib", the port uses nantcontrib.
+# NANT - Set to path of Nant.
+
# Set the location of the .wapi directory so we write to a location we
# can always assume to be writable.
MONO_SHARED_DIR=${WRKDIR}
CONFIGURE_ENV+=MONO_SHARED_DIR="${MONO_SHARED_DIR}"
MAKE_ENV+=MONO_SHARED_DIR="${MONO_SHARED_DIR}"
-# Set the location that webaps served bp XSP should use.
+# Set the location that webaps served by XSP should use.
XSP_DOCROOT=${PREFIX}/www/xsp
# Clean up the semaphore produced by the .wapi
@@ -24,3 +28,37 @@
mono-semdel:
@${SETENV} G_DEBUG="" MONO_SHARED_DIR="${MONO_SHARED_DIR}" ${LOCALBASE}/bin/mono-semdel 2> /dev/null || true
+
+
+# Dependencies
+
+.if defined(USE_NANT)
+BUILD_DEPENDS+= nant:${PORTSDIR}/devel/nant
+.if ${USE_NANT}=="contrib"
+BUILD_DEPENDS+= ${LOCALBASE}/share/NAnt/bin/NAnt.Contrib.Tests.dll:${PORTSDIR}/devel/nantcontrib
+.endif
+.endif
+
+# Miscellaneous overridable commands:
+
+NANT?= nant
+NANT_INSTALL_TARGET?= install
+
+# Build
+
+.if !target(do-build)
+do-build:
+.if defined(USE_NANT)
+ @(cd ${BUILD_WRKSRC}; ${SETENV} MONO_SHARED_DIR="${MONO_SHARED_DIR}" ${NANT} ${NANT_FLAGS})
+.endif
+.endif
+
+
+# Install
+
+.if !target(do-install)
+do-install:
+.if defined(USE_NANT)
+ @(cd ${INSTALL_WRKSRC}; ${SETENV} MONO_SHARED_DIR="${MONO_SHARED_DIR}" ${NANT} ${NANT_FLAGS} -D:prefix="${PREFIX}" ${NANT_INSTALL_TARGET})
+.endif
+.endif
===================================================================
RCS file: /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/distinfo,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
===================================================================
RCS file: /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/pkg-descr,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
===================================================================
RCS file: /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/pkg-message,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
===================================================================
RCS file: /cvsroot/bsd-sharp/FreeBSD-ports/lang/mono/pkg-plist,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
More information about the Bsd-sharp-cvs
mailing list