2007-02-19 21:04:10 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2007/02/19 20:04:10 joerg Exp $
|
2005-05-05 22:03:55 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= x11rec-0.3
|
2007-01-18 00:47:18 +01:00
|
|
|
PKGREVISION= 5
|
2005-05-05 22:03:55 +02:00
|
|
|
CATEGORIES= graphics ruby
|
2006-10-04 23:35:58 +02:00
|
|
|
MASTER_SITES= http://0xcc.net/x11rec/
|
2005-05-05 22:03:55 +02:00
|
|
|
|
|
|
|
MAINTAINER= obata@lins.jp
|
2006-10-04 23:35:58 +02:00
|
|
|
HOMEPAGE= http://0xcc.net/x11rec/
|
2005-05-05 22:03:55 +02:00
|
|
|
COMMENT= Very ad hoc X11 recorder which create a movie
|
|
|
|
|
|
|
|
DEPENDS+= gifsicle-[0-9]*:../../graphics/gifsicle
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2006-07-06 19:24:49 +02:00
|
|
|
REPLACE_RUBY= x11rec
|
2005-05-05 22:03:55 +02:00
|
|
|
|
2006-07-06 19:24:49 +02:00
|
|
|
INSTALLATION_DIRS= share/doc/html/x11rec
|
2005-05-05 22:03:55 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/x11rec ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/x11rec-en.html \
|
|
|
|
${PREFIX}/share/doc/html/x11rec/index.html.en
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/x11rec-ja.html \
|
|
|
|
${PREFIX}/share/doc/html/x11rec/index.html.ja
|
|
|
|
|
|
|
|
.include "../../graphics/ImageMagick/buildlink3.mk"
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
|
2006-07-06 19:24:49 +02:00
|
|
|
SUBST_CLASSES+= toolpath
|
|
|
|
SUBST_STAGE.toolpath= pre-configure
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.toolpath= Fixing paths.
|
2006-07-06 19:24:49 +02:00
|
|
|
SUBST_FILES.toolpath= x11rec
|
|
|
|
SUBST_SED.toolpath= -e "s|@xwininfo@|${X11BASE}/bin/xwininfo|"
|
|
|
|
SUBST_SED.toolpath+= -e "s|@xwd@|${X11BASE}/bin/xwd|"
|
|
|
|
SUBST_SED.toolpath+= -e "s|@convert@|${BUILDLINK_PREFIX.ImageMagick}/bin/convert|"
|
|
|
|
SUBST_SED.toolpath+= -e "s|@gifsicle@|${PREFIX}/bin/gifsicle|"
|
2005-05-05 22:03:55 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|