pkgsrc/graphics/ruby-gd/Makefile

28 lines
925 B
Makefile
Raw Normal View History

2017-06-02 06:16:35 +02:00
# $NetBSD: Makefile,v 1.49 2017/06/02 04:16:35 taca Exp $
DISTNAME= ruby-gd-0.8.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
PKGREVISION= 18
CATEGORIES= graphics
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= # http://rubyforge.org/projects/ruby-gd/
COMMENT= Ruby extension to drive the GD library
LICENSE= ruby-license
2017-06-02 06:16:35 +02:00
GEM_CLEANBUILD= Makefile *.o GD.${RUBY_DLEXT} mkmf.log .*.time
CONFIGURE_ARGS+= --with-gd-dir=${BUILDLINK_PREFIX.gd:Q}
CONFIGURE_ARGS+= --with-jpeg
CONFIGURE_ARGS+= --with-jpeg-dir=${JPEGBASE:Q}
CONFIGURE_ARGS+= --with-freetype
CONFIGURE_ARGS+= --with-freetype-dir=${BUILDLINK_PREFIX.freetype2:Q}
CONFIGURE_ARGS+= --enable-gd2_0
CONFIGURE_ARGS+= --with-ldflags=${COMPILER_RPATH_FLAG}${X11BASE}/lib
.include "../../lang/ruby/gem.mk"
2004-05-02 05:55:05 +02:00
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"