1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/devel/libPropList/Makefile
Vanilla I. Shu e4d0823961 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>
1998-12-09 05:11:56 +00:00

35 lines
974 B
Makefile

# 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>