34 lines
1,009 B
Makefile
34 lines
1,009 B
Makefile
# $NetBSD: Makefile,v 1.20 2006/04/17 13:46:35 wiz Exp $
|
|
|
|
DISTNAME= ruby-GD-${VER}-1
|
|
PKGNAME= ${RUBY_PKGPREFIX}-gd-${VER}.1
|
|
PKGREVISION= 6
|
|
CATEGORIES= graphics ruby
|
|
MASTER_SITES= http://raa.ruby-lang.org/cache/ruby-gd/ \
|
|
http://tam.0xfa.com/ruby-gd/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= # not available
|
|
COMMENT= Ruby extension to drive the GD library
|
|
|
|
RUBY_HAS_ARCHLIB= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
WRKSRC= ${WRKDIR}/ruby-GD-${VER}
|
|
VER= 0.7.4
|
|
|
|
CONFIGURE_ARGS+= --with-gd-dir=${PREFIX:Q}
|
|
CONFIGURE_ARGS+= --with-ttf
|
|
CONFIGURE_ARGS+= --with-ttf-dir=${PREFIX:Q}
|
|
CONFIGURE_ARGS+= --with-freetype
|
|
CONFIGURE_ARGS+= --with-freetype-dir=${PREFIX:Q}
|
|
CONFIGURE_ARGS+= --enable-gd2_0
|
|
|
|
post-install:
|
|
${CP} -R ${WRKSRC}/doc ${RUBY_DOCDIR}/gd
|
|
${CP} -R ${WRKSRC}/sample ${RUBY_EXAMPLESDIR}/gd
|
|
|
|
.include "../../graphics/gd/buildlink3.mk"
|
|
.include "../../graphics/freetype-lib/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../lang/ruby/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|