summaryrefslogtreecommitdiffstats
path: root/comms/gfax
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-07-10 21:46:05 +0000
committermezz <mezz@FreeBSD.org>2005-07-10 21:46:05 +0000
commit45d5c270e2f3ac240e0216455d6d9df9e10e52d7 (patch)
tree0e026fd7c7735ca7a22daa89e2500bd729ccc130 /comms/gfax
parentf43ede84018a25049d6cb5f8c48bb537fac2676e (diff)
downloadFreeBSD-ports-45d5c270e2f3ac240e0216455d6d9df9e10e52d7.zip
FreeBSD-ports-45d5c270e2f3ac240e0216455d6d9df9e10e52d7.tar.gz
- 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
Diffstat (limited to 'comms/gfax')
-rw-r--r--comms/gfax/Makefile11
-rw-r--r--comms/gfax/files/patch-Makefile.in10
-rw-r--r--comms/gfax/files/patch-configure13
-rw-r--r--comms/gfax/pkg-plist5
4 files changed, 33 insertions, 6 deletions
diff --git a/comms/gfax/Makefile b/comms/gfax/Makefile
index 4e774ff..5a8617f 100644
--- a/comms/gfax/Makefile
+++ b/comms/gfax/Makefile
@@ -2,22 +2,25 @@
# Date created: 20 January 2002
# Whom: John Merryweather Cooper <jmcoopr@webmail.bmi.net>
#
+# $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 0000000..08b2640
--- /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 0000000..b9e7f09
--- /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 a038119..96da696 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
OpenPOWER on IntegriCloud