Date: Tue, 2 Aug 2005 21:27:00 -0400 From: "Tom McLaughlin" <tmclaugh@sdf.lonestar.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: krion@freebsd.org.mezz, @FreeBSD.org Subject: ports/84502: [New Port] mail/gmime2-sharp, slave to mail/gmime2 Message-ID: <1123032420.0@compass.straycat.dhs.org> Resent-Message-ID: <200508030130.j731UIY6012466@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84502 >Category: ports >Synopsis: [New Port] mail/gmime2-sharp, slave to mail/gmime2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Aug 03 01:30:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Tom McLaughlin >Release: FreeBSD 5.4-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD 5.4-RELEASE-p4 #0: Wed Jul 13 20:02:53 EDT 2005 root@:/usr/obj/usr/src/sys/COMPASS >Description: Attached shar file conatins mail/gmime2-sharp, a slave port to mail/gmime2. This port includes the C# bindings to use gmime2 with Mono. Also attached is a patch to gmime2 to allow a slave port and correct an issue where gmime2 was building C# bindings if Mono was installed. The gmime2 port maintainer is CCed on this PR. >How-To-Repeat: >Fix: --- gmime2-sharp.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gmime2-sharp # gmime2-sharp/Makefile # gmime2-sharp/pkg-descr # gmime2-sharp/pkg-plist # echo c - gmime2-sharp mkdir -p gmime2-sharp > /dev/null 2>&1 echo x - gmime2-sharp/Makefile sed 's/^X//' >gmime2-sharp/Makefile << 'END-of-gmime2-sharp/Makefile' X# New ports collection makefile for: gmime2-sharp X# Date Created: 20050513 X# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org> X# X# $Id: Makefile,v 1.6 2005/06/17 05:07:20 mezz7 Exp $ X# $FreeBSD$ X# X XPORTREVISION= 0 XCATEGORIES= mail XPKGNAMESUFFIX= -sharp X XMAINTAINER= bsd-sharp-list@forge.novell.com XCOMMENT= Mono bindings for gmime X XLIB_DEPENDS= gmime-2.0.3:${PORTSDIR}/mail/gmime2 XBUILD_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp XRUN_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp X XMASTERDIR= ${.CURDIR}/../gmime2 XBUILD_WRKSRC= ${WRKSRC}/mono XINSTALL_WRKSRC= ${BUILD_WRKSRC} XDESCR= ${.CURDIR}/pkg-descr XPLIST= ${.CURDIR}/pkg-plist X XUSE_GNOME= gnomehack gnometarget glib20 XUSE_REINPLACE= yes XCONFIGURE_ARGS= --enable-mono=yes X X# Else we conflict with mail/gmime2 XNOPORTDOCS= yes X Xpost-patch: X @${REINPLACE_CMD} -e 's|.@GMIME_VERSION@||g' \ X ${WRKSRC}/mono/gmime-sharp.dll.config.in X @${REINPLACE_CMD} -e 's|libglib-2.0.so.0|libglib-2.0.so|g' \ X ${WRKSRC}/mono/ObjectStream.cs ${WRKSRC}/mono/Object.custom X X.include "${MASTERDIR}/Makefile" END-of-gmime2-sharp/Makefile echo x - gmime2-sharp/pkg-descr sed 's/^X//' >gmime2-sharp/pkg-descr << 'END-of-gmime2-sharp/pkg-descr' XC# assemblies for gmime X XWWW: http://spruce.sourceforge.net/gmime/ END-of-gmime2-sharp/pkg-descr echo x - gmime2-sharp/pkg-plist sed 's/^X//' >gmime2-sharp/pkg-plist << 'END-of-gmime2-sharp/pkg-plist' Xlib/mono/gac/gmime-sharp/1.0.0.0__677013d4cb5910f0/gmime-sharp.dll Xlib/mono/gac/gmime-sharp/1.0.0.0__677013d4cb5910f0/gmime-sharp.dll.config Xlib/mono/gmime-sharp/gmime-sharp.dll Xlibdata/pkgconfig/gmime-sharp.pc Xshare/gapi/gmime-api.xml X@dirrm lib/mono/gmime-sharp X@dirrm lib/mono/gac/gmime-sharp/1.0.0.0__677013d4cb5910f0 X@dirrm lib/mono/gac/gmime-sharp END-of-gmime2-sharp/pkg-plist exit --- gmime2-sharp.shar ends here --- --- gmime2_gmime2-sharp_slave_port.diff begins here --- diff -Nur gmime2.orig/CVS/Entries gmime2/CVS/Entries --- gmime2.orig/CVS/Entries Wed Dec 31 19:00:00 1969 +++ gmime2/CVS/Entries Sat Jun 25 00:19:56 2005 @@ -0,0 +1,5 @@ +/pkg-descr/1.1/Fri May 13 05:00:48 2005// +/pkg-plist/1.1/Fri May 13 05:00:48 2005// +D/files//// +/distinfo/1.2/Tue Jun 21 00:28:06 2005// +/Makefile/1.3/Sat Jun 25 04:19:56 2005// diff -Nur gmime2.orig/CVS/Repository gmime2/CVS/Repository --- gmime2.orig/CVS/Repository Wed Dec 31 19:00:00 1969 +++ gmime2/CVS/Repository Mon Jun 6 20:37:34 2005 @@ -0,0 +1 @@ +FreeBSD-ports/mail/gmime2 diff -Nur gmime2.orig/CVS/Root gmime2/CVS/Root --- gmime2.orig/CVS/Root Wed Dec 31 19:00:00 1969 +++ gmime2/CVS/Root Mon Jun 6 20:37:34 2005 @@ -0,0 +1 @@ +:ext:tmclau02@forgecvs1.novell.com:/cvsroot/bsd-sharp diff -Nur gmime2.orig/Makefile gmime2/Makefile --- gmime2.orig/Makefile Thu Jun 16 09:43:18 2005 +++ gmime2/Makefile Sat Jun 25 00:19:56 2005 @@ -7,11 +7,11 @@ PORTNAME= gmime PORTVERSION= 2.1.15 -CATEGORIES= mail +CATEGORIES?= mail MASTER_SITES= http://spruce.sourceforge.net/gmime/sources/v2.1/ -MAINTAINER= krion@FreeBSD.org -COMMENT= Library (written in C) for parsing and creating messages using MIME +MAINTAINER?= krion@FreeBSD.org +COMMENT?= Library (written in C) for parsing and creating messages using MIME CONFLICTS= gmime-1.0.* @@ -19,8 +19,9 @@ USE_GMAKE= yes USE_GNOME= gnomehack gnometarget glib20 USE_LIBTOOL_VER=15 -CONFIGURE_ARGS+= --with-libiconv=${LOCALBASE} \ - --with-html-dir=${PREFIX}/share/doc +CONFIGURE_ARGS?= --with-libiconv=${LOCALBASE} \ + --with-html-dir=${PREFIX}/share/doc \ + --enable-mono=no CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib" INSTALLS_SHLIB= yes diff -Nur gmime2.orig/files/CVS/Entries gmime2/files/CVS/Entries --- gmime2.orig/files/CVS/Entries Wed Dec 31 19:00:00 1969 +++ gmime2/files/CVS/Entries Mon Jun 6 20:37:34 2005 @@ -0,0 +1,5 @@ +/patch-docs_Makefile.in/1.1/Fri May 13 05:00:49 2005// +/patch-gmime_gmime-gpg-context.c/1.1/Fri May 13 05:00:49 2005// +/patch-mono::Makefile.in/1.1/Fri May 13 05:00:49 2005// +/patch-reference-Makefile.in/1.1/Fri May 13 05:00:49 2005// +D diff -Nur gmime2.orig/files/CVS/Repository gmime2/files/CVS/Repository --- gmime2.orig/files/CVS/Repository Wed Dec 31 19:00:00 1969 +++ gmime2/files/CVS/Repository Mon Jun 6 20:37:34 2005 @@ -0,0 +1 @@ +FreeBSD-ports/mail/gmime2/files diff -Nur gmime2.orig/files/CVS/Root gmime2/files/CVS/Root --- gmime2.orig/files/CVS/Root Wed Dec 31 19:00:00 1969 +++ gmime2/files/CVS/Root Mon Jun 6 20:37:34 2005 @@ -0,0 +1 @@ +:ext:tmclau02@forgecvs1.novell.com:/cvsroot/bsd-sharp diff -Nur gmime2.orig/files/patch-docs_Makefile.in gmime2/files/patch-docs_Makefile.in --- gmime2.orig/files/patch-docs_Makefile.in Wed Dec 31 19:00:00 1969 +++ gmime2/files/patch-docs_Makefile.in Fri May 13 01:00:49 2005 @@ -0,0 +1,14 @@ + +$FreeBSD: ports/mail/gmime2/files/patch-docs_Makefile.in,v 1.2 2005/01/16 16:21:55 krion Exp $ + +--- docs/Makefile.in.orig ++++ docs/Makefile.in +@@ -178,7 +178,7 @@ + sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ +-SUBDIRS = reference tutorial ++SUBDIRS = + EXTRA_DIST = \ + gmime-config.txt \ + gtkdocs_fix diff -Nur gmime2.orig/files/patch-mono::Makefile.in gmime2/files/patch-mono::Makefile.in --- gmime2.orig/files/patch-mono::Makefile.in Wed Dec 31 19:00:00 1969 +++ gmime2/files/patch-mono::Makefile.in Fri May 13 01:00:49 2005 @@ -0,0 +1,18 @@ +--- mono/Makefile.in.orig Fri May 13 00:27:29 2005 ++++ mono/Makefile.in Fri May 13 00:34:12 2005 +@@ -451,11 +451,11 @@ + install-data-local: + @if test -n '$(TARGET)'; then \ + if test -n '$(DESTDIR)'; then \ +- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /root $(DESTDIR)$(libdir)"; \ +- $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /root $(DESTDIR)$(libdir) || exit 1; \ ++ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"; \ ++ $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir) || exit 1; \ + else \ +- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(libdir)"; \ +- $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(libdir) || exit 1; \ ++ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(libdir)" /root $(libdir); \ ++ $(GACUTIL) /i $(ASSEMBLY) /f /package $(PACKAGE_SHARP) /gacdir $(libdir) /root $(libdir) || exit 1; \ + fi; \ + fi + diff -Nur gmime2.orig/files/patch-reference-Makefile.in gmime2/files/patch-reference-Makefile.in --- gmime2.orig/files/patch-reference-Makefile.in Wed Dec 31 19:00:00 1969 +++ gmime2/files/patch-reference-Makefile.in Fri May 13 01:00:49 2005 @@ -0,0 +1,14 @@ + +$FreeBSD: ports/mail/gmime2/files/patch-reference-Makefile.in,v 1.3 2005/01/30 21:03:30 krion Exp $ + +--- docs/reference/Makefile.in.orig ++++ docs/reference/Makefile.in +@@ -107,7 +107,7 @@ + GTK_SHARP_LIBS = @GTK_SHARP_LIBS@ + HAVE_REGEX_FALSE = @HAVE_REGEX_FALSE@ + HAVE_REGEX_TRUE = @HAVE_REGEX_TRUE@ +-HTML_DIR = $(datadir)/gtk-doc/html ++HTML_DIR = @HTML_DIR@ + INSTALL_DATA = @INSTALL_DATA@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ --- gmime2_gmime2-sharp_slave_port.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1123032420.0>