pkgsrc/graphics/x11rec/Makefile
wiz e5b04d25c0 Very belatedly bump PKGREVISION for all jasper dependencies because
of the shlib name change (!) during the update to 1.900.0.

Noted by Robert Elz in PR 35431.
2007-01-17 23:47:18 +00:00

40 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2007/01/17 23:47:21 wiz Exp $
#
DISTNAME= x11rec-0.3
PKGREVISION= 5
CATEGORIES= graphics ruby
MASTER_SITES= http://0xcc.net/x11rec/
MAINTAINER= obata@lins.jp
HOMEPAGE= http://0xcc.net/x11rec/
COMMENT= Very ad hoc X11 recorder which create a movie
DEPENDS+= gifsicle-[0-9]*:../../graphics/gifsicle
NO_BUILD= yes
REPLACE_RUBY= x11rec
INSTALLATION_DIRS= share/doc/html/x11rec
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 "../../mk/x11.buildlink3.mk"
.include "../../lang/ruby/modules.mk"
SUBST_CLASSES+= toolpath
SUBST_STAGE.toolpath= pre-configure
SUBST_MESSAGE.toolpath= Fixing paths.
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|"
.include "../../mk/bsd.pkg.mk"