diff options
author | obache <obache@pkgsrc.org> | 2011-03-22 08:00:10 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-22 08:00:10 +0000 |
commit | 4545d7f3fcaea17c44e72df9c1cb2f4061a32686 (patch) | |
tree | 23846fc99bbdc24c5ef577914b46b117e15ec38e /multimedia | |
parent | 1e55095e5ecc7679e37515e047f765749aa9f070 (diff) | |
download | pkgsrc-4545d7f3fcaea17c44e72df9c1cb2f4061a32686.tar.gz |
* exactly buildlink with packages used by this package directly.
* support GIFLIB_IMPLEMENTATION!=libungif
Bump PKGREVISION.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ruby-ming/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/multimedia/ruby-ming/Makefile b/multimedia/ruby-ming/Makefile index 952c4c6e3af..b3ee0490bce 100644 --- a/multimedia/ruby-ming/Makefile +++ b/multimedia/ruby-ming/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.15 2011/02/21 16:01:19 taca Exp $ +# $NetBSD: Makefile,v 1.16 2011/03/22 08:00:10 obache Exp $ DISTNAME= ming-ruby-${VER} PKGNAME= ${RUBY_PKGPREFIX}-ming-${VER} -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= multimedia MASTER_SITES= http://rubyforge.org/frs/download.php/44137/ @@ -36,6 +36,16 @@ post-install: pax -wrppm '-s|.*/CVS.*$$||' . \ ${DESTDIR}${PREFIX}/${RUBY_EG}/ming +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" .include "../../multimedia/ming/buildlink3.mk" +.include "../../mk/giflib.buildlink3.mk" +.if defined(GIFLIB_IMPLEMENTATION) && ${GIFLIB_IMPLEMENTATION} != "libungif" +SUBST_CLASSES+= giflib +SUBST_STAGE.giflib= pre-configure +SUBST_FILES.giflib= ext/ming/mingc/extconf.rb +SUBST_SED.giflib= -e 's/ungif/gif/g' +.endif .include "../../lang/ruby/modules.mk" .include "../../mk/bsd.pkg.mk" |