aboutsummaryrefslogtreecommitdiff
path: root/devel/mono-tools
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2007-10-23 03:22:49 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2007-10-23 03:22:49 +0000
commit1caaed7cd4605adb05255f1e4d41c998e7c2f788 (patch)
tree4f3f6e208de626680b232ac77aa77f22da353f62 /devel/mono-tools
parenta4a84c38130095c32e9667793416ac46faedba0a (diff)
downloadports-1caaed7cd4605adb05255f1e4d41c998e7c2f788.tar.gz
ports-1caaed7cd4605adb05255f1e4d41c998e7c2f788.zip
Notes
Diffstat (limited to 'devel/mono-tools')
-rw-r--r--devel/mono-tools/Makefile20
-rw-r--r--devel/mono-tools/distinfo6
-rw-r--r--devel/mono-tools/files/patch-docbrowser_monodoc.in16
-rw-r--r--devel/mono-tools/pkg-plist5
4 files changed, 32 insertions, 15 deletions
diff --git a/devel/mono-tools/Makefile b/devel/mono-tools/Makefile
index bf68ff1d0a8e..23456197af11 100644
--- a/devel/mono-tools/Makefile
+++ b/devel/mono-tools/Makefile
@@ -3,14 +3,14 @@
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
-# $Id: Makefile,v 1.21 2007/02/07 15:46:06 killfill Exp $
+# $Id: Makefile,v 1.26 2007/05/21 02:18:46 killfill Exp $
#
PORTNAME= mono-tools
-PORTVERSION= 1.2.3
-PORTREVISION= 1
+PORTVERSION= 1.2.4
+PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= http://www.go-mono.com/sources/${PORTNAME}/
+MASTER_SITES= http://go-mono.com/sources/${PORTNAME}/
MAINTAINER= bsd-sharp-list@forge.novell.com
COMMENT= Documentation browser for Mono and Mono libraries
@@ -20,17 +20,25 @@ BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20 \
monodocer:${PORTSDIR}/devel/monodoc
+USE_BZIP2= yes
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>
diff --git a/devel/mono-tools/distinfo b/devel/mono-tools/distinfo
index e4877c431afc..537a6fee8565 100644
--- a/devel/mono-tools/distinfo
+++ b/devel/mono-tools/distinfo
@@ -1,3 +1,3 @@
-MD5 (mono-tools-1.2.3.tar.gz) = c52378128076b57ee8718ddb16725336
-SHA256 (mono-tools-1.2.3.tar.gz) = f30cceb40fe60c1e703dc193e3ac834b12b8e73e87a2be01696d9d41cb40476a
-SIZE (mono-tools-1.2.3.tar.gz) = 282287
+MD5 (mono-tools-1.2.4.tar.bz2) = 7d193fea94123a3f30f67bca2873c791
+SHA256 (mono-tools-1.2.4.tar.bz2) = 9246dad467d4d66f1d8e54d55051ba5e7e788efb8f070ca96d4407c5d9f961dd
+SIZE (mono-tools-1.2.4.tar.bz2) = 301009
diff --git a/devel/mono-tools/files/patch-docbrowser_monodoc.in b/devel/mono-tools/files/patch-docbrowser_monodoc.in
index cf5fcd085f54..17451cab6c52 100644
--- a/devel/mono-tools/files/patch-docbrowser_monodoc.in
+++ b/devel/mono-tools/files/patch-docbrowser_monodoc.in
@@ -1,8 +1,12 @@
---- docbrowser/monodoc.in.orig Thu Oct 27 15:17:41 2005
-+++ docbrowser/monodoc.in Tue Jan 17 03:25:50 2006
-@@ -80,4 +80,4 @@
+--- docbrowser/monodoc.in.orig Sun May 20 22:04:23 2007
++++ docbrowser/monodoc.in Sun May 20 22:05:10 2007
+@@ -85,6 +85,9 @@
+ MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)
+ elif [ $(which firefox 2> /dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then
+ MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut -d '"' -f 2)
++else
++ MOZILLA_HOME=%%FBSD_MOZILLA_HOME%%
++ MOZILLA_FIVE_HOME=$MOZILLA_HOME
fi
-
--exec @RUNTIME@ $monodocdir/browser.exe $OPTIONS "$@" $REST
-+exec @RUNTIME@ $monodocdir/browser.exe --no-gecko $OPTIONS "$@" $REST
+ if [ -n $LD_LIBRARY_PATH ]; then
diff --git a/devel/mono-tools/pkg-plist b/devel/mono-tools/pkg-plist
index aee796c178ee..3e8c0e662bb4 100644
--- a/devel/mono-tools/pkg-plist
+++ b/devel/mono-tools/pkg-plist
@@ -2,9 +2,11 @@ bin/create-native-map
bin/gasnview
bin/gnunit
bin/gnunit2
+bin/ilcontrast
bin/monodoc
lib/create-native-map/MapAttribute.cs
lib/create-native-map/create-native-map.exe
+lib/ilcontrast/ilcontrast.exe
lib/mono/1.0/gasnview.exe
lib/mono/1.0/gnunit.exe
lib/mono/2.0/gnunit2.exe
@@ -12,8 +14,11 @@ lib/monodoc/GeckoHtmlRender.dll
lib/monodoc/GtkHtmlHtmlRender.dll
lib/monodoc/browser.exe
libdata/pkgconfig/create-native-map.pc
+share/applications/ilcontrast.desktop
share/applications/monodoc.desktop
+share/pixmaps/ilcontrast.png
share/pixmaps/monodoc.png
@dirrmtry share/applications
+@dirrmtry lib/ilcontrast
@dirrmtry lib/monodoc
@dirrm lib/create-native-map