blob: 8525cfe7dae267cac3901945e513ae25bbbceec7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.33 2012/06/13 14:43:24 taca Exp $
DISTNAME= rdtool-0.6.37
CATEGORIES= textproc ruby
MAINTAINER= taca@NetBSD.org
HOMEPAGE= https://github.com/uwabami/rdtool
COMMENT= RD (Ruby Document) converter to HTML/man/etc
LICENSE= gnu-gpl-v2 OR ruby-license
PKG_DESTDIR_SUPPORT= user-destdir
# Since rd2 commands depends its name and it can't rename, we cannot
# install multiple ruby??-rd2 package (unless supported by pkgview.
CONFLICTS+= ruby[1-9][0-9]-rdtool-[0-9]*
CONF_FILES+= ${GEM_LIBDIR}/lib/rd/dot.rd2rc ${PKG_SYSCONFDIR}/dot.rd2rc
SUBST_CLASSES+= path
SUBST_STAGE.path= post-configure
SUBST_FILES.path= bin/rd2
SUBST_SED.path= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|"
SUBST_MESSAGE.path= Fixing PKG_SYSCONFDIR paths.
.include "../../lang/ruby/gem.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|