pkgsrc/print/ruby-gnome2-poppler/Makefile

24 lines
737 B
Makefile

# $NetBSD: Makefile,v 1.27 2012/03/03 00:13:51 wiz Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-poppler-${VERSION}
COMMENT= Ruby binding of poppler-glib
PKGREVISION= 2
CATEGORIES= print
CONFLICTS+= ruby[0-9][0-9]-gnome2-poppler-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
RUBY_EXTCONF_SUBDIRS= poppler
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
do-test:
${RUN} cd ${WRKSRC}/poppler/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
.include "../../graphics/ruby-rcairo/buildlink3.mk"
BUILDLINK_API_DEPENDS.poppler-glib+= poppler-glib>=0.8.0
.include "../../print/poppler-glib/buildlink3.mk"
.include "../../devel/ruby-pkg-config/tool.mk"
.include "../../meta-pkgs/ruby-gnome2/Makefile.common"