openbsd-ports/x11/gnome/libs/Makefile

72 lines
2.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.30 2006/10/03 19:46:08 naddy Exp $
2001-09-13 16:27:19 -04:00
COMMENT= "libraries for the GNOME project"
DISTNAME= gnome-libs-1.4.2
PKGNAME= ${DISTNAME}p3
2006-01-08 07:44:10 -05:00
SHARED_LIBS= art_lgpl 4.0 \
gnome 36.3 \
gnomesupport 0.0 \
gnomeui 47.0 \
gnorba 28.8 \
gnorbagtk 0.0 \
gtkxmhtml 1.1 \
zvt 6.0
CATEGORIES= x11 x11/gnome
HOMEPAGE= http://www.gnome.org/
2001-09-13 16:27:19 -04:00
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-libs/1.4/}
2001-09-13 16:27:19 -04:00
LIB_DEPENDS= gdk_imlib.>=19::graphics/imlib \
esd.>=2::audio/esound \
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
2004-12-15 08:57:55 -05:00
WANTLIB= ICE SM X11 Xext Xi Xpm audiofile c glib gmodule gtk \
iconv intl jpeg m png tiff ungif util wrap z
2001-09-13 16:27:19 -04:00
2006-01-08 07:44:10 -05:00
USE_LIBTOOL= Yes
2001-09-13 16:27:19 -04:00
USE_X11= Yes
USE_GMAKE= Yes
AUTOCONF_VERSION= 2.13
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/
2003-06-23 14:57:07 -04:00
# Fix conflict with Gnome 2
@mv ${PREFIX}/share/pixmaps/gnome-default-dlg.png ${PREFIX}/share/pixmaps/gnome-default-dlg1.png
@mv ${PREFIX}/share/pixmaps/gnome-error.png ${PREFIX}/share/pixmaps/gnome-error1.png
@mv ${PREFIX}/share/pixmaps/gnome-info.png ${PREFIX}/share/pixmaps/gnome-info1.png
@mv ${PREFIX}/share/pixmaps/gnome-question.png ${PREFIX}/share/pixmaps/gnome-question1.png
@mv ${PREFIX}/share/pixmaps/gnome-warning.png ${PREFIX}/share/pixmaps/gnome-warning1.png
2001-09-13 16:27:19 -04:00
.include <bsd.port.mk>