Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2001 23:24:22 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29883: Update textproc/par to 1.53
Message-ID:  <20010820032422.D1493D925@electron.databits.net>

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

>Number:         29883
>Category:       ports
>Synopsis:       Update textproc/par to 1.53
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 19 20:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD entropy.databits.net 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Wed Aug 8 12:51:05 EDT 2001 root@entropy.databits.net:/usr/obj/usr/src/sys/ENTROPY i386

>Description:

- update PORTVERSION to 1.52 (it looks like the distfile was already
  updated to 1.52 without a PORTVERSION bump?!)
- space->tab in MASTER_SITES
- make DISTNAME better
- clean up build process quite a bit (respect CC, CFLAGS)
- make pkg-{comment,descr} better

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/par/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	2001/08/06 20:02:17	1.7
+++ Makefile	2001/08/20 03:21:18
@@ -6,18 +6,17 @@
 #
 
 PORTNAME=	par
-PORTVERSION=	1.51
+PORTVERSION=	1.52
 CATEGORIES=	textproc
-MASTER_SITES=   http://www.cs.berkeley.edu/~amc/Par/
-DISTNAME=	Par152
+MASTER_SITES=	http://www.cs.berkeley.edu/~amc/Par/
+DISTNAME=	Par${PORTVERSION:S/.//}
 
 MAINTAINER=	mark@grondar.za
 
-ALL_TARGET=
-MAN1=		par.1
+MAKEFILE=	protoMakefile
+ALL_TARGET=	par
 
-do-configure:
-	(cd ${WRKSRC}; ${CP} protoMakefile Makefile)
+MAN1=		par.1
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin
Index: pkg-comment
===================================================================
RCS file: /home/ncvs/ports/textproc/par/pkg-comment,v
retrieving revision 1.2
diff -u -r1.2 pkg-comment
--- pkg-comment	1999/01/26 02:03:33	1.2
+++ pkg-comment	2001/08/20 03:16:51
@@ -1 +1 @@
-Paragraph reformatter for email
+Paragraph reformatter similiar to fmt(1)
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/textproc/par/pkg-descr,v
retrieving revision 1.2
diff -u -r1.2 pkg-descr
--- pkg-descr	1999/07/17 13:55:49	1.2
+++ pkg-descr	2001/08/20 03:16:42
@@ -1,22 +1,11 @@
-    Par is similar but superiour to the fmt(1) command included in the
-    base system.
+par is similar but superiour to the fmt(1) command included in the
+base system.
 
-    Par is a filter that copies its input to its output, changing all
-    white characters (except newlines) to spaces, and reformatting
-    each paragraph.  Paragraphs are separated by protected, blank, and
-    bodiless lines (see the Terminology section for definitions), and
-    optionally delimited by indentation (see the d option in the Options
-    section).
-
-    Each output paragraph is generated from the corresponding input
-    paragraph as follows:
-
-     1) An optional prefix and/or suffix is removed from each input line.
-     2) The remainder is divided into words (separated by spaces).
-     3) The words are joined into lines to make an eye-pleasing paragraph.
-     4) The prefixes and suffixes are reattached.
-
-     If there are suffixes, spaces are inserted before them so that they
-     all end in the same column.
+par is a filter that copies its input to its output, changing all
+white characters (except newlines) to spaces, and reformatting
+each paragraph.  Paragraphs are separated by protected, blank, and
+bodiless lines (see the Terminology section for definitions), and
+optionally delimited by indentation (see the d option in the Options
+section).
 
 WWW: http://www.cs.berkeley.edu/~amc/Par/
Index: files/patch-aa
===================================================================
RCS file: /home/ncvs/ports/textproc/par/files/patch-aa,v
retrieving revision 1.1
diff -u -r1.1 patch-aa
--- files/patch-aa	1998/09/22 12:36:38	1.1
+++ files/patch-aa	2001/08/20 03:12:48
@@ -1,11 +1,40 @@
---- protoMakefile.ORIG Sun Jan 21 05:46:02 1996
-+++ protoMakefile      Mon Aug 17 18:56:27 1998
-@@ -47,7 +47,7 @@
+--- protoMakefile.orig	Sun Aug 19 23:11:08 2001
++++ protoMakefile	Sun Aug 19 23:12:38 2001
+@@ -47,7 +47,9 @@
  # Example (for Solaris 2.x with SPARCompiler C):
  # CC = cc -c -O -s -Xc -DDONTFREE
-
+ 
 -CC = cc -c
-+CC = cc -c ${CFLAGS}
-
++CC ?= cc
++
++CFLAGS += -c
+ 
  # Define LINK1 and LINK2 so that the command
  #
+@@ -61,7 +63,7 @@
+ # LINK1 = cc -s
+ # LINK2 = -o
+ 
+-LINK1 = cc
++LINK1 = ${CC}
+ LINK2 = -o
+ 
+ # Define RM so that the command
+@@ -71,7 +73,7 @@
+ # removes the files "foo1", "foo2", and "foo3", and preferably doesn't
+ # complain if they don't exist.
+ 
+-RM = rm -f
++RM = /bin/rm -f
+ 
+ # Define JUNK to be a list of additional files, other than par and
+ # $(OBJS), that you want to be removed by "make clean".
+@@ -93,7 +95,7 @@
+ OBJS = buffer$O charset$O errmsg$O par$O reformat$O
+ 
+ .c$O:
+-	$(CC) $<
++	$(CC) $(CFLAGS) $<
+ 
+ par$E: $(OBJS)
+ 	$(LINK1) $(OBJS) $(LINK2) par$E
>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?20010820032422.D1493D925>