diff options
author | jtb <jtb> | 2002-05-04 02:03:26 +0000 |
---|---|---|
committer | jtb <jtb> | 2002-05-04 02:03:26 +0000 |
commit | 2d975c0d6d026b1ed2364e6b87c27b2bc383b32c (patch) | |
tree | eb257745afb740562fc39482ec2b9f7202a65927 /comms/efax-gtk | |
parent | ecd4eb9402339c1af40ce45d39287ba0522859e2 (diff) | |
download | pkgsrc-2d975c0d6d026b1ed2364e6b87c27b2bc383b32c.tar.gz |
Initial import of efax-gtk.
This program is a Gtk+/Gtk-- front end for the efax program for
receiving and sending faxes with a fax modem. To use it you must have
efax and ghostscript installed, and the executables (efax, efix and
gs) must be situated in the default system path.
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.
Diffstat (limited to 'comms/efax-gtk')
-rw-r--r-- | comms/efax-gtk/DESCR | 9 | ||||
-rw-r--r-- | comms/efax-gtk/Makefile | 30 | ||||
-rw-r--r-- | comms/efax-gtk/PLIST | 5 | ||||
-rw-r--r-- | comms/efax-gtk/distinfo | 7 | ||||
-rw-r--r-- | comms/efax-gtk/patches/patch-aa | 28 | ||||
-rw-r--r-- | comms/efax-gtk/patches/patch-ab | 22 | ||||
-rw-r--r-- | comms/efax-gtk/patches/patch-ac | 19 |
7 files changed, 120 insertions, 0 deletions
diff --git a/comms/efax-gtk/DESCR b/comms/efax-gtk/DESCR new file mode 100644 index 00000000000..6f6d255cf99 --- /dev/null +++ b/comms/efax-gtk/DESCR @@ -0,0 +1,9 @@ +This program is a Gtk+/Gtk-- front end for the efax program for +receiving and sending faxes with a fax modem. To use it you must have +efax and ghostscript installed, and the executables (efax, efix and +gs) must be situated in the default system path. + +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. diff --git a/comms/efax-gtk/Makefile b/comms/efax-gtk/Makefile new file mode 100644 index 00000000000..fde11d5d538 --- /dev/null +++ b/comms/efax-gtk/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $ + +DISTNAME= efax-gtk-1.0.1b.src +PKGNAME= efax-gtk-1.0.1b +CATEGORIES= comms +MASTER_SITES= http://www.cvine.freeserve.co.uk/efax-gtk/ +EXTRACT_SUFX= .tgz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.cvine.freeserve.co.uk/efax-gtk/ +COMMENT= GTK frontend for efax + +DEPENDS+= efax>=0.9:../../comms/efax + +WRKSRC= ${WRKDIR}/efax-gtk +GNU_CONFIGURE= YES +USE_BUILDLINK_ONLY= YES + +CONFIGURE_ARGS+= --with-spooldir=/var/spool/efax +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +ALL_TARGET= efax-gtk + +post-extract: + ${GZIP_CMD} -d ${WRKSRC}/efax-gtk.1.gz + +.include "../../devel/libsigc++/buildlink.mk" +.include "../../x11/gtk/buildlink.mk" +.include "../../x11/gtk--/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/comms/efax-gtk/PLIST b/comms/efax-gtk/PLIST new file mode 100644 index 00000000000..0076042a5c2 --- /dev/null +++ b/comms/efax-gtk/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $ +bin/efax-gtk +bin/efax-gtk-send +etc/efax-gtkrc +man/man1/efax-gtk.1 diff --git a/comms/efax-gtk/distinfo b/comms/efax-gtk/distinfo new file mode 100644 index 00000000000..74affd81b05 --- /dev/null +++ b/comms/efax-gtk/distinfo @@ -0,0 +1,7 @@ + + +SHA1 (efax-gtk-1.0.1b.src.tgz) = 74b92928239ec810ae1691205c96dd179f059e87 +Size (efax-gtk-1.0.1b.src.tgz) = 110544 bytes +SHA1 (patch-aa) = cf6c9b20ab2df8e4da2879cec0a8aa12f761b0d6 +SHA1 (patch-ab) = 232bac2963f19af5ffabcb49b563bddbc15817de +SHA1 (patch-ac) = e07623eeb3ceb98856667d7778a8f8914cc7db60 diff --git a/comms/efax-gtk/patches/patch-aa b/comms/efax-gtk/patches/patch-aa new file mode 100644 index 00000000000..b687c5216ef --- /dev/null +++ b/comms/efax-gtk/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $ + +--- Makefile.presets.orig Sun Jan 13 22:11:27 2002 ++++ Makefile.presets Thu Apr 25 16:16:16 2002 +@@ -40,18 +40,11 @@ + $(CC) $(CXXFLAGS) $(COMPILE_OPTION) $(OUTPUT_OPTION) + + install: efax-gtk +- $(INSTALL) -d $(BINDIR) +- $(INSTALL) -d $(RCDIR) +- $(INSTALL) -d $(MANDIR)/man1 +- $(INSTALL) -m644 -oroot -groot efax-gtk efax-gtk-send $(BINDIR)/ +- chmod +x $(BINDIR)/efax-gtk +- chmod +x $(BINDIR)/efax-gtk-send +- $(INSTALL) -m644 -oroot -groot efax-gtkrc $(RCDIR)/ +- $(INSTALL) -m644 -oroot -groot efax-gtk.1.gz $(MANDIR)/man1/ +- $(INSTALL) -d $(SPOOLDIR) +- chgrp lp $(SPOOLDIR) +- $(INSTALL) -m644 -oroot -groot efax-gtk-faxfilter $(SPOOLDIR)/ +- chmod +x $(SPOOLDIR)/efax-gtk-faxfilter ++ $(BSD_INSTALL_PROGRAM) efax-gtk $(BINDIR)/ ++ $(BSD_INSTALL_SCRIPT) efax-gtk-send $(BINDIR)/ ++ $(BSD_INSTALL_DATA) efax-gtkrc $(RCDIR)/ ++ $(BSD_INSTALL_MAN) efax-gtk.1 $(MANDIR)/man1/ ++ $(BSD_INSTALL_SCRIPT) efax-gtk-faxfilter $(SPOOLDIR)/ + + clean: + rm -f *.o diff --git a/comms/efax-gtk/patches/patch-ab b/comms/efax-gtk/patches/patch-ab new file mode 100644 index 00000000000..32920fcac27 --- /dev/null +++ b/comms/efax-gtk/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $ + +--- main.cpp.orig Thu Apr 25 16:28:51 2002 ++++ main.cpp Thu Apr 25 16:32:49 2002 +@@ -106,7 +106,7 @@ + + if (!prog_config.found_rcfile) { + +- rcfile = "/usr/local/etc/"; ++ rcfile = "@RCDIR@"; + rcfile += RC_FILE; + + #ifdef HAVE_IOS_NOCREATE +@@ -140,7 +140,7 @@ + + if (!prog_config.found_rcfile) { + return_val = "Can't find or open file /etc/" RC_FILE ",\n" +- "/usr/local/etc/" RC_FILE; ++ "@RCDIR@/" RC_FILE; + if (!prog_config.homedir.empty()) { + return_val += " or "; + return_val += prog_config.homedir + "/." RC_FILE; diff --git a/comms/efax-gtk/patches/patch-ac b/comms/efax-gtk/patches/patch-ac new file mode 100644 index 00000000000..a2d74e24309 --- /dev/null +++ b/comms/efax-gtk/patches/patch-ac @@ -0,0 +1,19 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/05/04 02:03:26 jtb Exp $ + +--- settings.cpp.orig Thu Apr 25 16:28:58 2002 ++++ settings.cpp Thu Apr 25 16:32:32 2002 +@@ -1041,12 +1041,12 @@ + string message; + if (search_localfile) { + message = "Can't find or open file /etc/" RC_FILE ",\n" +- "/usr/local/etc/" RC_FILE " or "; ++ "@RCDIR@/" RC_FILE " or "; + message += prog_config.homedir + "/." RC_FILE "\n"; + } + else { + message = "Can't find or open file /etc/" RC_FILE "\n" +- "or /usr/local/etc/" RC_FILE; ++ "or @RCDIR@/" RC_FILE; + message += prog_config.homedir + "/." RC_FILE "\n"; + } + write_error(message.c_str()); |