From 37ce70f7897349a93c5c77fee95d58058a013dcc Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Sun, 10 Jul 2005 21:46:05 +0000 Subject: - Update the comment. - Remove the ${BUILD_DEPENDS} in RUN_DEPENDS, because it causes gmake, libtool and few others become as runtime dependency, which they are just need to be in the build dependency. - Correct a typo, gfax.schema -> gfax.schemas. - Fix the installation. - Fix the plist. - Bump the PORTREVISION. BSD# - Project by: http://www.mono-project.com/Mono:FreeBSD --- comms/gfax/Makefile | 11 +++++++---- comms/gfax/files/patch-Makefile.in | 10 ++++++++++ comms/gfax/files/patch-configure | 13 +++++++++++++ comms/gfax/pkg-plist | 5 +++-- 4 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 comms/gfax/files/patch-Makefile.in create mode 100644 comms/gfax/files/patch-configure (limited to 'comms') diff --git a/comms/gfax/Makefile b/comms/gfax/Makefile index 4e774ff7aea3..5a8617f4c2ff 100644 --- a/comms/gfax/Makefile +++ b/comms/gfax/Makefile @@ -2,22 +2,25 @@ # Date created: 20 January 2002 # Whom: John Merryweather Cooper # +# $Id: Makefile,v 1.8 2005/06/15 02:10:28 tmclau02 Exp $ # $FreeBSD$ # PORTNAME= gfax PORTVERSION= 0.7.3 +PORTREVISION= 2 CATEGORIES= comms print gnome MASTER_SITES= http://gfax.cowlug.org/ DISTNAME= ${PORTNAME}-${PORTVERSION}-1 MAINTAINER= bsd-sharp-list@forge.novell.com -COMMENT= A GNOME-2.x C# pop-up fax manager +COMMENT= A Mono based pop-up fax manager BUILD_DEPENDS= ${X11BASE}/lib/mono/gtk-sharp/gtk-sharp.dll:${PORTSDIR}/x11-toolkits/gtk-sharp \ bash:${PORTSDIR}/shells/bash2 -RUN_DEPENDS= ${BUILD_DEPENDS} \ - ${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax +RUN_DEPENDS= ${X11BASE}/lib/mono/gtk-sharp/gtk-sharp.dll:${PORTSDIR}/x11-toolkits/gtk-sharp \ + ${LOCALBASE}/bin/sendfax:${PORTSDIR}/comms/hylafax \ + bash:${PORTSDIR}/shells/bash2 WRKSRC= ${WRKDIR}/${PORTNAME} @@ -28,7 +31,7 @@ USE_REINPLACE= yes USE_GNOME= gnomeprefix gnomehier libgnomeprint STRIP= -GCONF_SCHEMAS=gfax.schema +GCONF_SCHEMAS=gfax.schemas post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ diff --git a/comms/gfax/files/patch-Makefile.in b/comms/gfax/files/patch-Makefile.in new file mode 100644 index 000000000000..08b26400c694 --- /dev/null +++ b/comms/gfax/files/patch-Makefile.in @@ -0,0 +1,10 @@ +--- Makefile.in.orig Mon Feb 28 17:13:10 2005 ++++ Makefile.in Thu Jun 2 22:54:03 2005 +@@ -527,7 +527,6 @@ + @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \ + @GCONF_SCHEMAS_INSTALL_TRUE@ done \ + @GCONF_SCHEMAS_INSTALL_TRUE@ fi +-@GCONF_SCHEMAS_INSTALL_TRUE@ killall -HUP gconfd-2 + @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local: + + gfax: gfax.in config.log diff --git a/comms/gfax/files/patch-configure b/comms/gfax/files/patch-configure new file mode 100644 index 000000000000..b9e7f09875b8 --- /dev/null +++ b/comms/gfax/files/patch-configure @@ -0,0 +1,13 @@ +--- configure.orig Mon Feb 28 17:13:10 2005 ++++ configure Tue Jun 14 21:58:56 2005 +@@ -21024,8 +21024,8 @@ + + # SET THE DIRECTORY PATH FOR GNOME_PRINT_DATA_DIR + if test "x$GNOME_PRINT_DATA_DIR" = "x" ; then +- gpver=`ls ${prefix}/lib/pkgconfig/ | grep libgnomeprint` +- GNOME_PRINT_VERSION=`grep Version: ${prefix}/lib/pkgconfig/${gpver} | cut -f2 -d' '` ++ gpver=`pkg-config --list-all|grep libgnomeprint- | cut -f1 -d' '` ++ GNOME_PRINT_VERSION=`pkg-config --modversion ${gpver}` + GNOME_PRINT_DATA_DIR="${datadir}/libgnomeprint/${GNOME_PRINT_VERSION}" + echo $GNOME_PRINT_DATA_DIR + fi diff --git a/comms/gfax/pkg-plist b/comms/gfax/pkg-plist index a038119423e7..96da6968d085 100644 --- a/comms/gfax/pkg-plist +++ b/comms/gfax/pkg-plist @@ -2,7 +2,8 @@ bin/gfax bin/gfaxlpr lib/gfax/gfax.exe share/gnome/applications/gfax.desktop -share/gnome/libgnomeprint/models/GNOME-GFAX-PS.xml -share/gnome/libgnomeprint/printers/GFAX.xml +share/gnome/libgnomeprint/2.10.3/models/GNOME-GFAX-PS.xml +share/gnome/libgnomeprint/2.10.3/printers/GFAX.xml share/gnome/pixmaps/gfax.png share/gnome/pixmaps/send.png +@dirrm lib/gfax -- cgit v1.2.3