pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libslang2 Import devel/libslang2 (version 2.1.3)...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d042b1fb8506
branches: trunk
changeset: 545670:d042b1fb8506
user: bjs <bjs%pkgsrc.org@localhost>
date: Sat Aug 09 21:22:11 2008 +0000
description:
Import devel/libslang2 (version 2.1.3). This is the current
version, and packages should switch to it as they are deemed compatible.
blurb:
S-Lang is a C programmer's library that includes routines for the rapid
development of sophisticated, user friendly, multi-platform applications.
The S-Lang library includes the following:
- Low level tty input routines for reading single characters at a
time, as well as low-level terminal-independent routines for
manipulating the display of a terminal.
- Keymap routines for defining keys and manipulating multiple
keymaps.
- High level screen management routines for manipulating both
monochrome and color terminals. These routines are very efficient.
- Routines for reading single line input with line editing and recall
capabilities.
- Searching functions: both ordinary searches and regular expression
searches.
- An embedded stack-based language interpreter with a C-like syntax.
- A malloc debugging package
diffstat:
devel/libslang2/DESCR | 24 +++++++++
devel/libslang2/Makefile | 55 +++++++++++++++++++++
devel/libslang2/PLIST | 102 +++++++++++++++++++++++++++++++++++++++
devel/libslang2/buildlink3.mk | 36 +++++++++++++
devel/libslang2/distinfo | 11 ++++
devel/libslang2/options.mk | 36 +++++++++++++
devel/libslang2/patches/patch-aa | 83 +++++++++++++++++++++++++++++++
devel/libslang2/patches/patch-ab | 31 +++++++++++
devel/libslang2/patches/patch-ac | 16 ++++++
devel/libslang2/patches/patch-ad | 53 ++++++++++++++++++++
devel/libslang2/patches/patch-ae | 65 ++++++++++++++++++++++++
devel/libslang2/patches/patch-af | 62 +++++++++++++++++++++++
12 files changed, 574 insertions(+), 0 deletions(-)
diffs (truncated from 622 to 300 lines):
diff -r 9420a8162b95 -r d042b1fb8506 devel/libslang2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libslang2/DESCR Sat Aug 09 21:22:11 2008 +0000
@@ -0,0 +1,24 @@
+S-Lang is a C programmer's library that includes routines for the rapid
+development of sophisticated, user friendly, multi-platform applications.
+
+The S-Lang library includes the following:
+
+ - Low level tty input routines for reading single characters at a
+ time, as well as low-level terminal-independent routines for
+ manipulating the display of a terminal.
+
+ - Keymap routines for defining keys and manipulating multiple
+ keymaps.
+
+ - High level screen management routines for manipulating both
+ monochrome and color terminals. These routines are very efficient.
+
+ - Routines for reading single line input with line editing and recall
+ capabilities.
+
+ - Searching functions: both ordinary searches and regular expression
+ searches.
+
+ - An embedded stack-based language interpreter with a C-like syntax.
+
+ - A malloc debugging package
diff -r 9420a8162b95 -r d042b1fb8506 devel/libslang2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libslang2/Makefile Sat Aug 09 21:22:11 2008 +0000
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/08/09 21:22:11 bjs Exp $
+#
+
+DISTNAME= slang-2.1.3
+PKGNAME= lib${DISTNAME:slang%=slang2%}
+SVR4_PKGNAME= lslan
+CATEGORIES= devel
+MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v2.1/ \
+ http://gd.tuwien.ac.at/editors/davis/slang/v2.1/ \
+ ftp://ftp.ntua.gr/pub/lang/slang/slang/v2.1/ \
+ ftp://ftp.plig.org/pub/slang/v2.1/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.s-lang.org/
+COMMENT= Routines for rapid alpha-numeric terminal applications development
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+MAKE_JOBS_SAFE= no
+
+BUILDLINK_TRANSFORM+= l:slang:slang2
+
+USE_TOOLS+= gmake
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
+CONFIGURE_ARGS+= --without-x
+
+DLOPEN_REQUIRE_PTHREADS=no
+
+EGDIR= ${PREFIX}/share/examples/libslang2
+CONF_FILES+= ${EGDIR}/slsh.rc ${PKG_SYSCONFDIR}/slsh.rc
+
+INSTALL_MAKE_FLAGS+= DEST_SLSH_CONF_DIR=${DESTDIR}/${EGDIR}
+
+CONFIGURE_ARGS+= --includedir=${PREFIX}/include/slang2
+
+.include "../../mk/termcap.buildlink3.mk"
+
+.if ${TERMCAP_TYPE} == "termcap"
+CONFIGURE_ENV+= TERMCAP=${BUILDLINK_LDADD.termcap:Q}
+CONFIGURE_ENV+= MISC_TERMINFO_DIRS=${PREFIX}/share/terminfo
+.else
+CONFIGURE_ENV+= TERMCAP=
+CONFIGURE_ENV+= MISC_TERMINFO_DIRS=${BUILDLINK_PREFIX.termcap}/share/terminfo
+.endif
+
+USE_FEATURES= # empty (used in options.mk)
+.include "options.mk"
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9420a8162b95 -r d042b1fb8506 devel/libslang2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libslang2/PLIST Sat Aug 09 21:22:11 2008 +0000
@@ -0,0 +1,102 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/08/09 21:22:11 bjs Exp $
+bin/slsh
+include/slang2/slang.h
+include/slang2/slcurses.h
+lib/libslang2.la
+lib/slang/v2/modules/fcntl-module.la
+lib/slang/v2/modules/iconv-module.la
+${PLIST.oniguruma}lib/slang/v2/modules/onig-module.la
+${PLIST.pcre}lib/slang/v2/modules/pcre-module.la
+${PLIST.png}lib/slang/v2/modules/png-module.la
+lib/slang/v2/modules/select-module.la
+lib/slang/v2/modules/slsmg-module.la
+lib/slang/v2/modules/socket-module.la
+lib/slang/v2/modules/termios-module.la
+lib/slang/v2/modules/varray-module.la
+man/man1/slsh.1
+share/doc/slang/v2/COPYING
+share/doc/slang/v2/changes.txt
+share/doc/slang/v2/cref.txt
+share/doc/slang/v2/cslang.txt
+share/doc/slang/v2/slang.txt
+share/doc/slang/v2/slangdoc.html
+share/doc/slang/v2/slangfun.txt
+share/doc/slsh/html/slshfun-1.html
+share/doc/slsh/html/slshfun-2.html
+share/doc/slsh/html/slshfun-3.html
+share/doc/slsh/html/slshfun-4.html
+share/doc/slsh/html/slshfun-5.html
+share/doc/slsh/html/slshfun-6.html
+share/doc/slsh/html/slshfun-7.html
+share/doc/slsh/html/slshfun.html
+share/examples/libslang2/slsh.rc
+share/slsh/arrayfuns.sl
+share/slsh/autoload.sl
+share/slsh/cmaps/cool.map
+share/slsh/cmaps/copper.map
+share/slsh/cmaps/drywet.map
+share/slsh/cmaps/gebco.map
+share/slsh/cmaps/globe.map
+share/slsh/cmaps/gray.map
+share/slsh/cmaps/haxby.map
+share/slsh/cmaps/hot.map
+share/slsh/cmaps/jet.map
+share/slsh/cmaps/no_green.map
+share/slsh/cmaps/ocean.map
+share/slsh/cmaps/polar.map
+share/slsh/cmaps/rainbow.map
+share/slsh/cmaps/red2green.map
+share/slsh/cmaps/relief.map
+share/slsh/cmaps/sealand.map
+share/slsh/cmaps/seis.map
+share/slsh/cmaps/split.map
+share/slsh/cmaps/topo.map
+share/slsh/cmaps/wysiwyg.map
+share/slsh/cmdopt.sl
+share/slsh/fcntl.sl
+share/slsh/glob.sl
+share/slsh/help
+share/slsh/iconv.sl
+share/slsh/onig.sl
+share/slsh/pcre.sl
+share/slsh/png.sl
+share/slsh/print.sl
+share/slsh/profile.sl
+share/slsh/readascii.sl
+share/slsh/require.sl
+share/slsh/rline/complete.sl
+share/slsh/rline/editfuns.sl
+share/slsh/rline/emacskeys.sl
+share/slsh/rline/history.sl
+share/slsh/rline/slrline.rc
+share/slsh/rline/vikeys.sl
+share/slsh/scripts/jpegsize
+share/slsh/scripts/lsrpm
+share/slsh/scripts/sldb
+share/slsh/scripts/slprof
+share/slsh/scripts/svnsh
+share/slsh/select.sl
+share/slsh/sldb.sl
+share/slsh/sldbcore.sl
+share/slsh/sldbsock.sl
+share/slsh/slshhelp.sl
+share/slsh/slshrl.sl
+share/slsh/slsmg.sl
+share/slsh/socket.sl
+share/slsh/stkcheck.sl
+share/slsh/structfuns.sl
+share/slsh/termios.sl
+share/slsh/varray.sl
+@dirrm share/slsh/scripts
+@dirrm share/slsh/rline
+@dirrm share/slsh/cmaps
+@dirrm share/slsh
+@dirrm share/examples/libslang2
+@dirrm share/doc/slsh/html
+@dirrm share/doc/slsh
+@dirrm share/doc/slang/v2
+@dirrm share/doc/slang
+@dirrm lib/slang/v2/modules
+@dirrm lib/slang/v2
+@dirrm lib/slang
+@dirrm include/slang2
diff -r 9420a8162b95 -r d042b1fb8506 devel/libslang2/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libslang2/buildlink3.mk Sat Aug 09 21:22:11 2008 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/08/09 21:22:11 bjs Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBSLANG2_BUILDLINK3_MK:= ${LIBSLANG2_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libslang2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibslang2}
+BUILDLINK_PACKAGES+= libslang2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libslang2
+
+.if ${LIBSLANG2_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libslang2+= libslang2>=2.1.3
+BUILDLINK_PKGSRCDIR.libslang2?= ../../devel/libslang2
+BUILDLINK_FNAME_TRANSFORM.libslang2+= -e 's|include/slang2/|include/|g'
+BUILDLINK_TRANSFORM+= l:slang:slang2
+pkgbase:= libslang2
+. include "../../mk/pkg-build-options.mk"
+.endif # LIBSLANG2_BUILDLINK3_MK
+
+.if !empty(PKG_BUILD_OPTIONS.libslang2:Mpng)
+. include "../../graphics/png/buildlink3.mk"
+.endif
+.if !empty(PKG_BUILD_OPTIONS.libslang2:Mpcre)
+. include "../../devel/pcre/buildlink3.mk"
+.endif
+.if !empty(PKG_BUILD_OPTIONS.libslang2:Moniguruma)
+. include "../../textproc/oniguruma/buildlink3.mk"
+.endif
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 9420a8162b95 -r d042b1fb8506 devel/libslang2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libslang2/distinfo Sat Aug 09 21:22:11 2008 +0000
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/08/09 21:22:11 bjs Exp $
+
+SHA1 (slang-2.1.3.tar.bz2) = 31fc6162684f69d9dd0377372dfdc336f0c4343a
+RMD160 (slang-2.1.3.tar.bz2) = b59424972e52c361a15b23874d1a0539683608e5
+Size (slang-2.1.3.tar.bz2) = 1191425 bytes
+SHA1 (patch-aa) = 6bccdf8d5caaadbc66c3f2b7eeab6da85efc5fef
+SHA1 (patch-ab) = eae92ea5fac608b1dd9e6106b452d67c79c19bcb
+SHA1 (patch-ac) = 1181b6ce5de5c7c149aa8692dbcded981bda688e
+SHA1 (patch-ad) = 03f839d82cd3f18f526293ff8015bfa1e029ede0
+SHA1 (patch-ae) = 9735e6211887bc6069e8efc6c471baac645d91f7
+SHA1 (patch-af) = 335d14eef480ff49bd7fb2ffc7a434a77ac9a2ec
diff -r 9420a8162b95 -r d042b1fb8506 devel/libslang2/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libslang2/options.mk Sat Aug 09 21:22:11 2008 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: options.mk,v 1.1.1.1 2008/08/09 21:22:11 bjs Exp $
+#
+PKG_OPTIONS_VAR= PKG_OPTIONS.libslang2
+PKG_SUPPORTED_OPTIONS= png oniguruma pcre
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS= ${PKG_SUPPORTED_OPTIONS}
+.for var in ${PLIST_VARS}
+PLIST.${var}= yes
+.endfor
+
+.if !empty(PKG_OPTIONS:Mpng)
+CONFIGURE_ARGS+= --with-png=${BUILDLINK_PREFIX.png}
+. include "../../graphics/png/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-png
+.endif
+
+.if !empty(PKG_OPTIONS:Mpcre)
+CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre}
+. include "../../devel/pcre/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-pcre
+.endif
+
+.if !empty(PKG_OPTIONS:Moniguruma)
+CONFIGURE_ARGS+= --with-onig=${BUILDLINK_PREFIX.oniguruma}
+. include "../../textproc/oniguruma/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-onig
+.endif
+
+.if empty(PKG_OPTIONS:Moniguruma) && empty(PKG_OPTIONS:Mpcre)
+USE_FEATURES+= regcomp
+.endif
diff -r 9420a8162b95 -r d042b1fb8506 devel/libslang2/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libslang2/patches/patch-aa Sat Aug 09 21:22:11 2008 +0000
@@ -0,0 +1,83 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/08/09 21:22:11 bjs Exp $
+
+--- src/Makefile.in.orig 2007-09-07 22:47:29.000000000 -0400
++++ src/Makefile.in
+@@ -4,7 +4,7 @@
+ #---------------------------------------------------------------------------
+ CC = @CC@
+ CFLAGS = @CFLAGS@
Home |
Main Index |
Thread Index |
Old Index