aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-04-16 22:54:19 +0000
committerClement Laforet <clement@FreeBSD.org>2004-04-16 22:54:19 +0000
commit6f833abd84331b66061cb1b4f4f2574bd06e03d0 (patch)
tree2aa6ff6304d16da6eec7eb0692170c8995d57d31
parent218b91b2d96c85064635b9d4031bb405a85f4393 (diff)
downloadports-6f833abd84331b66061cb1b4f4f2574bd06e03d0.tar.gz
ports-6f833abd84331b66061cb1b4f4f2574bd06e03d0.zip
Notes
-rw-r--r--comms/Makefile1
-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
9 files changed, 109 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index fa5933597551..14443294f584 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -15,6 +15,7 @@
SUBDIR += conserver-com
SUBDIR += ecu
SUBDIR += efax
+ SUBDIR += efax-gtk
SUBDIR += gammu
SUBDIR += garmin-utils
SUBDIR += gfax
diff --git a/comms/efax-gtk/Makefile b/comms/efax-gtk/Makefile
new file mode 100644
index 000000000000..731bdcc9e5fb
--- /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 000000000000..8f718a4f1248
--- /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 000000000000..c49270477f60
--- /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 000000000000..86d620b3980b
--- /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 000000000000..c6e38a77aff9
--- /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 000000000000..f018731b01d1
--- /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 000000000000..3c4fae0d8bec
--- /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 000000000000..971391a0d122
--- /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