blob: dff44c5a8297abbe683ebcada9322704ab2b0ccb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.4 2004/01/20 12:18:17 agc Exp $
DISTNAME= ruby-GD-${VER}-1
PKGNAME= ruby-gd-${VER}.1
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://tam.0xfa.com/ruby-gd/
MAINTAINER= rasputin@idoru.mine.nu
HOMEPAGE= # not available
COMMENT= Ruby extension to drive the GD library
WRKSRC= ${WRKDIR}/ruby-GD-${VER}
USE_BUILDLINK2= # defined
VER= 0.7.4
DIST_SUBDIR= ruby
USE_RUBY_EXTCONF= yes
CONFIGURE_ARGS+= --with-gd-dir=${PREFIX}
CONFIGURE_ARGS+= --with-ttf
CONFIGURE_ARGS+= --with-ttf-dir=${PREFIX}
CONFIGURE_ARGS+= --with-freetype
CONFIGURE_ARGS+= --with-freetype-dir=${PREFIX}
CONFIGURE_ARGS+= --enable-gd2_0
post-install:
${CP} -R ${WRKSRC}/doc ${RUBY_DOCDIR}/gd
${CP} -R ${WRKSRC}/sample ${RUBY_EXAMPLESDIR}/gd
.include "../../graphics/gd/buildlink2.mk"
.include "../../graphics/freetype-lib/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../lang/ruby-base/Makefile.common"
.include "../../lang/ruby-base/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|