Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jun 2002 06:17:17 -0700
From:      <igla@batterybackups.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39026: [maintainer update] fix version and remove unnecessary perl dependency from comms/acfax
Message-ID:  <E17Gg5l-0001HK-00@ArkRoyal.batterybackups.net>

next in thread | raw e-mail | index | archive | help

>Number:         39026
>Category:       ports
>Synopsis:       [maintainer update] fix version and remove unnecessary perl dependency from comms/acfax
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 08 06:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 4.6-RC i386
>Organization:
>Environment:
System: FreeBSD ArkRoyal.batterybackups.net 4.6-RC FreeBSD 4.6-RC #0: Sun May 19 11:19:53 PDT 2002 darren@ArkRoyal.batterybackups.net:/usr/obj/usr/src/sys/ArkRoyal i386


>Description:

fix version and remove unnecessary perl dependency from comms/acfax

>How-To-Repeat:
>Fix:

diff available at
http://ww.batterybackups.net/freebsd/acfax.diff



diff -ruN acfax.old/Makefile acfax/Makefile
--- acfax.old/Makefile	Sat Jun  8 05:30:04 2002
+++ acfax/Makefile	Sat Jun  8 05:49:41 2002
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	acfax
-PORTVERSION=	0.981011
+PORTVERSION=	981011
 CATEGORIES=	comms
 MASTER_SITES=	ftp://ftp.funet.fi/pub/ham/unix/Linux/misc/
-DISTNAME=	${PORTNAME}-${PORTVERSION:S/^0.//}
+DISTNAME=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	igla@batterybackups.net
 
@@ -19,14 +19,7 @@
 WRKSRC=		${WRKDIR}/acfax
 USE_IMAKE=	yes
 
-post-patch:
-	@${PERL} -pi -e 's|setup_fax\(120, 288|setup_fax(120, 576|' \
-		${WRKSRC}/acfax.c
-	@${PERL} -pi -e 's|ixoc = 288|ixoc = 576|' ${WRKSRC}/fax_funcs.c
-	@${PERL} -pi -e 's|regex.h|gnuregex.h|' ${WRKSRC}/RegExp.h
-	@${PERL} -pi -e 's|-lm|-lm -lgnuregex|' ${WRKSRC}/Imakefile
-
-post-configure:
+post-extract:
 		${TOUCH} ${WRKSRC}/acfax.man
 
 do-install:
diff -ruN acfax.old/files/patch-Imakefile acfax/files/patch-Imakefile
--- acfax.old/files/patch-Imakefile	Wed Dec 31 16:00:00 1969
+++ acfax/files/patch-Imakefile	Sat Jun  8 05:32:59 2002
@@ -0,0 +1,11 @@
+--- Imakefile.old	Sat Jun  8 05:32:15 2002
++++ Imakefile	Sat Jun  8 05:32:35 2002
+@@ -42,7 +42,7 @@
+ 		FChooser.o Directory.o DirMgr.o RegExp.o
+ 
+        INCLUDES = -I.
+-LOCAL_LIBRARIES = -lXaw3d $(XMULIB) $(XTOOLLIB) $(XLIB) -lm
++LOCAL_LIBRARIES = -lXaw3d $(XMULIB) $(XTOOLLIB) $(XLIB) -lm -lgnuregex
+   SYS_LIBRARIES =
+ 
+ all:: acfax
diff -ruN acfax.old/files/patch-RegExp.h acfax/files/patch-RegExp.h
--- acfax.old/files/patch-RegExp.h	Wed Dec 31 16:00:00 1969
+++ acfax/files/patch-RegExp.h	Sat Jun  8 05:43:58 2002
@@ -0,0 +1,11 @@
+--- RegExp.h.old	Sat Jun  8 05:43:28 2002
++++ RegExp.h	Sat Jun  8 05:43:35 2002
+@@ -26,7 +26,7 @@
+ #define	_REGEXP_H_
+ 
+ #include <stdio.h>
+-#include <regex.h>
++#include <gnuregex.h>
+ 
+ #if (!NeedFunctionPrototypes)
+ 
diff -ruN acfax.old/files/patch-acfax.c acfax/files/patch-acfax.c
--- acfax.old/files/patch-acfax.c	Wed Dec 31 16:00:00 1969
+++ acfax/files/patch-acfax.c	Sat Jun  8 05:46:51 2002
@@ -0,0 +1,11 @@
+--- acfax.c.old	Sat Jun  8 05:46:19 2002
++++ acfax.c	Sat Jun  8 05:46:31 2002
+@@ -822,7 +822,7 @@
+ /*
+   comp_val = max_val >> 1;
+   aptncmax = smpl_sec / 100;
+-  ixoc = 576;
++  ixoc = 288;
+   aptstart = 300;
+   aptstop = 450;
+   bot2top = 0;

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17Gg5l-0001HK-00>