summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjoerg <joerg>2006-04-12 23:04:21 +0000
committerjoerg <joerg>2006-04-12 23:04:21 +0000
commit286058f7f11d4d2e7936cb3f2ddedbbc94438abc (patch)
treeb1c49a30b258db76b3a06498b47043008c5f2497 /comms
parent959968af272cbc389e666b2ed982175fa93cbbab (diff)
downloadpkgsrc-286058f7f11d4d2e7936cb3f2ddedbbc94438abc.tar.gz
Use config file framework for efax.rc. Bump revision.
Diffstat (limited to 'comms')
-rw-r--r--comms/efax/Makefile5
-rw-r--r--comms/efax/PLIST4
-rw-r--r--comms/efax/distinfo4
-rw-r--r--comms/efax/patches/patch-aa7
4 files changed, 13 insertions, 7 deletions
diff --git a/comms/efax/Makefile b/comms/efax/Makefile
index 149e7868cbd..78cea0d240c 100644
--- a/comms/efax/Makefile
+++ b/comms/efax/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2006/03/14 01:14:27 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2006/04/12 23:04:21 joerg Exp $
DISTNAME= efax-0.9
+PKGREVISION= 1
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/serialcomm/fax/}
@@ -10,6 +11,8 @@ COMMENT= Collection of small programs for sending and receiving faxes
CONFLICTS= kdeutils<3.1
+CONF_FILES+= ${PREFIX}/share/examples/efax/efax.rc ${PKG_SYSCONFDIR}/efax.rc
+
post-patch:
${SED} -e 's:@PREFIX@:${PREFIX}:g; \
s:@LOCALBASE@:${LOCALBASE}:g; \
diff --git a/comms/efax/PLIST b/comms/efax/PLIST
index 9e0f396df21..1c10a91d018 100644
--- a/comms/efax/PLIST
+++ b/comms/efax/PLIST
@@ -1,7 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 20:44:00 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/04/12 23:04:21 joerg Exp $
bin/efax
bin/efix
bin/fax
man/man1/efax.1
man/man1/efix.1
man/man1/fax.1
+share/examples/efax/efax.rc
+@dirrm share/examples/efax
diff --git a/comms/efax/distinfo b/comms/efax/distinfo
index 4f8b2976d0e..b7d274e424f 100644
--- a/comms/efax/distinfo
+++ b/comms/efax/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 16:05:29 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/04/12 23:04:21 joerg Exp $
SHA1 (efax-0.9.tar.gz) = 8965407996737e6ec2c8a198ba34811f5134b5d1
RMD160 (efax-0.9.tar.gz) = 471112ab87cfcf11521a5ea7c0cb203a44e958c3
Size (efax-0.9.tar.gz) = 96736 bytes
-SHA1 (patch-aa) = 902bb87c90179d599fe4fa1bf96d052432a0fb46
+SHA1 (patch-aa) = 7ff3a7918b2f844ec230e178d006c16f9fb487ad
SHA1 (patch-ab) = ea5a18f3558f28b71085a6dd2e13ddc5e17f5f26
SHA1 (patch-ac) = afe6aaafe504f41c13a644aae4eb9c7584466db6
diff --git a/comms/efax/patches/patch-aa b/comms/efax/patches/patch-aa
index d5913a2f0e9..a1b45ff7ef3 100644
--- a/comms/efax/patches/patch-aa
+++ b/comms/efax/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/05/21 22:27:00 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2006/04/12 23:04:21 joerg Exp $
--- Makefile.orig Fri Mar 12 01:00:34 1999
+++ Makefile
-@@ -3,37 +3,35 @@
+@@ -3,37 +3,36 @@
# Change the following to the name of your ANSI C compiler
# (normally gcc).
@@ -45,7 +45,8 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/05/21 22:27:00 jtb Exp $
- cp fax.1 efax.1 efix.1 $(MANDIR)/man1
+ $(BSD_INSTALL_PROGRAM) efax efix $(BINDIR)
+ $(BSD_INSTALL_SCRIPT) fax $(BINDIR)
-+ $(BSD_INSTALL_DATA) efax.rc $(CONFDIR)
++ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/examples/efax
++ $(BSD_INSTALL_DATA) efax.rc $(PREFIX)/share/examples/efax
+ $(BSD_INSTALL_MAN) fax.1 efax.1 efix.1 $(MANDIR)/man1
clean: