2011-11-29 18:49:01 +01:00
|
|
|
# $NetBSD: Makefile,v 1.57 2011/11/29 17:49:01 drochner Exp $
|
1997-12-29 03:22:39 +01:00
|
|
|
|
Update to 1.5E:
New in 1.5A:
The SimpleMenu widget now supports scrolling through entries too
numerous to fit on the screen, with a new resource supporting a
scroll jump value. The record variable is simple_menu.jump_val,
resourced as XtNjumpScroll, and classed as XtCJumpScroll. Adapted
from an early neXtaw toolkit.
Added 3D support to the SimpleMenu, Text, and Viewport widgets.
Four minor changes in ThreeD.c and SmeThreeD.c to have the widgets
use the app's colormap, rather than the screen's default, for those
apps that create their own.
Added the deletion of laygram.h to the Imakefile.
Created Xaw3dP.c, for functions shared by other modules that have
no other appropriate home.
A new directory containing sample resource files for a few apps.
See the README.AD file in that directory.
New in 1.5B:
Made Imakefile a bit more friendly to build options. Makefile now
defines the build options in Xaw3dP.h during the build.
Added to the key translation tables in Panner.c and TextTr.c, and
some rules to Imakefile, to make this distribution X11R5 compliant.
Tested on exactly one X11R5 system; your mileage may vary.
Made internationalization support conditional, for systems lacking
or broken. Tested on exactly two systems, one with and one without;
your mileage may vary.
New in 1.5C:
Enabled multi-plane pixmap support with a new Xt resource type
converter. The "Xaw3d build options" section has more information.
Added private Pixmap resources to the Label and SmeBSB widgets for
stippled copies of the public Pixmap resources (record variables
label.stippled, label.right_stippled, sme_bsb.left_stippled, and
sme_bsb.right_stippled, respectively). Insensitive pixmaps are now
rendered properly.
New in 1.5D:
Added two resources to the SimpleMenu widget for setting margins.
The SmeBSB widgets have a tighter relationship with their parent
and siblings; menus and their entries now respond properly to
changes in themselves or their parent. See the section "The SimpleMenu
widget and margins" below for a detailed explanation.
New in 1.5E:
Enabled a new resource in the ThreeD widget to specify one of five
shadow types. The record variable is threeD.relief (the record part
is transparent), resourced as XtNRelief and classed as XtCRelief.
It accepts as values XtReliefNone, XtReliefRaised, XtReliefSunken,
XtReliefRidge, and XtReliefGroove. Note that the Text, SimpleMenu,
Scrollbar, and Viewport widgets ignore this resource, and display
only raised or sunken shadows. Built on the unfinished work of an
early neXtaw toolkit.
Added support for sub-menus in the SimpleMenu widget. Inspired by
the xfig application, adapted from XFree86's X11R6.6 "Xaw7" toolkit,
and made better than both. See the section "The SimpleMenu widget
and sub-menus" below for usage.
Added a resource to the SmeBSB widget to specify an underlined
character in the label. The record variable is sme_bsb.underline,
resourced as XtNunderline, and classed as XtCUnderline. It accepts
an integer as an index to the character; a value less than zero or
greater than or equal to the label length inhibits underlining.
Adapted from a recent distribution of the xfig application.
Made the SmeThreeD widget sensitive to the GRAY_BLKWHT_STIPPLES
build option (see the "Xaw3d build options" section for what this
is and does).
Added support for "tooltips". Inspired by the xfig application and
adapted from XFree86's X11R6.6 "Xaw7" toolkit. See the section "The
Tip widget" below for usage.
Fixed some geometry and positioning bugs in the Label widget. It's
internalHeight and internalWidth resources are now used to enforce
a minimum size when it's resize resource is True. The Label (and
superclasses of) widget now resizes properly to changes in label
parts and internal margins (subject to any constraints placed on
the widgets, of course).
Swapped the top and bottom colors in the stippled pixmap shadows.
Fixed a shadow drawing bug in the Command widget, when the shape
is changed.
Fixed the shadow state bug in the SmeBSB widget.
Dropped support for Linux shared a.out libraries.
2005-02-18 16:54:48 +01:00
|
|
|
DISTNAME= Xaw3d-1.5E
|
2007-12-27 15:14:24 +01:00
|
|
|
PKGREVISION= 4
|
1997-12-29 03:22:39 +01:00
|
|
|
CATEGORIES= x11
|
Update to 1.5E:
New in 1.5A:
The SimpleMenu widget now supports scrolling through entries too
numerous to fit on the screen, with a new resource supporting a
scroll jump value. The record variable is simple_menu.jump_val,
resourced as XtNjumpScroll, and classed as XtCJumpScroll. Adapted
from an early neXtaw toolkit.
Added 3D support to the SimpleMenu, Text, and Viewport widgets.
Four minor changes in ThreeD.c and SmeThreeD.c to have the widgets
use the app's colormap, rather than the screen's default, for those
apps that create their own.
Added the deletion of laygram.h to the Imakefile.
Created Xaw3dP.c, for functions shared by other modules that have
no other appropriate home.
A new directory containing sample resource files for a few apps.
See the README.AD file in that directory.
New in 1.5B:
Made Imakefile a bit more friendly to build options. Makefile now
defines the build options in Xaw3dP.h during the build.
Added to the key translation tables in Panner.c and TextTr.c, and
some rules to Imakefile, to make this distribution X11R5 compliant.
Tested on exactly one X11R5 system; your mileage may vary.
Made internationalization support conditional, for systems lacking
or broken. Tested on exactly two systems, one with and one without;
your mileage may vary.
New in 1.5C:
Enabled multi-plane pixmap support with a new Xt resource type
converter. The "Xaw3d build options" section has more information.
Added private Pixmap resources to the Label and SmeBSB widgets for
stippled copies of the public Pixmap resources (record variables
label.stippled, label.right_stippled, sme_bsb.left_stippled, and
sme_bsb.right_stippled, respectively). Insensitive pixmaps are now
rendered properly.
New in 1.5D:
Added two resources to the SimpleMenu widget for setting margins.
The SmeBSB widgets have a tighter relationship with their parent
and siblings; menus and their entries now respond properly to
changes in themselves or their parent. See the section "The SimpleMenu
widget and margins" below for a detailed explanation.
New in 1.5E:
Enabled a new resource in the ThreeD widget to specify one of five
shadow types. The record variable is threeD.relief (the record part
is transparent), resourced as XtNRelief and classed as XtCRelief.
It accepts as values XtReliefNone, XtReliefRaised, XtReliefSunken,
XtReliefRidge, and XtReliefGroove. Note that the Text, SimpleMenu,
Scrollbar, and Viewport widgets ignore this resource, and display
only raised or sunken shadows. Built on the unfinished work of an
early neXtaw toolkit.
Added support for sub-menus in the SimpleMenu widget. Inspired by
the xfig application, adapted from XFree86's X11R6.6 "Xaw7" toolkit,
and made better than both. See the section "The SimpleMenu widget
and sub-menus" below for usage.
Added a resource to the SmeBSB widget to specify an underlined
character in the label. The record variable is sme_bsb.underline,
resourced as XtNunderline, and classed as XtCUnderline. It accepts
an integer as an index to the character; a value less than zero or
greater than or equal to the label length inhibits underlining.
Adapted from a recent distribution of the xfig application.
Made the SmeThreeD widget sensitive to the GRAY_BLKWHT_STIPPLES
build option (see the "Xaw3d build options" section for what this
is and does).
Added support for "tooltips". Inspired by the xfig application and
adapted from XFree86's X11R6.6 "Xaw7" toolkit. See the section "The
Tip widget" below for usage.
Fixed some geometry and positioning bugs in the Label widget. It's
internalHeight and internalWidth resources are now used to enforce
a minimum size when it's resize resource is True. The Label (and
superclasses of) widget now resizes properly to changes in label
parts and internal margins (subject to any constraints placed on
the widgets, of course).
Swapped the top and bottom colors in the stippled pixmap shadows.
Fixed a shadow drawing bug in the Command widget, when the shape
is changed.
Fixed the shadow state bug in the SmeBSB widget.
Dropped support for Linux shared a.out libraries.
2005-02-18 16:54:48 +01:00
|
|
|
MASTER_SITES= ftp://ftp.visi.com/users/hawkeyd/X/
|
1997-12-29 03:22:39 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2009-05-03 13:50:46 +02:00
|
|
|
HOMEPAGE= http://freshmeat.net/projects/xaw3d/
|
2001-02-17 18:06:11 +01:00
|
|
|
COMMENT= 3-D widgets based on the Athena Widget set
|
1998-01-25 00:58:04 +01:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
CONFLICTS= Xaw-Xpm-[0-9]*
|
1998-06-05 14:06:11 +02:00
|
|
|
|
2005-02-23 05:09:50 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2006-10-09 14:52:34 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2005-02-23 05:09:50 +01:00
|
|
|
|
2004-01-20 13:28:26 +01:00
|
|
|
WRKSRC= ${WRKDIR}/xc/lib/Xaw3d
|
2001-06-13 17:47:28 +02:00
|
|
|
USE_IMAKE= YES
|
2007-09-29 14:28:36 +02:00
|
|
|
USE_TOOLS+= lex yacc
|
1998-03-12 01:58:06 +01:00
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST-src
|
1997-12-29 03:22:39 +01:00
|
|
|
|
2001-03-11 10:45:40 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-03-01 23:55:26 +01:00
|
|
|
.if empty(X11BASE:M*openwin)
|
1998-01-16 18:39:17 +01:00
|
|
|
post-extract:
|
1998-03-12 01:58:06 +01:00
|
|
|
@(cd ${WRKSRC}; ${LN} -s .. X11)
|
2005-04-14 03:41:27 +02:00
|
|
|
.else
|
|
|
|
IMAKE_FLAGS+= -DXISOPENWIN
|
2005-03-01 23:55:26 +01:00
|
|
|
.endif
|
|
|
|
|
2005-05-16 20:45:29 +02:00
|
|
|
XMKMF_FLAGS+= ${IMAKE_FLAGS}
|
2005-04-14 03:41:27 +02:00
|
|
|
|
2005-03-01 23:55:26 +01:00
|
|
|
PLIST_SUBST+= INCDIR=include/X11
|
1998-01-16 18:39:17 +01:00
|
|
|
|
1997-12-29 03:22:39 +01:00
|
|
|
post-install:
|
2006-10-09 14:52:34 +02:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Xaw3d
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.XAW3D ${DESTDIR}${PREFIX}/share/doc/Xaw3d
|
2001-06-13 17:47:28 +02:00
|
|
|
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
2011-02-17 17:59:22 +01:00
|
|
|
${CHMOD} +w ${PLIST_SRC}
|
2003-06-12 17:46:03 +02:00
|
|
|
.if ${OPSYS} == "IRIX"
|
2006-10-09 14:52:34 +02:00
|
|
|
${INSTALL_DATA} /usr/lib${ABI}/libXaw3d* ${DESTDIR}${PREFIX}/lib/
|
2003-06-12 17:46:03 +02:00
|
|
|
${RM} -f /usr/lib${ABI}/libXaw3d*
|
|
|
|
.endif
|
2006-10-09 14:52:34 +02:00
|
|
|
cd ${DESTDIR}${PREFIX} && ${LS} lib/libXaw3d* >>${PLIST_SRC}
|
1997-12-29 03:22:39 +01:00
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|