pkgsrc/graphics/x11rec/Makefile
taca ca9b74e90d * Add two CONFLICTS patterns:
- matches previous package name without "${RUBY_PKGPREFIX}-"
	- matches current "ruby18-" and "ruby19-" packages
* Since these packages aren't update its version during update of Ruby
  package's framework, bump PKGREVISION for safe update.  Noted by
  obache@ on tech-pkg.
2010-09-13 14:39:30 +00:00

44 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2010/09/13 14:39:30 taca Exp $
#
DISTNAME= x11rec-0.3
PKGREVISION= 7
CATEGORIES= graphics ruby
MASTER_SITES= http://0xcc.net/x11rec/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://0xcc.net/x11rec/
COMMENT= Very ad hoc X11 recorder which create a movie
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= gifsicle-[0-9]*:../../graphics/gifsicle
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
CONFLICTS+= ruby[1-9][0-9]-x11rec-[0-9]* x11rec-[0-9]*
NO_BUILD= yes
REPLACE_RUBY= x11rec
INSTALLATION_DIRS= bin share/doc/x11rec
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/x11rec ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/x11rec-en.html \
${DESTDIR}${PREFIX}/share/doc/x11rec/index.html.en
${INSTALL_DATA} ${WRKSRC}/x11rec-ja.html \
${DESTDIR}${PREFIX}/share/doc/x11rec/index.html.ja
.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"