diff options
author | vanilla <vanilla@FreeBSD.org> | 1998-12-09 13:11:56 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 1998-12-09 13:11:56 +0800 |
commit | e0a669e8fa458d2efcf72163c550117504fdfee6 (patch) | |
tree | d1a1ed4ab2e3aae9d58083bbc51b21fdff731972 /devel | |
parent | b61c1f2965d85b08c6fda08f421af4ab6ada4065 (diff) | |
download | freebsd-ports-gnome-e0a669e8fa458d2efcf72163c550117504fdfee6.tar.gz freebsd-ports-gnome-e0a669e8fa458d2efcf72163c550117504fdfee6.tar.zst freebsd-ports-gnome-e0a669e8fa458d2efcf72163c550117504fdfee6.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>
Diffstat (limited to 'devel')
-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 |