2007-06-07 03:44:28 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2007/06/07 07:44:28 steven Exp $
|
2006-03-15 11:10:45 -05:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT= "set of modules to use Gtk+2 libraries from Perl"
|
|
|
|
|
2007-06-07 03:44:28 -04:00
|
|
|
MODULES= cpan
|
|
|
|
DISTNAME= Gtk2-1.144
|
|
|
|
CATEGORIES= x11
|
2006-03-15 11:10:45 -05:00
|
|
|
|
|
|
|
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-01-04 15:19:53 -05:00
|
|
|
WANTLIB= m freetype fontconfig X11 Xext Xrender z \
|
2007-06-07 03:44:28 -04:00
|
|
|
Xau Xcursor Xdmcp Xfixes Xi Xinerama Xrandr expat \
|
2007-01-04 15:19:53 -05:00
|
|
|
atk-1.0 glib-2.0 gmodule-2.0 gobject-2.0 glitz png \
|
2006-09-18 08:19:39 -04:00
|
|
|
pango-1.0 pangoft2-1.0 pangocairo-1.0 cairo
|
2006-03-15 11:10:45 -05:00
|
|
|
|
2007-06-07 03:44:28 -04:00
|
|
|
MODULES+= devel/gettext
|
2006-03-15 11:10:45 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
|
2006-09-18 08:19:39 -04:00
|
|
|
LIB_DEPENDS= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2
|
2006-03-15 11:10:45 -05:00
|
|
|
BUILD_DEPENDS= ::devel/p5-ExtUtils-Depends \
|
|
|
|
::devel/p5-ExtUtils-PkgConfig \
|
|
|
|
${RUN_DEPENDS}
|
|
|
|
|
2007-06-07 03:44:28 -04:00
|
|
|
RUN_DEPENDS= :p5-Glib2->=1.140:devel/p5-Glib2 \
|
|
|
|
:p5-Cairo->=1.00:graphics/p5-Cairo
|
2006-03-15 11:10:45 -05:00
|
|
|
|
|
|
|
# The regression tests require a running instance of X.
|
|
|
|
# You will also need to set the XAUTHORITY environment variable to point
|
|
|
|
# to the appropriate .Xauthority file.
|
|
|
|
|
|
|
|
REGRESS_IS_INTERACTIVE= Yes
|
|
|
|
REGRESS_FLAGS+=DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|