BSD Ports

print/pslib 0.4.8 MidnightBSD

C-library for generating multi page PostScript documents

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
b5a4db30d1
License
gpl2
Categories
print

Description

pslib is a C-library to create PostScript files on the fly. It offers many drawing primitives, inclusion of png and eps images and a very sophisticated text rendering including hyphenation, kerning and ligatures. It can read external Type1 fonts and embed them into the output file. It supports pdfmarks which makes it in combination with ghostscript's pdfwriter an alternative for libraries creating PDF.

In the other systems

SystemPortVersion
MidnightBSDprint/pslib0.4.8
FreeBSDprint/pslib0.4.8
NetBSDprint/pslib0.4.5nb8
DragonFlyprint/pslib0.4.8

Install

Binary package:

mport install pslib

From mports:

cd /usr/mports/print/pslib && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pslib>0:print/pslib
LIB_DEPENDS=	libps.so:print/pslib

Dependencies

As this port's Makefile names them.

Library 3

Build dependencies 3
Run dependencies 3

No port depends on this one.

Configuration

Options name: print_pslib

OptionDefaultDescription
EXAMPLESoff
MANPAGESon
NLSoff
USES
gettext gmake gnome jpeg libtool localbase pathfix pkgconfig
Service scripts
none

Files

Manual pages 102
  • PS_add_bookmark(3)
  • PS_add_kerning(3)
  • PS_add_launchlink(3)
  • PS_add_ligature(3)
  • PS_add_locallink(3)
  • PS_add_note(3)
  • PS_add_pdflink(3)
  • PS_add_weblink(3)
  • PS_arc(3)
  • PS_arcn(3)
  • PS_begin_font(3)
  • PS_begin_glyph(3)
  • PS_begin_page(3)
  • PS_begin_pattern(3)
  • PS_begin_template(3)
  • PS_boot(3)
  • PS_circle(3)
  • PS_clip(3)
  • PS_close(3)
  • PS_close_image(3)
  • PS_closepath(3)
  • PS_closepath_stroke(3)
  • PS_continue_text(3)
  • PS_continue_text2(3)
  • PS_create_gstate(3)
  • PS_curveto(3)
  • PS_delete(3)
  • PS_end_font(3)
  • PS_end_glyph(3)
  • PS_end_page(3)
  • PS_end_pattern(3)
  • PS_end_template(3)
  • PS_fill(3)
  • PS_fill_stroke(3)
  • PS_findfont(3)
  • PS_free_glyph_list(3)
  • PS_get_buffer(3)
  • PS_get_majorversion(3)
  • PS_get_minorversion(3)
  • PS_get_opaque(3)
  • PS_get_parameter(3)
  • PS_get_subminorversion(3)
  • PS_get_value(3)
  • PS_glyph_list(3)
  • PS_glyph_show(3)
  • PS_hyphenate(3)
  • PS_include_file(3)
  • PS_lineto(3)
  • PS_list_parameters(3)
  • PS_list_resources(3)
  • PS_list_values(3)
  • PS_makespotcolor(3)
  • PS_moveto(3)
  • PS_new(3)
  • PS_new2(3)
  • PS_open_file(3)
  • PS_open_fp(3)
  • PS_open_image(3)
  • PS_open_image_file(3)
  • PS_open_mem(3)
  • PS_place_image(3)
  • PS_rect(3)
  • PS_restore(3)
  • PS_rotate(3)
  • PS_save(3)
  • PS_scale(3)
  • PS_set_border_color(3)
  • PS_set_border_dash(3)
  • PS_set_border_style(3)
  • PS_set_gstate(3)
  • PS_set_info(3)
  • PS_set_parameter(3)
  • PS_set_text_pos(3)
  • PS_set_value(3)
  • PS_setcolor(3)
  • PS_setdash(3)
  • PS_setflat(3)
  • PS_setfont(3)
  • PS_setgray(3)
  • PS_setlinecap(3)
  • PS_setlinejoin(3)
  • PS_setlinewidth(3)
  • PS_setmiterlimit(3)
  • PS_setpolydash(3)
  • PS_shading(3)
  • PS_shading_pattern(3)
  • PS_shfill(3)
  • PS_show(3)
  • PS_show2(3)
  • PS_show_boxed(3)
  • PS_show_xy(3)
  • PS_show_xy2(3)
  • PS_shutdown(3)
  • PS_string_geometry(3)
  • PS_stringwidth(3)
  • PS_stringwidth2(3)
  • PS_stroke(3)
  • PS_symbol(3)
  • PS_symbol_name(3)
  • PS_symbol_width(3)
  • PS_translate(3)
  • pslib(3)
