since SHARED_ONLY support was removed across the ports tree the perl module no longer adds it, so it must be done manually for any perl ports that provide perl shared-library modules (i.e. libdata/perl5/site_perl/$ARCH/*.so) and you must not remove them from WANTLIB even if they show as "Extra".
36 lines
808 B
Makefile
36 lines
808 B
Makefile
# $OpenBSD: Makefile,v 1.6 2017/02/06 20:28:32 sthen Exp $
|
|
|
|
COMMENT= Perl bindings to the GtkImageView image viewer widget
|
|
|
|
DISTNAME= Gtk2-ImageView-0.05
|
|
REVISION= 3
|
|
|
|
CATEGORIES= x11
|
|
|
|
# LGPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
|
WANTLIB += Xrandr Xrender atk-1.0 cairo fontconfig freetype gdk-x11-2.0
|
|
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0
|
|
WANTLIB += gtkimageview intl pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
WANTLIB += z
|
|
WANTLIB += perl # uses perl ABI
|
|
|
|
MODULES= cpan
|
|
|
|
MODCPAN_EXAMPLES= Yes
|
|
|
|
LIB_DEPENDS= devel/gettext \
|
|
graphics/gtkimageview
|
|
|
|
BUILD_DEPENDS= devel/p5-ExtUtils-Depends \
|
|
devel/p5-ExtUtils-PkgConfig \
|
|
${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS= x11/p5-Gtk2
|
|
|
|
TEST_IS_INTERACTIVE= x11
|
|
|
|
.include <bsd.port.mk>
|