openbsd-ports/x11/gnome/libs/Makefile

59 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2002/09/16 05:15:23 marcm Exp $
2001-09-13 16:27:19 -04:00
COMMENT= "libraries for the GNOME project"
DISTNAME= gnome-libs-1.4.1.4
CATEGORIES= x11 x11/gnome
HOMEPAGE= http://www.gnome.org/
2001-09-13 16:27:19 -04:00
MAINTAINER= Nils Nordman <nino@nforced.com>
2002-05-15 14:05:18 -04:00
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-libs/}
2001-09-13 16:27:19 -04:00
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
patch-*
# fix for Alpha
.if (${MACHINE_ARCH} == "alpha")
PATCH_LIST+= sup-alpha-*
.endif
LIB_DEPENDS= Imlib,gdk_imlib.19::graphics/imlib \
2001-09-13 16:27:19 -04:00
esd.2::audio/esound \
2002-04-19 10:43:36 -04:00
ORBit.5,ORBitutil.5,IIOP.5,ORBitCosNaming.5::devel/ORBit \
gdk.1.2::x11/gtk+
2001-09-13 16:27:19 -04:00
# GPL
2001-09-13 16:27:19 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_X11= Yes
CONFIGURE_STYLE= autoconf
2001-09-13 16:27:19 -04:00
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-prefer-db1
2001-09-13 16:27:19 -04:00
CONFIGURE_ARGS+= --with-kde-datadir=${LOCALBASE}/share
CONFIGURE_ARGS+= --disable-test-gnome
CONFIGURE_ARGS+= --disable-gtk-doc
2001-09-13 16:27:19 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
2001-09-13 16:27:19 -04:00
pre-build:
@if pkg dependencies check gnome-libs-\*; then \
if pkg dependencies check ${DISTNAME}; then \
:; \
else \
echo 1>&2 "Error: you must remove your old gnome-libs first"; \
exit 1; \
fi; \
fi;
2001-09-13 16:27:19 -04:00
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-libs; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gnome-libs/
2001-09-13 16:27:19 -04:00
.include <bsd.port.mk>