Date: Sat, 6 Mar 2004 16:37:05 +0100 (CET) From: Jean-Baptiste Quenot <jb.quenot@caraldi.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ports@FreeBSD.org Subject: ports/63844: New port: comms/efax-gtk Message-ID: <20040306153705.942D8B6@watt.intra.caraldi.com> Resent-Message-ID: <200403061540.i26FeCCk012413@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63844 >Category: ports >Synopsis: New port: comms/efax-gtk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 06 07:40:12 PST 2004 >Closed-Date: >Last-Modified: >Originator: Jean-Baptiste Quenot >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD watt.intra.caraldi.com 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Tue Oct 14 19:03:28 CEST 2003 jbq@watt.intra.caraldi.com:/usr/obj/usr/src/sys/WATT i386 >Description: GUI front end for the efax fax program >How-To-Repeat: >Fix: # 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: # # . # ./Makefile # ./distinfo # ./files # ./files/patch-config # ./files/patch-rc # ./files/patch-install # ./pkg-plist # ./pkg-descr # ./pkg-message # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: efax-gtk X# Whom: Jean-Baptiste Quenot <jb.quenot@caraldi.com> X# Date Created: 2004-02-29 10:33:43 X# X# ex:ts=20:sw=20 X# X# $FreeBSD$ X# X XPORTNAME= efax-gtk XPORTVERSION= 2.2.5 XCATEGORIES= comms XMASTER_SITES= http://www.cvine.freeserve.co.uk/efax-gtk/ XEXTRACT_SUFX= .src.tgz X XMAINTAINER= jb.quenot@caraldi.com XCOMMENT= GUI front end for the efax fax program X XLIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 XLIB_DEPENDS+= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2 XRUN_DEPENDS= ${X11BASE}/bin/ggv:${PORTSDIR}/print/ggv2 XRUN_DEPENDS+= ${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript-gnu X XUSE_X_PREFIX= YES XGNU_CONFIGURE= YES XMAN1= efax.1 efix.1 efax-gtk.1 X X.include <bsd.port.pre.mk> X Xpost-install: X @${ECHO} X @${ECHO_CMD} "********************************************************************************" X @${CAT} ${PKGMESSAGE} X @${ECHO_CMD} "********************************************************************************" X @${ECHO} X X.include <bsd.port.post.mk> END-of-./Makefile echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (efax-gtk-2.2.5.src.tgz) = 8458a262740d86db11fabbf501e4c3d6 END-of-./distinfo echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-config sed 's/^X//' >./files/patch-config << 'END-of-./files/patch-config' X--- src/config.h.in.orig Sun Feb 29 15:30:29 2004 X+++ src/config.h.in Sun Feb 29 15:30:35 2004 X@@ -80,8 +80,5 @@ X /* Define to `unsigned' if <sys/types.h> does not define. */ X #undef size_t X X-/* Define to `unsigned int' if <sys/types.h> does not define. */ X-#undef socklen_t X- X /* Define to `signed int' if <sys/types.h> does not define. */ X #undef ssize_t END-of-./files/patch-config echo x - ./files/patch-rc sed 's/^X//' >./files/patch-rc << 'END-of-./files/patch-rc' X--- efax-gtkrc.orig Sun Sep 7 12:59:42 2003 X+++ efax-gtkrc Sat Mar 6 14:50:54 2004 X@@ -26,13 +26,13 @@ X # ie state it as `ttyS1' or `cua2', etc. With Linux, ttyS0 equates to X # COM 1, ttyS1 to COM 2, and so on X X-DEVICE: ttyS1 X+DEVICE: cuaa0 X X X # Put the lock file directory here. If none is given or it is X # commented out, the program defaults to /var/lock. X X-LOCK: /var/lock X+LOCK: /var/spool/lock X X X # With efax-0.9 you don't usually need to specify this, as efax will X@@ -128,7 +128,7 @@ X # A4' or '-media Letter' option to select correct paper size. ggv X # and kghosview do this automatically X X-PS_VIEWER: gv X+PS_VIEWER: ggv X X X # This specifies whether a socket server is to be run to receive faxes END-of-./files/patch-rc echo x - ./files/patch-install sed 's/^X//' >./files/patch-install << 'END-of-./files/patch-install' X--- efax-gtk-faxfilter/Makefile.in.orig Thu Feb 5 21:35:06 2004 X+++ efax-gtk-faxfilter/Makefile.in Sun Feb 29 15:48:48 2004 X@@ -441,8 +441,6 @@ X X X install-data-hook: X- chown lp $(spooldir) X- chgrp lp $(spooldir) X # Tell versions [3.59,3.63) of GNU make to not export all variables. X # Otherwise a system limit (for SysV at least) may be exceeded. X .NOEXPORT: END-of-./files/patch-install echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xbin/efax-gtk Xbin/efax-0.9a Xbin/efix-0.9a Xetc/efax-gtkrc Xshare/gnome/apps/Applications/efax-gtk.desktop END-of-./pkg-plist echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XThis program is a Gtk+/Gtkmm front end for the efax program for receiving and Xsending faxes with a fax modem. Any files to be faxed must be in postscript Xformat, which is the generic printer format for Unix/Linux systems. The Xprogram will use ghostscript to convert these into the Group 3 fax format which Xthe fax modem will understand. X XWWW: http://www.cvine.freeserve.co.uk/efax-gtk/ END-of-./pkg-descr echo x - ./pkg-message sed 's/^X//' >./pkg-message << 'END-of-./pkg-message' XBefore sending or receiving faxes, you will need to add users to the 'dialer' Xgroup. X XTo be able to use efax-gtk as a virtual printer, go to the CUPS administration Xinterface and add an entry for socket://localhost:9900/ so that all jobs sent Xwill be queued in efax-gtk and made available for faxing. For proper Xfunctioning, please ensure that efax-gtk is started and is listening for Xconnections. END-of-./pkg-message exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040306153705.942D8B6>