c487cb967a
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
36 lines
1,014 B
Makefile
36 lines
1,014 B
Makefile
# $NetBSD: Makefile,v 1.8 2004/10/03 00:14:57 tv Exp $
|
|
|
|
DISTNAME= ruby-GD-${VER}-1
|
|
PKGNAME= ruby-gd-${VER}.1
|
|
PKGREVISION= 3
|
|
CATEGORIES= graphics ruby
|
|
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_BUILDLINK3= yes
|
|
|
|
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/buildlink3.mk"
|
|
.include "../../graphics/freetype-lib/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../lang/ruby-base/Makefile.common"
|
|
.include "../../lang/ruby-base/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|