bae0e34e39
Work done primarily by Francois Briere, thanks Francois.
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2004/12/10 20:36:44 marcm Exp $
|
|
|
|
COMMENT= "libraries for the GNOME project"
|
|
|
|
DISTNAME= libgnome-2.8.0
|
|
CATEGORIES= x11/gnome
|
|
|
|
HOMEPAGE= http://www.gnome.org/
|
|
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnome/2.8/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MODULES= devel/gettext
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
|
|
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
|
LIB_DEPENDS= esd.2.26::audio/esound \
|
|
gnomevfs-2::x11/gnome/vfs2 \
|
|
audiofile::devel/libaudiofile \
|
|
xslt.1::textproc/libxslt
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu old
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
|
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/libgnome
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
post-install:
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libgnome; \
|
|
cp -Rp ${WRKINST}/${SYSCONFDIR}/gnome/* ${PREFIX}/share/examples/libgnome/
|
|
|
|
.include <bsd.port.mk>
|