summaryrefslogtreecommitdiffstats
path: root/comms/efax-gtk
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-04-16 22:54:19 +0000
committerclement <clement@FreeBSD.org>2004-04-16 22:54:19 +0000
commit42f82c51acbb7bdfac0a698f25c8103ec4c7eb47 (patch)
treeb31206a30191c0ef6adefb99d8b14af91cf52347 /comms/efax-gtk
parente46cd61f6630b084dfd6db400e81a620d64fc0d4 (diff)
downloadFreeBSD-ports-42f82c51acbb7bdfac0a698f25c8103ec4c7eb47.zip
FreeBSD-ports-42f82c51acbb7bdfac0a698f25c8103ec4c7eb47.tar.gz
Add efax-gtk 2.2.5, GUI front end for the efax fax program.
This program is a Gtk+/Gtkmm front end for the efax program for receiving and sending faxes with a fax modem. Any files to be faxed must be in postscript format, which is the generic printer format for Unix/Linux systems. The program will use ghostscript to convert these into the Group 3 fax format which the fax modem will understand. WWW: http://www.cvine.freeserve.co.uk/efax-gtk/ PR: ports/63844 Submitted by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
Diffstat (limited to 'comms/efax-gtk')
-rw-r--r--comms/efax-gtk/Makefile37
-rw-r--r--comms/efax-gtk/distinfo2
-rw-r--r--comms/efax-gtk/files/patch-config11
-rw-r--r--comms/efax-gtk/files/patch-install11
-rw-r--r--comms/efax-gtk/files/patch-rc27
-rw-r--r--comms/efax-gtk/pkg-descr7
-rw-r--r--comms/efax-gtk/pkg-message8
-rw-r--r--comms/efax-gtk/pkg-plist5
8 files changed, 108 insertions, 0 deletions
diff --git a/comms/efax-gtk/Makefile b/comms/efax-gtk/Makefile
new file mode 100644
index 0000000..731bdcc
--- /dev/null
+++ b/comms/efax-gtk/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: efax-gtk
+# Whom: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
+# Date Created: 2004-02-29 10:33:43
+#
+# ex:ts=20:sw=20
+#
+# $FreeBSD$
+#
+
+PORTNAME= efax-gtk
+PORTVERSION= 2.2.5
+CATEGORIES= comms
+MASTER_SITES= http://www.cvine.freeserve.co.uk/efax-gtk/
+EXTRACT_SUFX= .src.tgz
+
+MAINTAINER= jb.quenot@caraldi.com
+COMMENT= GUI front end for the efax fax program
+
+LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12
+LIB_DEPENDS+= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2
+RUN_DEPENDS= ${X11BASE}/bin/ggv:${PORTSDIR}/print/ggv2
+RUN_DEPENDS+= ${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript-gnu
+
+USE_X_PREFIX= YES
+GNU_CONFIGURE= YES
+MAN1= efax.1 efix.1 efax-gtk.1
+
+.include <bsd.port.pre.mk>
+
+post-install:
+ @${ECHO}
+ @${ECHO_CMD} "********************************************************************************"
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD} "********************************************************************************"
+ @${ECHO}
+
+.include <bsd.port.post.mk>
diff --git a/comms/efax-gtk/distinfo b/comms/efax-gtk/distinfo
new file mode 100644
index 0000000..8f718a4
--- /dev/null
+++ b/comms/efax-gtk/distinfo
@@ -0,0 +1,2 @@
+MD5 (efax-gtk-2.2.5.src.tgz) = 8458a262740d86db11fabbf501e4c3d6
+SIZE (efax-gtk-2.2.5.src.tgz) = 442037
diff --git a/comms/efax-gtk/files/patch-config b/comms/efax-gtk/files/patch-config
new file mode 100644
index 0000000..c492704
--- /dev/null
+++ b/comms/efax-gtk/files/patch-config
@@ -0,0 +1,11 @@
+--- src/config.h.in.orig Sun Feb 29 15:30:29 2004
++++ src/config.h.in Sun Feb 29 15:30:35 2004
+@@ -80,8 +80,5 @@
+ /* Define to `unsigned' if <sys/types.h> does not define. */
+ #undef size_t
+
+-/* Define to `unsigned int' if <sys/types.h> does not define. */
+-#undef socklen_t
+-
+ /* Define to `signed int' if <sys/types.h> does not define. */
+ #undef ssize_t
diff --git a/comms/efax-gtk/files/patch-install b/comms/efax-gtk/files/patch-install
new file mode 100644
index 0000000..86d620b
--- /dev/null
+++ b/comms/efax-gtk/files/patch-install
@@ -0,0 +1,11 @@
+--- efax-gtk-faxfilter/Makefile.in.orig Thu Feb 5 21:35:06 2004
++++ efax-gtk-faxfilter/Makefile.in Sun Feb 29 15:48:48 2004
+@@ -441,8 +441,6 @@
+
+
+ install-data-hook:
+- chown lp $(spooldir)
+- chgrp lp $(spooldir)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/comms/efax-gtk/files/patch-rc b/comms/efax-gtk/files/patch-rc
new file mode 100644
index 0000000..c6e38a7
--- /dev/null
+++ b/comms/efax-gtk/files/patch-rc
@@ -0,0 +1,27 @@
+--- efax-gtkrc.orig Sun Sep 7 12:59:42 2003
++++ efax-gtkrc Sat Mar 6 14:50:54 2004
+@@ -26,13 +26,13 @@
+ # ie state it as `ttyS1' or `cua2', etc. With Linux, ttyS0 equates to
+ # COM 1, ttyS1 to COM 2, and so on
+
+-DEVICE: ttyS1
++DEVICE: cuaa0
+
+
+ # Put the lock file directory here. If none is given or it is
+ # commented out, the program defaults to /var/lock.
+
+-LOCK: /var/lock
++LOCK: /var/spool/lock
+
+
+ # With efax-0.9 you don't usually need to specify this, as efax will
+@@ -128,7 +128,7 @@
+ # A4' or '-media Letter' option to select correct paper size. ggv
+ # and kghosview do this automatically
+
+-PS_VIEWER: gv
++PS_VIEWER: ggv
+
+
+ # This specifies whether a socket server is to be run to receive faxes
diff --git a/comms/efax-gtk/pkg-descr b/comms/efax-gtk/pkg-descr
new file mode 100644
index 0000000..f018731
--- /dev/null
+++ b/comms/efax-gtk/pkg-descr
@@ -0,0 +1,7 @@
+This program is a Gtk+/Gtkmm front end for the efax program for receiving and
+sending faxes with a fax modem. Any files to be faxed must be in postscript
+format, which is the generic printer format for Unix/Linux systems. The
+program will use ghostscript to convert these into the Group 3 fax format which
+the fax modem will understand.
+
+WWW: http://www.cvine.freeserve.co.uk/efax-gtk/
diff --git a/comms/efax-gtk/pkg-message b/comms/efax-gtk/pkg-message
new file mode 100644
index 0000000..3c4fae0
--- /dev/null
+++ b/comms/efax-gtk/pkg-message
@@ -0,0 +1,8 @@
+Before sending or receiving faxes, you will need to add users to the 'dialer'
+group.
+
+To be able to use efax-gtk as a virtual printer, go to the CUPS administration
+interface and add an entry for socket://localhost:9900/ so that all jobs sent
+will be queued in efax-gtk and made available for faxing. For proper
+functioning, please ensure that efax-gtk is started and is listening for
+connections.
diff --git a/comms/efax-gtk/pkg-plist b/comms/efax-gtk/pkg-plist
new file mode 100644
index 0000000..971391a
--- /dev/null
+++ b/comms/efax-gtk/pkg-plist
@@ -0,0 +1,5 @@
+bin/efax-gtk
+bin/efax-0.9a
+bin/efix-0.9a
+etc/efax-gtkrc
+share/gnome/apps/Applications/efax-gtk.desktop
OpenPOWER on IntegriCloud