Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

86.3. fig2dev-3.2.9a

Converts Xfig drawings to EPS, PDF, SVG, PNG, LaTeX, PSTricks, TikZ and other formats

3.2.9a-2 · Xfig · 0.1 SBU · 812.7 KiB, 18 files · 41_system, 411 of 1047 · ports/core/doctools/fig2dev

Homepage: https://sourceforge.net/projects/mcj/

Depends on: libpng, zlib, ghostscript.

Required by: no port names it.

Sources: fig2dev-3.2.9a.tar.xz (524.0 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install fig2dev'

build.sh:

./configure --prefix=/usr \
	--with-png \
	--with-rgbfile=/usr/share/X11/rgb.txt \
	--disable-transfig \
	GSEXE=gs
make
make DESTDIR=$PKG install
install -d "$PKG/usr/share/licenses/$name"
head -n 17 fig2dev/fig2dev.c > "$PKG/usr/share/licenses/$name/LICENSE"

Programs: fig2dev, fig2ps2tex, pic2tpic.

Directories: /usr/share/fig2dev, /usr/share/licenses/fig2dev.