[Bsd-sharp-cvs] CVS commit to /cvsroot/bsd-sharp/FreeBSD-ports/devel/mono-tools by killfill

noreply at forge.novell.com noreply at forge.novell.com
Sun May 20 20:18:46 MDT 2007


CVS commit to /cvsroot/bsd-sharp/FreeBSD-ports/devel/mono-tools by killfill

Modified Files:
	Makefile 
Log Message:
Fix runtime gecko-related problem.

Reported by kuarzo in irc.unix.cl #bsd


===================================================================
RCS file: /cvsroot/bsd-sharp/FreeBSD-ports/devel/mono-tools/Makefile,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- /cvsroot/bsd-sharp/FreeBSD-ports/devel/mono-tools/Makefile	2007/05/19 17:34:11	1.25
+++ /cvsroot/bsd-sharp/FreeBSD-ports/devel/mono-tools/Makefile	2007/05/21 02:18:46	1.26
@@ -3,12 +3,12 @@
 # Whom:				Tom McLaughlin <tmclaugh at sdf.lonestar.org>
 #
 # $FreeBSD: ports/devel/mono-tools/Makefile,v 1.8 2007/03/17 03:49:17 tmclaugh Exp $
-#   $Id: Makefile,v 1.25 2007/05/19 17:34:11 killfill Exp $
+#   $Id: Makefile,v 1.26 2007/05/21 02:18:46 killfill Exp $
 #
 
 PORTNAME=	mono-tools
 PORTVERSION=	1.2.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	http://www.go-mono.com/sources/${PORTNAME}/
 
@@ -24,15 +24,21 @@
 USE_GNOME=	gnomehack gnometarget gnomesharp20
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
+USE_GECKO=	firefox mozilla
 CONFIGURE_ARGS=	--mandir=${PREFIX}/man
 
 MAN1=	create-native-map.1
 
-post-extract:
+.include <bsd.port.pre.mk>
+
+post-patch:
 	@${REINPLACE_CMD} -e 's|@bindir@/monodoc|monodoc|g' \
 		${WRKSRC}/docbrowser/monodoc.desktop.in
 	@${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|g' \
 		${WRKSRC}/create-native-map/lib/pkgconfig/Makefile.in
+	@${REINPLACE_CMD} -e "s|%%FBSD_MOZILLA_HOME%%|${PREFIX}/lib/${GECKO}|g" \
+		${WRKSRC}/docbrowser/monodoc.in
 
 .include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
-.include <bsd.port.mk>
+.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
+.include <bsd.port.post.mk>


More information about the Bsd-sharp-cvs mailing list