| @@ -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 | |
4 | DISTNAME= x11rec-0.3 | | 4 | DISTNAME= x11rec-0.3 |
5 | PKGREVISION= 6 | | 5 | PKGREVISION= 6 |
6 | CATEGORIES= graphics ruby | | 6 | CATEGORIES= graphics ruby |
7 | MASTER_SITES= http://0xcc.net/x11rec/ | | 7 | MASTER_SITES= http://0xcc.net/x11rec/ |
8 | | | 8 | |
9 | MAINTAINER= obache@NetBSD.org | | 9 | MAINTAINER= obache@NetBSD.org |
10 | HOMEPAGE= http://0xcc.net/x11rec/ | | 10 | HOMEPAGE= http://0xcc.net/x11rec/ |
11 | COMMENT= Very ad hoc X11 recorder which create a movie | | 11 | COMMENT= Very ad hoc X11 recorder which create a movie |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
15 | | | 15 | |
16 | DEPENDS+= gifsicle-[0-9]*:../../graphics/gifsicle | | 16 | DEPENDS+= gifsicle-[0-9]*:../../graphics/gifsicle |
| | | 17 | DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick |
17 | | | 18 | |
18 | NO_BUILD= yes | | 19 | NO_BUILD= yes |
19 | REPLACE_RUBY= x11rec | | 20 | REPLACE_RUBY= x11rec |
20 | | | 21 | |
21 | INSTALLATION_DIRS= bin share/doc/x11rec | | 22 | INSTALLATION_DIRS= bin share/doc/x11rec |
22 | | | 23 | |
23 | do-install: | | 24 | do-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 | |
33 | SUBST_CLASSES+= toolpath | | 33 | SUBST_CLASSES+= toolpath |
34 | SUBST_STAGE.toolpath= pre-configure | | 34 | SUBST_STAGE.toolpath= pre-configure |
35 | SUBST_MESSAGE.toolpath= Fixing paths. | | 35 | SUBST_MESSAGE.toolpath= Fixing paths. |
36 | SUBST_FILES.toolpath= x11rec | | 36 | SUBST_FILES.toolpath= x11rec |
37 | SUBST_SED.toolpath= -e "s|@xwininfo@|${X11BASE}/bin/xwininfo|" | | 37 | SUBST_SED.toolpath= -e "s|@xwininfo@|${X11BASE}/bin/xwininfo|" |
38 | SUBST_SED.toolpath+= -e "s|@xwd@|${X11BASE}/bin/xwd|" | | 38 | SUBST_SED.toolpath+= -e "s|@xwd@|${X11BASE}/bin/xwd|" |
39 | SUBST_SED.toolpath+= -e "s|@convert@|${BUILDLINK_PREFIX.ImageMagick}/bin/convert|" | | 39 | SUBST_SED.toolpath+= -e "s|@convert@|${BUILDLINK_PREFIX.ImageMagick}/bin/convert|" |
40 | SUBST_SED.toolpath+= -e "s|@gifsicle@|${PREFIX}/bin/gifsicle|" | | 40 | SUBST_SED.toolpath+= -e "s|@gifsicle@|${PREFIX}/bin/gifsicle|" |
41 | | | 41 | |
42 | .include "../../mk/bsd.pkg.mk" | | 42 | .include "../../mk/bsd.pkg.mk" |