pkg-plist 166
  • include/libps/pslib-mp.h
  • include/libps/pslib.h
  • include/libps/psversion.h
  • lib/libps.a
  • lib/libps.so
  • lib/libps.so.0
  • lib/libps.so.
  • libdata/pkgconfig/libps.pc
  • share/examples/pslib/AlteSchwabacher.afm
  • share/examples/pslib/AlteSchwabacher.enc
  • share/examples/pslib/AlteSchwabacher.pfb
  • share/examples/pslib/Courier.afm
  • share/examples/pslib/Helvetica.afm
  • share/examples/pslib/Helvetica.pro
  • share/examples/pslib/README
  • share/examples/pslib/cmyk.c
  • share/examples/pslib/cne-cmyk.jpg
  • share/examples/pslib/cork.enc
  • share/examples/pslib/debian-transparent.gif
  • share/examples/pslib/debian.bmp
  • share/examples/pslib/debian.gif
  • share/examples/pslib/debian.png
  • share/examples/pslib/debian.tiff
  • share/examples/pslib/dice.afm
  • share/examples/pslib/dice.pfb
  • share/examples/pslib/draw.c
  • share/examples/pslib/einstein.c
  • share/examples/pslib/einstein.txt
  • share/examples/pslib/exiftest.jpg
  • share/examples/pslib/fontcreate.c
  • share/examples/pslib/fontsample.c
  • share/examples/pslib/glyphlist.c
  • share/examples/pslib/gnu-head.jpg
  • share/examples/pslib/hyperlinks.c
  • share/examples/pslib/hyph_de.dic
  • share/examples/pslib/hyph_en.dic
  • share/examples/pslib/hyphenate.c
  • share/examples/pslib/image.c
  • share/examples/pslib/imagereuse.c
  • share/examples/pslib/indexed-alpha.png
  • share/examples/pslib/indexed.png
  • share/examples/pslib/interlaced.gif
  • share/examples/pslib/ligatures.c
  • share/examples/pslib/ligexperts.c
  • share/examples/pslib/logos.c
  • share/examples/pslib/memory.c
  • share/examples/pslib/mmk.c
  • share/examples/pslib/overprint.c
  • share/examples/pslib/pagehook.c
  • share/examples/pslib/picture.eps
  • share/examples/pslib/polish.c
  • share/examples/pslib/poster.c
  • share/examples/pslib/psclock.c
  • share/examples/pslib/rgb-alpha.png
  • share/examples/pslib/rgb.png
  • share/examples/pslib/schematic.c
  • share/examples/pslib/shading.c
  • share/examples/pslib/showbox.c
  • share/examples/pslib/spotcolor.c
  • share/examples/pslib/txt2ps.c
  • share/locale/de/LC_MESSAGES/pslib.mo
  • share/man/man3/PS_add_bookmark.3.gz
  • share/man/man3/PS_add_kerning.3.gz
  • share/man/man3/PS_add_launchlink.3.gz
  • share/man/man3/PS_add_ligature.3.gz
  • share/man/man3/PS_add_locallink.3.gz
  • share/man/man3/PS_add_note.3.gz
  • share/man/man3/PS_add_pdflink.3.gz
  • share/man/man3/PS_add_weblink.3.gz
  • share/man/man3/PS_arc.3.gz
  • share/man/man3/PS_arcn.3.gz
  • share/man/man3/PS_begin_font.3.gz
  • share/man/man3/PS_begin_glyph.3.gz
  • share/man/man3/PS_begin_page.3.gz
  • share/man/man3/PS_begin_pattern.3.gz
  • share/man/man3/PS_begin_template.3.gz
  • share/man/man3/PS_boot.3.gz
  • share/man/man3/PS_circle.3.gz
  • share/man/man3/PS_clip.3.gz
  • share/man/man3/PS_close.3.gz
  • share/man/man3/PS_close_image.3.gz
  • share/man/man3/PS_closepath.3.gz
  • share/man/man3/PS_closepath_stroke.3.gz
  • share/man/man3/PS_continue_text.3.gz
  • share/man/man3/PS_continue_text2.3.gz
  • share/man/man3/PS_create_gstate.3.gz
  • share/man/man3/PS_curveto.3.gz
  • share/man/man3/PS_delete.3.gz
  • share/man/man3/PS_end_font.3.gz
  • share/man/man3/PS_end_glyph.3.gz
  • share/man/man3/PS_end_page.3.gz
  • share/man/man3/PS_end_pattern.3.gz
  • share/man/man3/PS_end_template.3.gz
  • share/man/man3/PS_fill.3.gz
  • share/man/man3/PS_fill_stroke.3.gz
  • share/man/man3/PS_findfont.3.gz
  • share/man/man3/PS_free_glyph_list.3.gz
  • share/man/man3/PS_get_buffer.3.gz
  • share/man/man3/PS_get_majorversion.3.gz
  • share/man/man3/PS_get_minorversion.3.gz

The first 100 are listed.

distinfo 2
FileSizeSHA256
pslib-0.4.8.tar.gz54867981a58dbc12ee514cb4a3e1d608ec86e8a9b3c43ad8098e8f57759b03f8e31fae
pslib-examples-0.0.11.tar.gz6681668932eccb8cd2304dfe00e85be70ad9e11f18ea7f976fb0d1e7af8a3d51113b71
Master sites 1
  • SF

Commit history 1

DateCommitCreditsLog message
b5a4db30d1 Lucas Holt print/pslib: stage examples in fake root
Install example files under FAKE_DESTDIR so fake packaging does not detect files copied directly to the live prefix. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>