pkgsrc/graphics/xfig/Makefile

53 lines
1.6 KiB
Makefile
Raw Normal View History

2002-10-08 15:24:22 +02:00
# $NetBSD: Makefile,v 1.32 2002/10/08 13:24:22 jlam Exp $
#
Update to 3.2.3d, provided by Jim Bernard in pkg/13325. Extract of changes since 3.2.3: o Lots of new libraries (UML objects, knitting symbols, network devices, Chen's model of Entity Relations, widgets, aircraft, maps, chemical process flowshooets, PMOS&NMOS FET, and others) o Object library now shows icons of all objects. The size of the icons is selectable from 40 pixels to 120 via a pulldown menu and resource (Fig.library_icon_size). The the old "list" view is also available. o Simplistic super/subscripting by typing Ctrl-^ for superscript and Ctrl-_ for subscript. It creates a new string in the proper size and position for super- or subscripting. May be nested. Does NOT work for centered or right-justified text. o New export shortcut Shift-Alt-x or Shift-Meta-x to export using current settings without popping up the panel o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current settings without popping up the panel o Support for importing PNG image files added o GIF transparency for imported images honored by fig2dev now o New option to print only active layers when exporting or printing (see printing/exporting section in html docs). o When loading a compressed Fig file that is either read-only, or is on a read-only file system (e.g. a CDROM), xfig uncompresses it into the temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is undefined). o xfig recalculates the bounds of compound objects read in from the file, ignoring the bounds values in the file. This makes it easier for Fig file generators to produce compound objects since they don't have to know how to calculate the bounds themselves. fig2dev doesn't even use those values but recalculates them upon reading the file. o Increased maximum number of libraries to 100 as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 16:34:56 +02:00
DISTNAME= xfig.3.2.3d.full
PKGNAME= xfig-3.2.3.4
PKGREVISION= 1
Update to 3.2.3d, provided by Jim Bernard in pkg/13325. Extract of changes since 3.2.3: o Lots of new libraries (UML objects, knitting symbols, network devices, Chen's model of Entity Relations, widgets, aircraft, maps, chemical process flowshooets, PMOS&NMOS FET, and others) o Object library now shows icons of all objects. The size of the icons is selectable from 40 pixels to 120 via a pulldown menu and resource (Fig.library_icon_size). The the old "list" view is also available. o Simplistic super/subscripting by typing Ctrl-^ for superscript and Ctrl-_ for subscript. It creates a new string in the proper size and position for super- or subscripting. May be nested. Does NOT work for centered or right-justified text. o New export shortcut Shift-Alt-x or Shift-Meta-x to export using current settings without popping up the panel o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current settings without popping up the panel o Support for importing PNG image files added o GIF transparency for imported images honored by fig2dev now o New option to print only active layers when exporting or printing (see printing/exporting section in html docs). o When loading a compressed Fig file that is either read-only, or is on a read-only file system (e.g. a CDROM), xfig uncompresses it into the temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is undefined). o xfig recalculates the bounds of compound objects read in from the file, ignoring the bounds values in the file. This makes it easier for Fig file generators to produce compound objects since they don't have to know how to calculate the bounds themselves. fig2dev doesn't even use those values but recalculates them upon reading the file. o Increased maximum number of libraries to 100 as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 16:34:56 +02:00
WRKSRC= ${WRKDIR}/xfig.3.2.3d
CATEGORIES= graphics
Update to 3.2.3d, provided by Jim Bernard in pkg/13325. Extract of changes since 3.2.3: o Lots of new libraries (UML objects, knitting symbols, network devices, Chen's model of Entity Relations, widgets, aircraft, maps, chemical process flowshooets, PMOS&NMOS FET, and others) o Object library now shows icons of all objects. The size of the icons is selectable from 40 pixels to 120 via a pulldown menu and resource (Fig.library_icon_size). The the old "list" view is also available. o Simplistic super/subscripting by typing Ctrl-^ for superscript and Ctrl-_ for subscript. It creates a new string in the proper size and position for super- or subscripting. May be nested. Does NOT work for centered or right-justified text. o New export shortcut Shift-Alt-x or Shift-Meta-x to export using current settings without popping up the panel o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current settings without popping up the panel o Support for importing PNG image files added o GIF transparency for imported images honored by fig2dev now o New option to print only active layers when exporting or printing (see printing/exporting section in html docs). o When loading a compressed Fig file that is either read-only, or is on a read-only file system (e.g. a CDROM), xfig uncompresses it into the temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is undefined). o xfig recalculates the bounds of compound objects read in from the file, ignoring the bounds values in the file. This makes it easier for Fig file generators to produce compound objects since they don't have to know how to calculate the bounds themselves. fig2dev doesn't even use those values but recalculates them upon reading the file. o Increased maximum number of libraries to 100 as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 16:34:56 +02:00
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=applications/drawing_tools/xfig/} \
ftp://www-epb.lbl.gov/xfig/
MAINTAINER= root@garbled.net
HOMEPAGE= http://epb1.lbl.gov/BVSmith/xfig/
Update to 3.2.3d, provided by Jim Bernard in pkg/13325. Extract of changes since 3.2.3: o Lots of new libraries (UML objects, knitting symbols, network devices, Chen's model of Entity Relations, widgets, aircraft, maps, chemical process flowshooets, PMOS&NMOS FET, and others) o Object library now shows icons of all objects. The size of the icons is selectable from 40 pixels to 120 via a pulldown menu and resource (Fig.library_icon_size). The the old "list" view is also available. o Simplistic super/subscripting by typing Ctrl-^ for superscript and Ctrl-_ for subscript. It creates a new string in the proper size and position for super- or subscripting. May be nested. Does NOT work for centered or right-justified text. o New export shortcut Shift-Alt-x or Shift-Meta-x to export using current settings without popping up the panel o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current settings without popping up the panel o Support for importing PNG image files added o GIF transparency for imported images honored by fig2dev now o New option to print only active layers when exporting or printing (see printing/exporting section in html docs). o When loading a compressed Fig file that is either read-only, or is on a read-only file system (e.g. a CDROM), xfig uncompresses it into the temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is undefined). o xfig recalculates the bounds of compound objects read in from the file, ignoring the bounds values in the file. This makes it easier for Fig file generators to produce compound objects since they don't have to know how to calculate the bounds themselves. fig2dev doesn't even use those values but recalculates them upon reading the file. o Increased maximum number of libraries to 100 as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 16:34:56 +02:00
COMMENT= CAD-like 2D drawing tool, good for colorful scale drawings & ISOs
Update to 3.2.3d, provided by Jim Bernard in pkg/13325. Extract of changes since 3.2.3: o Lots of new libraries (UML objects, knitting symbols, network devices, Chen's model of Entity Relations, widgets, aircraft, maps, chemical process flowshooets, PMOS&NMOS FET, and others) o Object library now shows icons of all objects. The size of the icons is selectable from 40 pixels to 120 via a pulldown menu and resource (Fig.library_icon_size). The the old "list" view is also available. o Simplistic super/subscripting by typing Ctrl-^ for superscript and Ctrl-_ for subscript. It creates a new string in the proper size and position for super- or subscripting. May be nested. Does NOT work for centered or right-justified text. o New export shortcut Shift-Alt-x or Shift-Meta-x to export using current settings without popping up the panel o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current settings without popping up the panel o Support for importing PNG image files added o GIF transparency for imported images honored by fig2dev now o New option to print only active layers when exporting or printing (see printing/exporting section in html docs). o When loading a compressed Fig file that is either read-only, or is on a read-only file system (e.g. a CDROM), xfig uncompresses it into the temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is undefined). o xfig recalculates the bounds of compound objects read in from the file, ignoring the bounds values in the file. This makes it easier for Fig file generators to produce compound objects since they don't have to know how to calculate the bounds themselves. fig2dev doesn't even use those values but recalculates them upon reading the file. o Increased maximum number of libraries to 100 as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 16:34:56 +02:00
DEPENDS+= transfig>=3.2.3.4:../../print/transfig
2002-10-08 15:24:22 +02:00
USE_BUILDLINK2= YES
USE_IMAKE= YES
XAW_TYPE?= 3d
Update to 3.2.3d, provided by Jim Bernard in pkg/13325. Extract of changes since 3.2.3: o Lots of new libraries (UML objects, knitting symbols, network devices, Chen's model of Entity Relations, widgets, aircraft, maps, chemical process flowshooets, PMOS&NMOS FET, and others) o Object library now shows icons of all objects. The size of the icons is selectable from 40 pixels to 120 via a pulldown menu and resource (Fig.library_icon_size). The the old "list" view is also available. o Simplistic super/subscripting by typing Ctrl-^ for superscript and Ctrl-_ for subscript. It creates a new string in the proper size and position for super- or subscripting. May be nested. Does NOT work for centered or right-justified text. o New export shortcut Shift-Alt-x or Shift-Meta-x to export using current settings without popping up the panel o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current settings without popping up the panel o Support for importing PNG image files added o GIF transparency for imported images honored by fig2dev now o New option to print only active layers when exporting or printing (see printing/exporting section in html docs). o When loading a compressed Fig file that is either read-only, or is on a read-only file system (e.g. a CDROM), xfig uncompresses it into the temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is undefined). o xfig recalculates the bounds of compound objects read in from the file, ignoring the bounds values in the file. This makes it easier for Fig file generators to produce compound objects since they don't have to know how to calculate the bounds themselves. fig2dev doesn't even use those values but recalculates them upon reading the file. o Increased maximum number of libraries to 100 as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 16:34:56 +02:00
NO_INSTALL_MANPAGES= YES # install.all does install.man
INSTALL_TARGET= install install.all
2002-10-08 15:24:22 +02:00
CFLAGS+= -I${X11PREFIX}/include/X11
.include "../../mk/bsd.prefs.mk"
.if defined(XAW_TYPE) && (${XAW_TYPE} != "3d" && ${XAW_TYPE} != "xpm")
pre-configure:
cd ${WRKSRC} && \
if [ ! -f Imakefile.bak ]; then ${MV} Imakefile Imakefile.bak; fi && \
${SED} 's/#define.XAW3D/XCOMM &/' Imakefile.bak > Imakefile
.endif
XFIGEXAMPLES= ${PREFIX}/share/examples/xfig
Update to 3.2.3d, provided by Jim Bernard in pkg/13325. Extract of changes since 3.2.3: o Lots of new libraries (UML objects, knitting symbols, network devices, Chen's model of Entity Relations, widgets, aircraft, maps, chemical process flowshooets, PMOS&NMOS FET, and others) o Object library now shows icons of all objects. The size of the icons is selectable from 40 pixels to 120 via a pulldown menu and resource (Fig.library_icon_size). The the old "list" view is also available. o Simplistic super/subscripting by typing Ctrl-^ for superscript and Ctrl-_ for subscript. It creates a new string in the proper size and position for super- or subscripting. May be nested. Does NOT work for centered or right-justified text. o New export shortcut Shift-Alt-x or Shift-Meta-x to export using current settings without popping up the panel o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current settings without popping up the panel o Support for importing PNG image files added o GIF transparency for imported images honored by fig2dev now o New option to print only active layers when exporting or printing (see printing/exporting section in html docs). o When loading a compressed Fig file that is either read-only, or is on a read-only file system (e.g. a CDROM), xfig uncompresses it into the temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is undefined). o xfig recalculates the bounds of compound objects read in from the file, ignoring the bounds values in the file. This makes it easier for Fig file generators to produce compound objects since they don't have to know how to calculate the bounds themselves. fig2dev doesn't even use those values but recalculates them upon reading the file. o Increased maximum number of libraries to 100 as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 16:34:56 +02:00
XFIGDOCDIR= ${PREFIX}/share/doc/xfig
post-install:
${INSTALL_DATA_DIR} ${XFIGEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/Examples/*.fig ${XFIGEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/Examples/*.gif ${XFIGEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/Examples/*.jpg ${XFIGEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/Examples/*.xbm ${XFIGEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/Examples/*.xpm ${XFIGEXAMPLES}
Update to 3.2.3d, provided by Jim Bernard in pkg/13325. Extract of changes since 3.2.3: o Lots of new libraries (UML objects, knitting symbols, network devices, Chen's model of Entity Relations, widgets, aircraft, maps, chemical process flowshooets, PMOS&NMOS FET, and others) o Object library now shows icons of all objects. The size of the icons is selectable from 40 pixels to 120 via a pulldown menu and resource (Fig.library_icon_size). The the old "list" view is also available. o Simplistic super/subscripting by typing Ctrl-^ for superscript and Ctrl-_ for subscript. It creates a new string in the proper size and position for super- or subscripting. May be nested. Does NOT work for centered or right-justified text. o New export shortcut Shift-Alt-x or Shift-Meta-x to export using current settings without popping up the panel o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current settings without popping up the panel o Support for importing PNG image files added o GIF transparency for imported images honored by fig2dev now o New option to print only active layers when exporting or printing (see printing/exporting section in html docs). o When loading a compressed Fig file that is either read-only, or is on a read-only file system (e.g. a CDROM), xfig uncompresses it into the temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is undefined). o xfig recalculates the bounds of compound objects read in from the file, ignoring the bounds values in the file. This makes it easier for Fig file generators to produce compound objects since they don't have to know how to calculate the bounds themselves. fig2dev doesn't even use those values but recalculates them upon reading the file. o Increased maximum number of libraries to 100 as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 16:34:56 +02:00
${INSTALL_DATA} ${WRKSRC}/Doc/FORMAT* ${XFIGDOCDIR}
2002-10-08 15:24:22 +02:00
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/xaw.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"