aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-01-26 03:30:26 +0000
committerSteve Price <steve@FreeBSD.org>1999-01-26 03:30:26 +0000
commitb7118c0945d07290605aa9225501eda1dee7e5ab (patch)
treed3f4fa1db8542b5eac988eef45589032f0d3cf3f
parentd3c636e4e2c59a8ed9c4476a59ca3c0d04e1c309 (diff)
downloadports-b7118c0945d07290605aa9225501eda1dee7e5ab.tar.gz
ports-b7118c0945d07290605aa9225501eda1dee7e5ab.zip
Notes
-rw-r--r--print/hp2xx/Makefile32
-rw-r--r--print/hp2xx/distinfo1
-rw-r--r--print/hp2xx/files/patch-aa87
-rw-r--r--print/hp2xx/files/patch-ab42
-rw-r--r--print/hp2xx/files/patch-ac44
-rw-r--r--print/hp2xx/pkg-comment1
-rw-r--r--print/hp2xx/pkg-descr15
-rw-r--r--print/hp2xx/pkg-plist5
8 files changed, 227 insertions, 0 deletions
diff --git a/print/hp2xx/Makefile b/print/hp2xx/Makefile
new file mode 100644
index 000000000000..0c44e25416b8
--- /dev/null
+++ b/print/hp2xx/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: hp2xx
+# Version required: 3.20
+# Date created: 17 Jan 1999
+# Whom: Lars Koeller
+#
+# $Id$
+#
+
+DISTNAME= hp2xx-3.20-png
+PKGNAME= hp2xx-3.20
+CATEGORIES= print x11
+MASTER_SITES= ftp://ftp.rz.uni-duesseldorf.de/pub/graphics/ \
+ ftp://ftp.uni-bielefeld.de/pub/systems/FreeBSD/lkoeller/
+
+MAINTAINER= Lars.Koeller@Uni-Bielefeled.DE
+
+LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/sources
+USE_XLIB= yes
+MAKEFILE= makefile
+MAN1= hp2xx.1
+
+post-install:
+ if [ ! -f ${PREFIX}/info/dir ]; then \
+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+.for info in hp2xx.info
+ install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
+.endfor
+
+.include <bsd.port.mk>
diff --git a/print/hp2xx/distinfo b/print/hp2xx/distinfo
new file mode 100644
index 000000000000..042d2ca2dd54
--- /dev/null
+++ b/print/hp2xx/distinfo
@@ -0,0 +1 @@
+MD5 (hp2xx-3.20-png.tar.gz) = 60f5bffe04c747296b6e8ee930b280e9
diff --git a/print/hp2xx/files/patch-aa b/print/hp2xx/files/patch-aa
new file mode 100644
index 000000000000..739b46f4e933
--- /dev/null
+++ b/print/hp2xx/files/patch-aa
@@ -0,0 +1,87 @@
+*** ./makefile.orig Mon Dec 1 03:22:14 1997
+--- ./makefile Sun Jan 17 14:39:04 1999
+***************
+*** 34,40 ****
+
+ # Installation sites (GNU conventions):
+ #
+! prefix = /usr/local
+ bindir = $(prefix)/bin
+ includedir = $(prefix)/include
+ mandir = $(prefix)/man
+--- 34,40 ----
+
+ # Installation sites (GNU conventions):
+ #
+! prefix = ${PREFIX}
+ bindir = $(prefix)/bin
+ includedir = $(prefix)/include
+ mandir = $(prefix)/man
+***************
+*** 45,53 ****
+ # For non-gcc compilers, simply set CFLAGS = -O (to start with)
+ #
+ #CC = gcc
+! #CFLAGS = -O2 -Wall -ansi -fstrength-reduce -finline-functions
+ CC = cc
+! CFLAGS = -O
+
+ #LFLAGS = # only sometimes needed; see below for examples
+ #CPPFLAGS = -I. # only sometimes needed; see below for examples
+--- 45,53 ----
+ # For non-gcc compilers, simply set CFLAGS = -O (to start with)
+ #
+ #CC = gcc
+! CFLAGS = -O2 -Wall -ansi -fstrength-reduce -finline-functions
+ CC = cc
+! #CFLAGS = -O
+
+ #LFLAGS = # only sometimes needed; see below for examples
+ #CPPFLAGS = -I. # only sometimes needed; see below for examples
+***************
+*** 56,63 ****
+ #
+ # PNG test setup (for build without installed libpng/libz)
+ #
+! LFLAGS = -L../../libpng-0.96 -L../../zlib-1.0.4
+! CPPFLAGS = -I. -I../../libpng-0.96 -I../../zlib-1.0.4
+ BINDCMD =
+
+ #############################################################################
+--- 56,65 ----
+ #
+ # PNG test setup (for build without installed libpng/libz)
+ #
+! #LFLAGS = -L../../libpng-0.96 -L../../zlib-1.0.4
+! LFLAGS = -L${X11BASE}/lib -L$(prefix)/lib
+! #CPPFLAGS = -I. -I../../libpng-0.96 -I../../zlib-1.0.4
+! CPPFLAGS = -I. -I${X11BASE}/include -I$(prefix)/include
+ BINDCMD =
+
+ #############################################################################
+***************
+*** 208,215 ****
+ PROGRAM = hp2xx
+
+ default:
+! @echo "This makefile needs manual configuration! Edit it now!
+! @echo "After configuration, you may use the following commands:
+ @echo ""
+ @echo "make all Compile everything"
+ @echo "make check Run a color application in preview mode"
+--- 210,217 ----
+ PROGRAM = hp2xx
+
+ default:
+! @echo "This makefile needs manual configuration! Edit it now!"
+! @echo "After configuration, you may use the following commands:"
+ @echo ""
+ @echo "make all Compile everything"
+ @echo "make check Run a color application in preview mode"
+***************
+*** 306,309 ****
+ install-man: ../doc/hp2xx.1
+ $(CP) ../doc/hp2xx.1 $(man1dir)
+ $(CHMOD) 644 $(man1dir)/hp2xx.1
+-
+--- 308,310 ----
diff --git a/print/hp2xx/files/patch-ab b/print/hp2xx/files/patch-ab
new file mode 100644
index 000000000000..259d006ab9ad
--- /dev/null
+++ b/print/hp2xx/files/patch-ab
@@ -0,0 +1,42 @@
+*** ../doc/hp2xxinf.tex.orig Tue Oct 24 15:54:03 1995
+--- ../doc/hp2xxinf.tex Sun Jan 17 14:35:52 1999
+***************
+*** 4,9 ****
+--- 4,16 ----
+ @setfilename hp2xx.info
+ @settitle HP2XX, A HP-GL Converter
+ @setchapternewpage odd
++ @dircategory Miscellaneous
++ @direntry
++ * HP2XX:(hp2xx). Conversion of HP-GL graphics into raster and
++ vector graphics formats
++ @end direntry
++
++
+ @c @smallbook
+ @c @cropmarks
+ @c %**end of header
+***************
+*** 30,43 ****
+
+ @c THIS MANUAL REQUIRES TEXINFO-2 macros and info-makers to format properly.
+
+- @ifinfo
+- @format
+- START-INFO-DIR-ENTRY
+- * HP2XX:(hp2xx). Conversion of HP-GL graphics into raster and
+- * vector graphics formats
+- END-INFO-DIR-ENTRY
+- @end format
+- @end ifinfo
+ @c
+ @ifinfo
+ This file documents the HP-GL converter HP2XX
+--- 37,42 ----
+***************
+*** 1594,1597 ****
+
+ @contents
+ @bye
+-
+--- 1593,1595 ----
diff --git a/print/hp2xx/files/patch-ac b/print/hp2xx/files/patch-ac
new file mode 100644
index 000000000000..d51264ccd2a6
--- /dev/null
+++ b/print/hp2xx/files/patch-ac
@@ -0,0 +1,44 @@
+*** ../doc/hp2xx.1.orig Tue Oct 24 15:54:03 1995
+--- ../doc/hp2xx.1 Sun Jan 17 15:32:10 1999
+***************
+*** 17,23 ****
+ -f char * "" Name of output file. "" = autom., "-" = stdout
+ -l char * "" Name of optional log file
+ -m char * pre Mode. Valid:
+! mf,cad,em,epic,eps,hpgl,rgip, pcl,pcx,pic,img,pbm, pre
+ -p char * 11111111 Pensize(s) [dots] (default), [1/10 mm] (mf, ps).
+ Valid: 1 to 8 digits of 0-9 each.
+ -P int 0:0 Selected page range (m:n) (0 = 0:0 = all pages)
+--- 17,23 ----
+ -f char * "" Name of output file. "" = autom., "-" = stdout
+ -l char * "" Name of optional log file
+ -m char * pre Mode. Valid:
+! cad,em,epic,eps,hpgl,img,mf,pbm,pcl,pcx,png,rgip,pre
+ -p char * 11111111 Pensize(s) [dots] (default), [1/10 mm] (mf, ps).
+ Valid: 1 to 8 digits of 0-9 each.
+ -P int 0:0 Selected page range (m:n) (0 = 0:0 = all pages)
+***************
+*** 150,156 ****
+ "pcl" (HP-PCL Level 3 format (suitable for printing on a HP Laserjet II,
+ DeskJet, or compatible printer), "img" (GEMs IMG format), "pbm" (Portable
+ Bit Map), "pcx" (PC-Paintbrush format, also accepted by MS-Paintbrush /
+! Windows 3.0 and many other PC based pixel renderers), or "rgip" (Uniplex RGIP).
+ There is also a preview option "pre" which supports VGA cards (DOS),
+ ATARI, AMIGA, X11 servers, and Sunview. Default mode is "pre".
+
+--- 150,157 ----
+ "pcl" (HP-PCL Level 3 format (suitable for printing on a HP Laserjet II,
+ DeskJet, or compatible printer), "img" (GEMs IMG format), "pbm" (Portable
+ Bit Map), "pcx" (PC-Paintbrush format, also accepted by MS-Paintbrush /
+! Windows 3.0 and many other PC based pixel renderers), "rgip" (Uniplex RGIP),
+! or "png" (Portable Network Graphics).
+ There is also a preview option "pre" which supports VGA cards (DOS),
+ ATARI, AMIGA, X11 servers, and Sunview. Default mode is "pre".
+
+***************
+*** 380,383 ****
+ .SH SEE ALSO
+ .BR bm2font (1),
+ F. Sowa's raster-to-TeXfont converter.
+-
+--- 381,383 ----
diff --git a/print/hp2xx/pkg-comment b/print/hp2xx/pkg-comment
new file mode 100644
index 000000000000..a14668716da4
--- /dev/null
+++ b/print/hp2xx/pkg-comment
@@ -0,0 +1 @@
+A HPGL converter into some vector- and raster formats, previewer for X11.
diff --git a/print/hp2xx/pkg-descr b/print/hp2xx/pkg-descr
new file mode 100644
index 000000000000..fecba2998b59
--- /dev/null
+++ b/print/hp2xx/pkg-descr
@@ -0,0 +1,15 @@
+hp2xx reads HPGL ASCII source files, interprets them, and
+converts them into either another vector-oriented format
+or one of several rasterfile formats. Currently, its HPGL
+parser recognizes a subset of the HP 7550A command set.
+Some high-level functions like filled polygons are missing
+Also, only the basic fixed character set 0 is supported
+Besides these limitations, hp2xx has proven to work with
+many HP-GL sources without any trouble.
+
+It allows conversion from HPGL to:
+
+ mf (MetaFont), eps (PostScript), pcl (HP-PCL Level3),
+ pre(view), pcx (PaintBrush-Format), img (GEM),
+ pic (ATARI bitmap), pbm (Portable Bitmap),
+ png (Portable Network Graphics), ...
diff --git a/print/hp2xx/pkg-plist b/print/hp2xx/pkg-plist
new file mode 100644
index 000000000000..60e1d92e1a3a
--- /dev/null
+++ b/print/hp2xx/pkg-plist
@@ -0,0 +1,5 @@
+bin/hp2xx
+@unexec install-info --delete %D/info/hp2xx.info %D/info/dir
+info/hp2xx.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/hp2xx.info %D/info/dir