From e0a669e8fa458d2efcf72163c550117504fdfee6 Mon Sep 17 00:00:00 2001 From: vanilla Date: Wed, 9 Dec 1998 05:11:56 +0000 Subject: This is a new port of libPropListgnome. Some gnome software uses libPropList for property settings. Window Maker also uses libPropList, as does wdm. However, there seem to be some differences between the two and nevertheless, it would not be good to have future gnome ports depend on Window Maker. I made this port from the libPropList found on the gnome ftp sites; the distribution file is called libPropList-0.7.1gnome, but it builds the library by default as libPropList. This conflicts with the libPropList installed by Window Maker, so I made this port build the library as libPropListgnome. So any future gnome ports that need libPropList should link against libPropListgnome instead. PR: ports/9006 Submitted by: Glenn Johnson --- devel/libPropList/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/libPropList/distinfo | 1 + devel/libPropList/pkg-comment | 1 + devel/libPropList/pkg-descr | 9 +++++++++ devel/libPropList/pkg-plist | 6 ++++++ 5 files changed, 51 insertions(+) create mode 100644 devel/libPropList/Makefile create mode 100644 devel/libPropList/distinfo create mode 100644 devel/libPropList/pkg-comment create mode 100644 devel/libPropList/pkg-descr create mode 100644 devel/libPropList/pkg-plist (limited to 'devel') diff --git a/devel/libPropList/Makefile b/devel/libPropList/Makefile new file mode 100644 index 000000000000..69c53779b316 --- /dev/null +++ b/devel/libPropList/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: libPropListgnome +# Version required: 2.6 +# Date Created: 6 December 1998 +# Whom: Glenn Johnson +# +# $Id$ +# + +DISTNAME= libPropList-0.7.1gnome +PKGNAME= libproplistgnome-0.7.1 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.jimpick.com/pub/mirrors/gnome/sources/ \ + ftp://ftp.gnome.org/pub/GNOME/sources/ + +MAINTAINER= gljohns@bellsouth.net + +WRKSRC= ${WRKDIR}/libPropList +USE_X_PREFIX= yes + +.include + +pre-build: + ${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile + bison -d ${WRKSRC}/proplist.y -o ${WRKSRC}/proplist.tab.c + flex -t -B ${WRKSRC}/proplist.l > ${WRKSRC}/lex.pl.c + +post-install: + @${INSTALL_DATA} ${WRKSRC}/proplist.h ${PREFIX}/include/proplistgnome.h + @if [ "${PORTOBJFORMAT}" = "aout" ]; then \ + ${LN} -sf libPropListgnome.so.1.0 ${PREFIX}/lib/libPropListgnome.so; \ + fi + @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + +.include diff --git a/devel/libPropList/distinfo b/devel/libPropList/distinfo new file mode 100644 index 000000000000..12bdc9101d65 --- /dev/null +++ b/devel/libPropList/distinfo @@ -0,0 +1 @@ +MD5 (libPropList-0.7.1gnome.tar.gz) = c9c1347220765200d36f9644822f064c diff --git a/devel/libPropList/pkg-comment b/devel/libPropList/pkg-comment new file mode 100644 index 000000000000..2348f4ad154c --- /dev/null +++ b/devel/libPropList/pkg-comment @@ -0,0 +1 @@ +Property library for gnome diff --git a/devel/libPropList/pkg-descr b/devel/libPropList/pkg-descr new file mode 100644 index 000000000000..5408898fafa4 --- /dev/null +++ b/devel/libPropList/pkg-descr @@ -0,0 +1,9 @@ +This library is necessary for property settings for some gnome applications. + +The purpose of PL is to closely mimick the behaviour of the property +lists used in GNUstep/OPENSTEP (there formed with the NSString, +NSData, NSArray and NSDictionary classes) and to be compatible with +it. PL enables programs that use configuration or preference files to +make these compatible with GNUstep/OPENSTEP's user defaults handling +mechanism, without needing to use Objective-C or GNUstep/OPENSTEP +themselves. diff --git a/devel/libPropList/pkg-plist b/devel/libPropList/pkg-plist new file mode 100644 index 000000000000..91aec03a49f6 --- /dev/null +++ b/devel/libPropList/pkg-plist @@ -0,0 +1,6 @@ +include/proplistgnome.h +lib/libPropListgnome.a +lib/libPropListgnome.so +lib/libPropListgnome.so.1 +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B -- cgit