diff options
author | bapt <bapt@FreeBSD.org> | 2011-08-01 23:25:04 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2011-08-01 23:25:04 +0800 |
commit | ac10e14d73538d3b76df7c121d2a3f7e0c6eb23e (patch) | |
tree | c93e0baa49174b106f523689c300ee7aa26f092e /print | |
parent | 03c1c4afec446ad9741706473efa3ad4aefe1f04 (diff) | |
download | freebsd-ports-gnome-ac10e14d73538d3b76df7c121d2a3f7e0c6eb23e.tar.gz freebsd-ports-gnome-ac10e14d73538d3b76df7c121d2a3f7e0c6eb23e.tar.zst freebsd-ports-gnome-ac10e14d73538d3b76df7c121d2a3f7e0c6eb23e.zip |
Back from the Attic
Point to the new home and master_site
Submitted by: scf@
Diffstat (limited to 'print')
-rw-r--r-- | print/nenscript/Makefile | 32 | ||||
-rw-r--r-- | print/nenscript/distinfo | 2 | ||||
-rw-r--r-- | print/nenscript/files/patch-main.c | 11 | ||||
-rw-r--r-- | print/nenscript/pkg-descr | 18 | ||||
-rw-r--r-- | print/nenscript/pkg-plist | 3 |
5 files changed, 66 insertions, 0 deletions
diff --git a/print/nenscript/Makefile b/print/nenscript/Makefile new file mode 100644 index 000000000000..5ceb7977b268 --- /dev/null +++ b/print/nenscript/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: nenscript +# Date created: 10 November 1999 +# Whom: cjm2 +# +# $FreeBSD$ +# + +PORTNAME= nenscript +PORTVERSION= 1.13.3 +CATEGORIES= print +MASTER_SITES= http://www.ai.mit.edu/projects/im/magnus/nenscript/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= A clone of the proprietary enscript program from Adobe Systems + +USE_BZIP2= yes + +MAKEFILE= makefile +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" +MAN1= nenscript.1 + +.include <bsd.port.pre.mk> + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nenscript ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/nenscript.1 ${MANPREFIX}/man/man1 +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/readme ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/print/nenscript/distinfo b/print/nenscript/distinfo new file mode 100644 index 000000000000..02940c843442 --- /dev/null +++ b/print/nenscript/distinfo @@ -0,0 +1,2 @@ +SHA256 (nenscript-1.13.3.tar.bz2) = 4e8811598891f956cbd54de0fb99744f71f9d68fe143d025ec91983df557e46e +SIZE (nenscript-1.13.3.tar.bz2) = 24664 diff --git a/print/nenscript/files/patch-main.c b/print/nenscript/files/patch-main.c new file mode 100644 index 000000000000..95f17f994811 --- /dev/null +++ b/print/nenscript/files/patch-main.c @@ -0,0 +1,11 @@ +--- main.c.orig 2008-07-19 14:32:26.000000000 -0500 ++++ main.c 2008-07-19 14:34:12.000000000 -0500 +@@ -601,7 +601,7 @@ + exit (1); + } + #else +- sprintf (cmd, "%s %s", LPR, printername); ++ snprintf (cmd, sizeof(cmd), "%s %s", LPR, printername); + if ((outputstream = popen (cmd, "w")) == NULL) { + perror (LPR); + exit (1); diff --git a/print/nenscript/pkg-descr b/print/nenscript/pkg-descr new file mode 100644 index 000000000000..fba826351df9 --- /dev/null +++ b/print/nenscript/pkg-descr @@ -0,0 +1,18 @@ +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 + +WWW: http://www.ai.mit.edu/projects/im/magnus/nenscript/ diff --git a/print/nenscript/pkg-plist b/print/nenscript/pkg-plist new file mode 100644 index 000000000000..55659d9f9029 --- /dev/null +++ b/print/nenscript/pkg-plist @@ -0,0 +1,3 @@ +bin/nenscript +%%PORTDOCS%%%%DOCSDIR%%/readme +%%PORTDOCS%%@dirrm %%DOCSDIR%% |