openbsd-ports/x11/matchbox/libmatchbox/Makefile
2006-12-16 12:22:32 +00:00

36 lines
990 B
Makefile

# $OpenBSD: Makefile,v 1.5 2006/12/16 12:22:36 espie Exp $
COMMENT= "matchbox base library"
DISTNAME= libmatchbox-1.8
SHARED_LIBS= mb 1.7
MODGNU_SHARED_LIBS= mb ''
CATEGORIES= x11/matchbox
MASTER_SITES= http://projects.o-hand.com/matchbox/sources/libmatchbox/1.8/
HOMEPAGE= http://projects.o-hand.com/matchbox/
# LGPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
USE_LIBTOOL= Yes
USE_X11= Yes
LIB_DEPENDS= pango-1.0.>=800.1,pangoft2-1.0.>=800.1,pangoxft-1.0.>=800.1::devel/pango \
jpeg.>=62::graphics/jpeg \
png.>=3::graphics/png
MODULES= devel/gettext
WANTLIB= X11 Xext Xft Xrender fontconfig freetype m z \
glib-2.0.>=600.0 gmodule-2.0.>=600.0 gobject-2.0.>=600.0
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--enable-jpeg \
--enable-pango
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
PKG_CONFIG_PATH="${X11BASE}/lib/pkgconfig"
.include <bsd.port.mk>