From owner-freebsd-ports Wed Nov 10 21: 0:11 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4E2AC1541B for ; Wed, 10 Nov 1999 21:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA79070; Wed, 10 Nov 1999 21:00:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from weeble.dyndns.org (ubppp233-151.dialin.buffalo.edu [128.205.233.151]) by hub.freebsd.org (Postfix) with ESMTP id 1272714DBA for ; Wed, 10 Nov 1999 20:51:00 -0800 (PST) (envelope-from cjm2@weeble.DynDns.ORG) Received: (from root@localhost) by weeble.dyndns.org (8.9.3/8.9.3) id XAA31188; Wed, 10 Nov 1999 23:51:05 -0500 (EST) (envelope-from cjm2) Message-Id: <199911110451.XAA31188@weeble.dyndns.org> Date: Wed, 10 Nov 1999 23:51:05 -0500 (EST) From: cjm2@altavista.net Reply-To: cjm2@altavista.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/14815: New Port: nenscript-1.13.3 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14815 >Category: ports >Synopsis: New port submission or nenscript-1.13.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 10 21:00:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Christopher J. Michaels >Release: FreeBSD 3.3-STABLE i386 >Organization: none >Environment: FreeBSD 3.3-STABLE i386 >Description: A clone of the proprietary enscript program from Adobe Systems. >How-To-Repeat: See Fix >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: # # nenscript # nenscript/Makefile # nenscript/files # nenscript/files/md5 # nenscript/pkg # nenscript/pkg/COMMENT # nenscript/pkg/DESCR # nenscript/pkg/PLIST # nenscript/patches # nenscript/patches/patch-aa # echo c - nenscript mkdir -p nenscript > /dev/null 2>&1 echo x - nenscript/Makefile sed 's/^X//' >nenscript/Makefile << 'END-of-nenscript/Makefile' X# New ports collection makefile for: nenscript X# Version required: 1.13.3 X# Date created: 10 November 1999 X# Whom: cjm2 X# X# $FreeBSD$ X# X XDISTNAME= nenscript-1.13.3 XCATEGORIES= print XMASTER_SITES= http://www.im.lcs.mit.edu/~magnus/nenscript/ X XMAINTAINER= cjm2@altavista.net X XUSE_BZIP2= yes X XMAN1= nenscript.1 XMANCOMPRESSED= no X Xpre-fetch: X @${ECHO_MSG} "To build the Non-US version type:" X @${ECHO_MSG} " make NON_US=yes" Xpre-build: X ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/nenscript ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/nenscript.1 ${MANPREFIX}/man/man1 X ${MKDIR} ${PREFIX}/share/doc/nenscript X ${INSTALL_MAN} ${WRKSRC}/readme ${PREFIX}/share/doc/nenscript Xpost-install: X strip ${PREFIX}/bin/nenscript X X.include END-of-nenscript/Makefile echo c - nenscript/files mkdir -p nenscript/files > /dev/null 2>&1 echo x - nenscript/files/md5 sed 's/^X//' >nenscript/files/md5 << 'END-of-nenscript/files/md5' XMD5 (nenscript-1.13.3.tar.bz2) = 606f0966b893150ce70baed025a192f0 END-of-nenscript/files/md5 echo c - nenscript/pkg mkdir -p nenscript/pkg > /dev/null 2>&1 echo x - nenscript/pkg/COMMENT sed 's/^X//' >nenscript/pkg/COMMENT << 'END-of-nenscript/pkg/COMMENT' XA clone of the proprietary enscript program from Adobe Systems. END-of-nenscript/pkg/COMMENT echo x - nenscript/pkg/DESCR sed 's/^X//' >nenscript/pkg/DESCR << 'END-of-nenscript/pkg/DESCR' XA clone of the proprietary enscript program from Adobe Systems. For those Xwho have never used enscript, it is a good ASCII to Postscript converter. X XThe main features of nenscript are: X X . produces Postscript output which fully conforms to X the Document Structuring Conventions X . support for normal and "gaudy" output X . support for single or double column output X . allows insertion of titles and headers in any font. X . multiple copies of a document X XFeatures additional to nenscript are: X . automatic wrapping of long lines X . availability under MSDOS X . executable is self contained - no additional files required X X-Chris Xcjm2@altavista.net END-of-nenscript/pkg/DESCR echo x - nenscript/pkg/PLIST sed 's/^X//' >nenscript/pkg/PLIST << 'END-of-nenscript/pkg/PLIST' Xbin/nenscript Xshare/doc/nenscript/readme X@dirrm share/doc/nenscript END-of-nenscript/pkg/PLIST echo c - nenscript/patches mkdir -p nenscript/patches > /dev/null 2>&1 echo x - nenscript/patches/patch-aa sed 's/^X//' >nenscript/patches/patch-aa << 'END-of-nenscript/patches/patch-aa' X--- makefile.orig Wed Aug 11 21:02:50 1993 X+++ makefile Wed Nov 10 23:17:56 1999 X@@ -11,9 +11,9 @@ X SOURCES = main.c postscri.c print.c fontwidt.c font_lis.c paper.c X OBJECTS = $(SOURCES:.c=.o) X X-INSTALLDIR = /usr/local X-BININSTALLDIR = $(INSTALLDIR)/bin X-MANINSTALLDIR = $(INSTALLDIR)/man/man1 X+#INSTALLDIR = /usr/local X+BININSTALLDIR = ${PREFIX}/bin X+MANINSTALLDIR = ${MANPREFIX}/man/man1 X X LOCALINSTALLDIR = $(HOME)/bin X LOCALMANINSTALLDIR = $(HOME)/man/man1 X@@ -26,14 +26,20 @@ X # X # US_VERSION selects default US paper format as well as selecting US format date X # X-CFLAGS = -O $(DEBUG) -DUS_VERSION X+.if !defined(NON_US) X+CFLAGS += -DUS_VERSION X+.endif X+.if defined(DEBUG) X+CFLAGS += -g X+.endif X+ X LFLAGS = X X-CHMOD = chmod X-CP = cp X-RM = rm X+#CHMOD = chmod X+#CP = cp X+#RM = rm X #INSTALL = /etc/install X-INSTALL = /usr/ucb/install -c X+#INSTALL = /usr/ucb/install -c X X all debug: $(PROG) X X@@ -43,18 +49,18 @@ X main.$(OBJ): main.c X X install: $(PROG) X- $(INSTALL) -s -m 555 $(PROG) $(BININSTALLDIR) X- $(INSTALL) -m 444 $(MAN) $(MANINSTALLDIR) X+ ${INSTALL_PROGRAM} $(PROG) $(BININSTALLDIR) X+ ${INSTALL_MAN} $(MAN) $(MANINSTALLDIR) X X install.man: $(MAN) X- $(INSTALL) -f $(MAININSTALLDIR) -m 444 $(MAN) X+ ${INSTALL_MAN} $(MAININSTALLDIR) $(MAN) X X install.local: $(PROG) $(MAN) X- $(INSTALL) -s -m 555 $(PROG) $(LOCALINSTALLDIR) X- $(INSTALL) -m 444 $(MAN) $(LOCALMANINSTALLDIR) X+ ${INSTALL_PROGRAM} $(PROG) $(LOCALINSTALLDIR) X+ ${INSTALL_MAN} $(MAN) $(LOCALMANINSTALLDIR) X X clean: X- rm -f *.o *.obj *.exe *.mdt $(PROG) X+ ${RM} -rf *.o *.obj *.exe *.mdt $(PROG) X X font_lis.c: machdep.h defs.h font_lis.h main.h X END-of-nenscript/patches/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message