diff options
author | steve <steve@FreeBSD.org> | 1999-11-14 11:50:27 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-11-14 11:50:27 +0800 |
commit | 495fb50e62a408ff6f76beacb450ebac5280dc4d (patch) | |
tree | 8f2ce92b3e476d2cf83c915fe8d470fbe9522b7b /print | |
parent | fbae043fc8bce8b547f1ac7696b17856ce201f8b (diff) | |
download | freebsd-ports-gnome-495fb50e62a408ff6f76beacb450ebac5280dc4d.tar.gz freebsd-ports-gnome-495fb50e62a408ff6f76beacb450ebac5280dc4d.tar.zst freebsd-ports-gnome-495fb50e62a408ff6f76beacb450ebac5280dc4d.zip |
Initial import of nenscript version 1.13.3.
A clone of the proprietary enscript program from Adobe Systems.
PR: 14815
Submitted by: Christopher J. Michaels <cjm2@altavista.net>
Diffstat (limited to 'print')
-rw-r--r-- | print/nenscript/Makefile | 30 | ||||
-rw-r--r-- | print/nenscript/distinfo | 1 | ||||
-rw-r--r-- | print/nenscript/files/patch-aa | 66 | ||||
-rw-r--r-- | print/nenscript/pkg-comment | 1 | ||||
-rw-r--r-- | print/nenscript/pkg-descr | 19 | ||||
-rw-r--r-- | print/nenscript/pkg-plist | 3 |
6 files changed, 120 insertions, 0 deletions
diff --git a/print/nenscript/Makefile b/print/nenscript/Makefile new file mode 100644 index 000000000000..3098e9ead79c --- /dev/null +++ b/print/nenscript/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: nenscript +# Version required: 1.13.3 +# Date created: 10 November 1999 +# Whom: cjm2 +# +# $FreeBSD$ +# + +DISTNAME= nenscript-1.13.3 +CATEGORIES= print +MASTER_SITES= http://www.im.lcs.mit.edu/~magnus/nenscript/ + +MAINTAINER= cjm2@altavista.net + +USE_BZIP2= yes + +MAKEFILE= makefile +MAN1= nenscript.1 + +pre-fetch: + @${ECHO_MSG} "To build the Non-US version type:" + @${ECHO_MSG} " make NON_US=yes" + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nenscript ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/nenscript.1 ${MANPREFIX}/man/man1 + ${MKDIR} ${PREFIX}/share/doc/nenscript + ${INSTALL_MAN} ${WRKSRC}/readme ${PREFIX}/share/doc/nenscript + +.include <bsd.port.mk> diff --git a/print/nenscript/distinfo b/print/nenscript/distinfo new file mode 100644 index 000000000000..af6cde221a78 --- /dev/null +++ b/print/nenscript/distinfo @@ -0,0 +1 @@ +MD5 (nenscript-1.13.3.tar.bz2) = 606f0966b893150ce70baed025a192f0 diff --git a/print/nenscript/files/patch-aa b/print/nenscript/files/patch-aa new file mode 100644 index 000000000000..dd885a086c13 --- /dev/null +++ b/print/nenscript/files/patch-aa @@ -0,0 +1,66 @@ +--- makefile.orig Wed Aug 11 21:02:50 1993 ++++ makefile Wed Nov 10 23:17:56 1999 +@@ -11,9 +11,9 @@ + SOURCES = main.c postscri.c print.c fontwidt.c font_lis.c paper.c + OBJECTS = $(SOURCES:.c=.o) + +-INSTALLDIR = /usr/local +-BININSTALLDIR = $(INSTALLDIR)/bin +-MANINSTALLDIR = $(INSTALLDIR)/man/man1 ++#INSTALLDIR = /usr/local ++BININSTALLDIR = ${PREFIX}/bin ++MANINSTALLDIR = ${MANPREFIX}/man/man1 + + LOCALINSTALLDIR = $(HOME)/bin + LOCALMANINSTALLDIR = $(HOME)/man/man1 +@@ -26,14 +26,20 @@ + # + # US_VERSION selects default US paper format as well as selecting US format date + # +-CFLAGS = -O $(DEBUG) -DUS_VERSION ++.if !defined(NON_US) ++CFLAGS += -DUS_VERSION ++.endif ++.if defined(DEBUG) ++CFLAGS += -g ++.endif ++ + LFLAGS = + +-CHMOD = chmod +-CP = cp +-RM = rm ++#CHMOD = chmod ++#CP = cp ++#RM = rm + #INSTALL = /etc/install +-INSTALL = /usr/ucb/install -c ++#INSTALL = /usr/ucb/install -c + + all debug: $(PROG) + +@@ -43,18 +49,18 @@ + main.$(OBJ): main.c + + install: $(PROG) +- $(INSTALL) -s -m 555 $(PROG) $(BININSTALLDIR) +- $(INSTALL) -m 444 $(MAN) $(MANINSTALLDIR) ++ ${INSTALL_PROGRAM} $(PROG) $(BININSTALLDIR) ++ ${INSTALL_MAN} $(MAN) $(MANINSTALLDIR) + + install.man: $(MAN) +- $(INSTALL) -f $(MAININSTALLDIR) -m 444 $(MAN) ++ ${INSTALL_MAN} $(MAININSTALLDIR) $(MAN) + + install.local: $(PROG) $(MAN) +- $(INSTALL) -s -m 555 $(PROG) $(LOCALINSTALLDIR) +- $(INSTALL) -m 444 $(MAN) $(LOCALMANINSTALLDIR) ++ ${INSTALL_PROGRAM} $(PROG) $(LOCALINSTALLDIR) ++ ${INSTALL_MAN} $(MAN) $(LOCALMANINSTALLDIR) + + clean: +- rm -f *.o *.obj *.exe *.mdt $(PROG) ++ ${RM} -rf *.o *.obj *.exe *.mdt $(PROG) + + font_lis.c: machdep.h defs.h font_lis.h main.h + diff --git a/print/nenscript/pkg-comment b/print/nenscript/pkg-comment new file mode 100644 index 000000000000..1b7dfb62dd00 --- /dev/null +++ b/print/nenscript/pkg-comment @@ -0,0 +1 @@ +A clone of the proprietary enscript program from Adobe Systems diff --git a/print/nenscript/pkg-descr b/print/nenscript/pkg-descr new file mode 100644 index 000000000000..eb5bae9cdd9c --- /dev/null +++ b/print/nenscript/pkg-descr @@ -0,0 +1,19 @@ +A clone of the proprietary enscript program from Adobe Systems. For those +who have never used enscript, it is a good ASCII to Postscript converter. + +The main features of nenscript are: + + . produces Postscript output which fully conforms to + the Document Structuring Conventions + . support for normal and "gaudy" output + . support for single or double column output + . allows insertion of titles and headers in any font. + . multiple copies of a document + +Features additional to nenscript are: + . automatic wrapping of long lines + . availability under MSDOS + . executable is self contained - no additional files required + +-Chris +cjm2@altavista.net diff --git a/print/nenscript/pkg-plist b/print/nenscript/pkg-plist new file mode 100644 index 000000000000..87d6db89409e --- /dev/null +++ b/print/nenscript/pkg-plist @@ -0,0 +1,3 @@ +bin/nenscript +share/doc/nenscript/readme +@dirrm share/doc/nenscript |