7b19d81e95
loosely based on prior work from andreas@ and peter haight
35 lines
976 B
Makefile
35 lines
976 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2005/06/17 02:57:30 jolan Exp $
|
|
|
|
COMMENT= "matchbox base library"
|
|
DISTNAME= libmatchbox-1.7
|
|
CATEGORIES= x11/matchbox
|
|
MASTER_SITES= http://projects.o-hand.com/matchbox/sources/libmatchbox/1.7/
|
|
|
|
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
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
|
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>
|