2017-06-02 06:16:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.49 2017/06/02 04:16:35 taca Exp $
|
2003-10-05 11:55:18 +02:00
|
|
|
|
2008-09-15 17:28:58 +02:00
|
|
|
DISTNAME= ruby-gd-0.8.0
|
2009-12-03 03:35:52 +01:00
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
|
2017-02-28 16:19:58 +01:00
|
|
|
PKGREVISION= 18
|
2008-04-04 17:30:00 +02:00
|
|
|
CATEGORIES= graphics
|
2003-10-05 11:55:18 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2015-09-26 17:05:21 +02:00
|
|
|
HOMEPAGE= # http://rubyforge.org/projects/ruby-gd/
|
2003-10-05 11:55:18 +02:00
|
|
|
COMMENT= Ruby extension to drive the GD library
|
2010-09-10 08:46:43 +02:00
|
|
|
LICENSE= ruby-license
|
2003-10-05 11:55:18 +02:00
|
|
|
|
2017-06-02 06:16:35 +02:00
|
|
|
GEM_CLEANBUILD= Makefile *.o GD.${RUBY_DLEXT} mkmf.log .*.time
|
2003-10-05 11:55:18 +02:00
|
|
|
|
2008-04-04 17:30:00 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gd-dir=${BUILDLINK_PREFIX.gd:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-jpeg
|
2010-12-23 12:44:24 +01:00
|
|
|
CONFIGURE_ARGS+= --with-jpeg-dir=${JPEGBASE:Q}
|
2003-10-05 11:55:18 +02:00
|
|
|
CONFIGURE_ARGS+= --with-freetype
|
2008-04-04 17:30:00 +02:00
|
|
|
CONFIGURE_ARGS+= --with-freetype-dir=${BUILDLINK_PREFIX.freetype2:Q}
|
2003-10-05 11:55:18 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-gd2_0
|
2016-05-07 12:00:59 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ldflags=${COMPILER_RPATH_FLAG}${X11BASE}/lib
|
2003-10-05 11:55:18 +02:00
|
|
|
|
2010-09-10 08:46:43 +02:00
|
|
|
.include "../../lang/ruby/gem.mk"
|
2004-05-02 05:55:05 +02:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2008-04-04 17:30:00 +02:00
|
|
|
.include "../../graphics/gd/buildlink3.mk"
|
2003-10-05 11:55:18 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|