summaryrefslogtreecommitdiff
path: root/net/libIDL
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2002-04-23 12:21:40 +0000
committerrh <rh@pkgsrc.org>2002-04-23 12:21:40 +0000
commit1551e3005cd7c325b350782270d134183272b360 (patch)
treefa82d0fbc3db5ee3750d8931938988f588929809 /net/libIDL
parentf9ba6c87679098c9af75d52a1101bc3ff91fc4c2 (diff)
downloadpkgsrc-1551e3005cd7c325b350782270d134183272b360.tar.gz
Initial import of libIDL-0.7.4, a CORBA Interface Definition Language
parser.
Diffstat (limited to 'net/libIDL')
-rw-r--r--net/libIDL/DESCR21
-rw-r--r--net/libIDL/Makefile21
-rw-r--r--net/libIDL/PLIST14
-rw-r--r--net/libIDL/buildlink.mk52
-rw-r--r--net/libIDL/distinfo4
5 files changed, 112 insertions, 0 deletions
diff --git a/net/libIDL/DESCR b/net/libIDL/DESCR
new file mode 100644
index 00000000000..a7fd478b683
--- /dev/null
+++ b/net/libIDL/DESCR
@@ -0,0 +1,21 @@
+libIDL is a library licensed under the GNU LGPL for creating trees of
+CORBA Interface Definition Language (IDL) files, which is a
+specification for defining portable interfaces. libIDL was initially
+written for ORBit (the ORB from the GNOME project, and the primary
+means of libIDL distribution). However, the functionality was
+designed to be as reusable and portable as possible.
+
+It is written in C, and the aim is to retain the ability to compile it
+on a system with a standard C compiler. Preprocessed parser files are
+included so you are not forced to rebuild the parser, however an
+effort is made to keep the parser and lexer compatible with standard
+Unix yacc. Currently, flex is required to generate the lexical
+scanner.
+
+With libIDL, you can parse an IDL file which will be automatically run
+through the C preprocessor (on systems with one available), and have
+detailed error and warning messages displayed. On a compilation
+without errors, the tree is returned to the custom application.
+libIDL performs compilation phases from lexical analysis to nearly
+full semantic analysis with some optimizations, and will attempt to
+generate meaningful errors and warnings for invalid or deprecated IDL.
diff --git a/net/libIDL/Makefile b/net/libIDL/Makefile
new file mode 100644
index 00000000000..2a8c04d2b61
--- /dev/null
+++ b/net/libIDL/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/23 12:21:40 rh Exp $
+#
+
+DISTNAME= libIDL-0.7.4
+CATEGORIES= net gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=pre-gnome2/sources/libIDL/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.gnome.org/
+COMMENT= CORBA Interface Definition Language parser
+
+USE_LIBTOOL= YES
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
+
+.include "../../converters/libiconv/buildlink.mk"
+.include "../../devel/pkgconfig/buildlink.mk"
+.include "../../devel/glib2/buildlink.mk"
+.include "../../mk/texinfo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/libIDL/PLIST b/net/libIDL/PLIST
new file mode 100644
index 00000000000..03c240c02ad
--- /dev/null
+++ b/net/libIDL/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/23 12:21:40 rh Exp $
+bin/libIDL-config-2
+include/libIDL-2.0/libIDL/IDL.h
+@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/libIDL2.info
+info/libIDL2.info
+@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/libIDL2.info
+lib/libIDL-2.a
+lib/libIDL-2.la
+lib/libIDL-2.so
+lib/libIDL-2.so.0
+lib/libIDL-2.so.0.0
+lib/pkgconfig/libIDL-2.0.pc
+@dirrm include/libIDL-2.0/libIDL
+@dirrm include/libIDL-2.0
diff --git a/net/libIDL/buildlink.mk b/net/libIDL/buildlink.mk
new file mode 100644
index 00000000000..e59cab8b57d
--- /dev/null
+++ b/net/libIDL/buildlink.mk
@@ -0,0 +1,52 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/04/23 12:21:40 rh Exp $
+#
+# This Makefile fragment is included by packages that use idl.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.idl to the dependency pattern
+# for the version of idl 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(LIBIDL2_BUILDLINK_MK)
+LIBIDL2_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.idl?= libIDL>=0.7.4
+DEPENDS+= ${BUILDLINK_DEPENDS.idl}:../../net/libIDL
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.idl=idl
+BUILDLINK_PREFIX.idl_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.idl= include/libIDL-2.0/libIDL/*
+BUILDLINK_FILES.idl+= lib/libIDL-2.*
+
+.include "../../converters/libiconv/buildlink.mk"
+.include "../../devel/pkgconfig/buildlink.mk"
+.include "../../devel/glib2/buildlink.mk"
+
+BUILDLINK_TARGETS.idl= idl-buildlink
+BUILDLINK_TARGETS.idl+=idl-buildlink-config-wrapper
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.idl}
+BUILDLINK_TARGETS+= ${BUILDLINK_PKG_CONFIG}
+
+BUILDLINK_CONFIG.idl=${BUILDLINK_PREFIX.idl}/bin/libIDL-config-2
+BUILDLINK_CONFIG_WRAPPER.idl=${BUILDLINK_DIR}/bin/libIDL-config-2
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.idl}|${BUILDLINK_CONFIG.idl}|g"
+
+.if defined(USE_CONFIG_WRAPPER)
+LIBIDL2_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.idl}
+CONFIGURE_ENV+= LIBIDL2_CONFIG="${LIBIDL2_CONFIG}"
+MAKE_ENV+= LIBIDL2_CONFIG="${LIBIDL2_CONFIG}"
+.endif
+
+pre-configure: ${BUILDLINK_TARGETS}
+idl-buildlink: _BUILDLINK_USE
+idl-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
+
+.endif # LIBIDL2_BUILDLINK_MK
diff --git a/net/libIDL/distinfo b/net/libIDL/distinfo
new file mode 100644
index 00000000000..0bdade56991
--- /dev/null
+++ b/net/libIDL/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/23 12:21:40 rh Exp $
+
+SHA1 (libIDL-0.7.4.tar.bz2) = c371334d04145f7ccf869305069fee545f093cee
+Size (libIDL-0.7.4.tar.bz2) = 265009 bytes