diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-12-09 05:11:56 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-12-09 05:11:56 +0000 |
commit | e4d08239618891828ca80c54b02f4002d31226c4 (patch) | |
tree | 0aeae780dde66c0d67f72cb4aebe53cb63efc06c /devel/libPropList | |
parent | 44ec3ac5cba1e482ae5942e5a461eae9a87592ff (diff) | |
download | ports-e4d08239618891828ca80c54b02f4002d31226c4.tar.gz ports-e4d08239618891828ca80c54b02f4002d31226c4.zip |
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 <gljohns@bellsouth.net>
Notes
Notes:
svn path=/head/; revision=15215
Diffstat (limited to 'devel/libPropList')
-rw-r--r-- | devel/libPropList/Makefile | 34 | ||||
-rw-r--r-- | devel/libPropList/distinfo | 1 | ||||
-rw-r--r-- | devel/libPropList/pkg-comment | 1 | ||||
-rw-r--r-- | devel/libPropList/pkg-descr | 9 | ||||
-rw-r--r-- | devel/libPropList/pkg-plist | 6 |
5 files changed, 51 insertions, 0 deletions
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 <bsd.port.pre.mk> + +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 <bsd.port.post.mk> 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 |