openbsd-ports/x11/gnome/libs/Makefile
naddy 0212ed7bf9 Don't assume a specific depth for prefix and don't hardcode paths either.
From maintainer Nils Nordman <nino@nforced.com>.
2001-09-20 19:26:32 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2001/09/20 19:26:32 naddy Exp $
COMMENT= "libraries for the GNOME project"
V= 1.2.13
DISTNAME= gnome-libs-${V}
CATEGORIES= x11
NEED_VERSION= 1.455
HOMEPAGE= http://www.gnome.org
MAINTAINER= Nils Nordman <nino@nforced.com>
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-libs
LIB_DEPENDS= gdk_imlib.19::graphics/imlib \
esd.2::audio/esound \
db::databases/db \
ORBit.5::devel/ORBit
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_X11= Yes
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --with-kde-datadir=${LOCALBASE}/share
CONFIGURE_ARGS+= --localstatedir=/var/run
CONFIGURE_ARGS+= --disable-test-gnome
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
DB_LIB="-ldb"
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-libs; \
cp -rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gnome-libs/
.include <bsd.port.mk>