summaryrefslogtreecommitdiff
path: root/x11/neXtaw
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-02 20:10:47 +0000
committerjlam <jlam@pkgsrc.org>2002-08-02 20:10:47 +0000
commitdc08db6efef9db0345038d26399c774a0935a42b (patch)
tree67a3970fa71fb0936ef968d1cf35de1eaa12daf9 /x11/neXtaw
parent761b87a33a49397fad476ef9c21a531bd70906cc (diff)
downloadpkgsrc-dc08db6efef9db0345038d26399c774a0935a42b.tar.gz
x11/neXtaw is a modified version of the Athena Widgets with N*XTSTEP
appearance. From pkg/15450 by Kevin P. Neal <kpn at neutralgood dot org>.
Diffstat (limited to 'x11/neXtaw')
-rw-r--r--x11/neXtaw/DESCR1
-rw-r--r--x11/neXtaw/Makefile37
-rw-r--r--x11/neXtaw/PLIST121
-rw-r--r--x11/neXtaw/buildlink.mk37
-rw-r--r--x11/neXtaw/distinfo5
-rw-r--r--x11/neXtaw/patches/patch-aa14
6 files changed, 215 insertions, 0 deletions
diff --git a/x11/neXtaw/DESCR b/x11/neXtaw/DESCR
new file mode 100644
index 00000000000..a10466cbb36
--- /dev/null
+++ b/x11/neXtaw/DESCR
@@ -0,0 +1 @@
+neXtaw is a modified version of the Athena Widgets with N*XTSTEP appearance.
diff --git a/x11/neXtaw/Makefile b/x11/neXtaw/Makefile
new file mode 100644
index 00000000000..e0c4e5b727b
--- /dev/null
+++ b/x11/neXtaw/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/02 20:10:47 jlam Exp $
+
+DISTNAME= neXtaw-0.12
+CATEGORIES= x11
+MASTER_SITES= http://siag.nu/pub/neXtaw/
+
+MAINTAINER= packages@netbsd.org
+COMMENT= NeXTstep-like widgets based on the Athena Widget set
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_BUILDLINK_ONLY= # defined
+GNU_CONFIGURE= # defined
+
+USE_LIBTOOL= # defined
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/README.XAW3D ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ for file in ${WRKSRC}/doc/app-defaults/*; do \
+ ${INSTALL_DATA} $${file} ${EGDIR}; \
+ done
+
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
+
+# XXX On NetBSD/alpha 1.5.2, gcc has an optimization bug.
+.if !empty(MACHINE_PLATFORM:MNetBSD-1.5.2-alpha)
+CFLAGS+= -O0
+.endif
diff --git a/x11/neXtaw/PLIST b/x11/neXtaw/PLIST
new file mode 100644
index 00000000000..0afe8463728
--- /dev/null
+++ b/x11/neXtaw/PLIST
@@ -0,0 +1,121 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/02 20:10:47 jlam Exp $
+include/X11/neXtaw/AllWidgets.h
+include/X11/neXtaw/AsciiSink.h
+include/X11/neXtaw/AsciiSinkP.h
+include/X11/neXtaw/AsciiSrc.h
+include/X11/neXtaw/AsciiSrcP.h
+include/X11/neXtaw/AsciiText.h
+include/X11/neXtaw/AsciiTextP.h
+include/X11/neXtaw/Box.h
+include/X11/neXtaw/BoxP.h
+include/X11/neXtaw/Cardinals.h
+include/X11/neXtaw/Clock.h
+include/X11/neXtaw/ClockP.h
+include/X11/neXtaw/Command.h
+include/X11/neXtaw/CommandP.h
+include/X11/neXtaw/Dialog.h
+include/X11/neXtaw/DialogP.h
+include/X11/neXtaw/Form.h
+include/X11/neXtaw/FormP.h
+include/X11/neXtaw/Grip.h
+include/X11/neXtaw/GripP.h
+include/X11/neXtaw/Label.h
+include/X11/neXtaw/LabelP.h
+include/X11/neXtaw/Layout.h
+include/X11/neXtaw/LayoutP.h
+include/X11/neXtaw/List.h
+include/X11/neXtaw/ListP.h
+include/X11/neXtaw/MenuButtoP.h
+include/X11/neXtaw/MenuButton.h
+include/X11/neXtaw/Misc.h
+include/X11/neXtaw/MultiSink.h
+include/X11/neXtaw/MultiSinkP.h
+include/X11/neXtaw/MultiSrc.h
+include/X11/neXtaw/MultiSrcP.h
+include/X11/neXtaw/Paned.h
+include/X11/neXtaw/PanedP.h
+include/X11/neXtaw/Panner.h
+include/X11/neXtaw/PannerP.h
+include/X11/neXtaw/Porthole.h
+include/X11/neXtaw/PortholeP.h
+include/X11/neXtaw/Repeater.h
+include/X11/neXtaw/RepeaterP.h
+include/X11/neXtaw/Reports.h
+include/X11/neXtaw/Scrollbar.h
+include/X11/neXtaw/ScrollbarP.h
+include/X11/neXtaw/Simple.h
+include/X11/neXtaw/SimpleMenP.h
+include/X11/neXtaw/SimpleMenu.h
+include/X11/neXtaw/SimpleP.h
+include/X11/neXtaw/Sme.h
+include/X11/neXtaw/SmeBSB.h
+include/X11/neXtaw/SmeBSBP.h
+include/X11/neXtaw/SmeLine.h
+include/X11/neXtaw/SmeLineP.h
+include/X11/neXtaw/SmeP.h
+include/X11/neXtaw/SmeThreeD.h
+include/X11/neXtaw/SmeThreeDP.h
+include/X11/neXtaw/StripCharP.h
+include/X11/neXtaw/StripChart.h
+include/X11/neXtaw/Text.h
+include/X11/neXtaw/TextP.h
+include/X11/neXtaw/TextSink.h
+include/X11/neXtaw/TextSinkP.h
+include/X11/neXtaw/TextSrc.h
+include/X11/neXtaw/TextSrcP.h
+include/X11/neXtaw/ThreeD.h
+include/X11/neXtaw/ThreeDP.h
+include/X11/neXtaw/Toggle.h
+include/X11/neXtaw/ToggleP.h
+include/X11/neXtaw/Tree.h
+include/X11/neXtaw/TreeP.h
+include/X11/neXtaw/VendorEP.h
+include/X11/neXtaw/Viewport.h
+include/X11/neXtaw/ViewportP.h
+include/X11/neXtaw/XawAlloc.h
+include/X11/neXtaw/XawI18n.h
+include/X11/neXtaw/XawImP.h
+include/X11/neXtaw/XawInit.h
+include/X11/neXtaw/laygram.h
+lib/libneXtaw.a
+lib/libneXtaw.la
+lib/libneXtaw.so
+lib/libneXtaw.so.0
+lib/libneXtaw.so.0.2
+share/doc/neXtaw/FAQ
+share/doc/neXtaw/README
+share/doc/neXtaw/README.XAW3D
+share/examples/neXtaw/00-README
+share/examples/neXtaw/Bitmap
+share/examples/neXtaw/Bitmap-color
+share/examples/neXtaw/Editres
+share/examples/neXtaw/Editres-color
+share/examples/neXtaw/Emacs
+share/examples/neXtaw/Fig
+share/examples/neXtaw/GXditview
+share/examples/neXtaw/Ghostview
+share/examples/neXtaw/Makefile
+share/examples/neXtaw/Makefile.am
+share/examples/neXtaw/Makefile.in
+share/examples/neXtaw/XCalc
+share/examples/neXtaw/XClipboard
+share/examples/neXtaw/XClock
+share/examples/neXtaw/XConsole
+share/examples/neXtaw/XFontSel
+share/examples/neXtaw/XGrab
+share/examples/neXtaw/XLoad
+share/examples/neXtaw/XPaint
+share/examples/neXtaw/XTerm
+share/examples/neXtaw/Xdefaults
+share/examples/neXtaw/Xedit
+share/examples/neXtaw/Xfd
+share/examples/neXtaw/Xgc
+share/examples/neXtaw/Xloadimage
+share/examples/neXtaw/Xmag
+share/examples/neXtaw/Xman
+share/examples/neXtaw/Xmessage
+share/examples/neXtaw/Xmh
+share/examples/neXtaw/Xvidtune
+@dirrm share/examples/neXtaw
+@dirrm share/doc/neXtaw
+@dirrm include/X11/neXtaw
diff --git a/x11/neXtaw/buildlink.mk b/x11/neXtaw/buildlink.mk
new file mode 100644
index 00000000000..50f4fab48cb
--- /dev/null
+++ b/x11/neXtaw/buildlink.mk
@@ -0,0 +1,37 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/08/02 20:10:47 jlam Exp $
+#
+# This Makefile fragment is included by packages that use neXtaw.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.neXtaw to the dependency pattern
+# for the version of neXtaw desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(NEXTAW_BUILDLINK_MK)
+NEXTAW_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.neXtaw?= neXtaw>=0.12
+DEPENDS+= ${BUILDLINK_DEPENDS.neXtaw}:../../x11/neXtaw
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.neXtaw=neXtaw
+BUILDLINK_PREFIX.neXtaw_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.neXtaw+= include/X11/neXtaw/*
+BUILDLINK_FILES.neXtaw+= lib/libneXtaw.*
+
+BUILDLINK_TARGETS.neXtaw+= neXtaw-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.neXtaw}
+
+LIBXAW?= -L${BUILDLINK_DIR}/lib -lneXtaw
+MAKE_ENV+= LIBXAW="${LIBXAW}"
+
+pre-configure: ${BUILDLINK_TARGETS.neXtaw}
+neXtaw-buildlink: _BUILDLINK_USE
+
+.endif # NEXTAW_BUILDLINK_MK
diff --git a/x11/neXtaw/distinfo b/x11/neXtaw/distinfo
new file mode 100644
index 00000000000..19b4ad5c963
--- /dev/null
+++ b/x11/neXtaw/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/08/02 20:10:47 jlam Exp $
+
+SHA1 (neXtaw-0.12.tar.gz) = 9ba55e6a002e70cab64e0b2a7715e5faba889f3c
+Size (neXtaw-0.12.tar.gz) = 566925 bytes
+SHA1 (patch-aa) = 38f5997f4c425a5967d37dd84025368081afd1a0
diff --git a/x11/neXtaw/patches/patch-aa b/x11/neXtaw/patches/patch-aa
new file mode 100644
index 00000000000..2a24f782eca
--- /dev/null
+++ b/x11/neXtaw/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/08/02 20:10:47 jlam Exp $
+
+--- X11/neXtaw/XawI18n.h.orig Fri Jan 4 08:00:43 2002
++++ X11/neXtaw/XawI18n.h
+@@ -30,7 +30,9 @@ in this Software without prior written a
+ #ifdef HAS_WCTYPE_H
+ #include <wctype.h>
+ #if !defined(__linux__)
++#ifndef NO_WIDEC_H
+ #include <widec.h>
++#endif
+ #ifdef HAVE_WCSLEN
+ #define wcslen(c) wslen(c)
+ #endif