Tue Aug 11 15:40:18 2009 UTC ()
turn ImageMagick/bl3 inclusion into a simple DEPENDS, nothing
is compiled here


(drochner)
diff -r1.15 -r1.16 pkgsrc/graphics/x11rec/Makefile

cvs diff -r1.15 -r1.16 pkgsrc/graphics/x11rec/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/x11rec/Attic/Makefile 2009/07/10 09:18:44 1.15
+++ pkgsrc/graphics/x11rec/Attic/Makefile 2009/08/11 15:40:18 1.16
@@ -1,42 +1,42 @@ @@ -1,42 +1,42 @@
1# $NetBSD: Makefile,v 1.15 2009/07/10 09:18:44 obache Exp $ 1# $NetBSD: Makefile,v 1.16 2009/08/11 15:40:18 drochner Exp $
2# 2#
3 3
4DISTNAME= x11rec-0.3 4DISTNAME= x11rec-0.3
5PKGREVISION= 6 5PKGREVISION= 6
6CATEGORIES= graphics ruby 6CATEGORIES= graphics ruby
7MASTER_SITES= http://0xcc.net/x11rec/ 7MASTER_SITES= http://0xcc.net/x11rec/
8 8
9MAINTAINER= obache@NetBSD.org 9MAINTAINER= obache@NetBSD.org
10HOMEPAGE= http://0xcc.net/x11rec/ 10HOMEPAGE= http://0xcc.net/x11rec/
11COMMENT= Very ad hoc X11 recorder which create a movie 11COMMENT= Very ad hoc X11 recorder which create a movie
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
15 15
16DEPENDS+= gifsicle-[0-9]*:../../graphics/gifsicle 16DEPENDS+= gifsicle-[0-9]*:../../graphics/gifsicle
 17DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
17 18
18NO_BUILD= yes 19NO_BUILD= yes
19REPLACE_RUBY= x11rec 20REPLACE_RUBY= x11rec
20 21
21INSTALLATION_DIRS= bin share/doc/x11rec 22INSTALLATION_DIRS= bin share/doc/x11rec
22 23
23do-install: 24do-install:
24 ${INSTALL_SCRIPT} ${WRKSRC}/x11rec ${DESTDIR}${PREFIX}/bin 25 ${INSTALL_SCRIPT} ${WRKSRC}/x11rec ${DESTDIR}${PREFIX}/bin
25 ${INSTALL_DATA} ${WRKSRC}/x11rec-en.html \ 26 ${INSTALL_DATA} ${WRKSRC}/x11rec-en.html \
26 ${DESTDIR}${PREFIX}/share/doc/x11rec/index.html.en 27 ${DESTDIR}${PREFIX}/share/doc/x11rec/index.html.en
27 ${INSTALL_DATA} ${WRKSRC}/x11rec-ja.html \ 28 ${INSTALL_DATA} ${WRKSRC}/x11rec-ja.html \
28 ${DESTDIR}${PREFIX}/share/doc/x11rec/index.html.ja 29 ${DESTDIR}${PREFIX}/share/doc/x11rec/index.html.ja
29 30
30.include "../../graphics/ImageMagick/buildlink3.mk" 
31.include "../../lang/ruby/modules.mk" 31.include "../../lang/ruby/modules.mk"
32 32
33SUBST_CLASSES+= toolpath 33SUBST_CLASSES+= toolpath
34SUBST_STAGE.toolpath= pre-configure 34SUBST_STAGE.toolpath= pre-configure
35SUBST_MESSAGE.toolpath= Fixing paths. 35SUBST_MESSAGE.toolpath= Fixing paths.
36SUBST_FILES.toolpath= x11rec 36SUBST_FILES.toolpath= x11rec
37SUBST_SED.toolpath= -e "s|@xwininfo@|${X11BASE}/bin/xwininfo|" 37SUBST_SED.toolpath= -e "s|@xwininfo@|${X11BASE}/bin/xwininfo|"
38SUBST_SED.toolpath+= -e "s|@xwd@|${X11BASE}/bin/xwd|" 38SUBST_SED.toolpath+= -e "s|@xwd@|${X11BASE}/bin/xwd|"
39SUBST_SED.toolpath+= -e "s|@convert@|${BUILDLINK_PREFIX.ImageMagick}/bin/convert|" 39SUBST_SED.toolpath+= -e "s|@convert@|${BUILDLINK_PREFIX.ImageMagick}/bin/convert|"
40SUBST_SED.toolpath+= -e "s|@gifsicle@|${PREFIX}/bin/gifsicle|" 40SUBST_SED.toolpath+= -e "s|@gifsicle@|${PREFIX}/bin/gifsicle|"
41 41
42.include "../../mk/bsd.pkg.mk" 42.include "../../mk/bsd.pkg.mk"