Annotation of pkgsrc/textproc/ruby-eruby/Makefile, Revision 1.6
1.6 ! taca 1: # $NetBSD: Makefile,v 1.5 2003/07/17 22:54:49 grant Exp $
1.1 taca 2: # FreeBSD: ports/textproc/eruby/Makefile,v 1.9 2000/12/12 14:04:26 knu Exp
3:
1.6 ! taca 4: DISTNAME= eruby-${ERUBY_VERSION}
1.1 taca 5: PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
6: CATEGORIES= textproc
7: MASTER_SITES= http://www.modruby.net/archive/
8:
1.5 grant 9: MAINTAINER= taca@NetBSD.org
1.1 taca 10: HOMEPAGE= http://www.modruby.net/
11: COMMENT= Interprets Ruby code embedded in a text file
12:
13: DIST_SUBDIR= ruby
1.2 taca 14: USE_RUBY_RD= yes
1.1 taca 15: RUBY_REQD= 1.6
1.6 ! taca 16: ERUBY_MAJOR= 1
! 17: ERUBY_MINOR= 0
! 18: ERUBY_TEENY= 5
! 19: ERUBY_VERSION= ${ERUBY_MAJOR}.${ERUBY_MINOR}.${ERUBY_TEENY}
1.1 taca 20:
21: HAS_CONFIGURE= yes
22: CONFIGURE_SCRIPT= ./configure.rb
1.6 ! taca 23: CONFIGURE_ARGS= --enable-shared --with-charset="${ERUBY_DEFAULT_CHARSET}"
1.1 taca 24: INSTALL_TARGET= site-install
1.6 ! taca 25: PLIST_SUBST+= ERUBY_MAJOR=${ERUBY_MAJOR} ERUBY_MINOR=${ERUBY_MINOR}
1.1 taca 26:
1.6 ! taca 27: .include "../../mk/bsd.prefs.mk"
! 28:
! 29: ERUBY_DEFAULT_CHARSET?= ISO-8859-1
1.1 taca 30:
31: MAN1= eruby.1
32:
1.3 taca 33: DOCS= ChangeLog README.en README.ja eruby.rd eruby.html
1.1 taca 34: EXAMPLES= e2r.rb foo.rhtml test.rb test.rhtml
35:
36: post-build:
37: cd ${WRKSRC}; ${RUBY_RD} eruby.rd > eruby.html
38:
39: post-install:
1.3 taca 40: ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/eruby
41: .for f in ${DOCS}
1.1 taca 42: ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/eruby
43: .endfor
44: ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/eruby
45: .for f in ${EXAMPLES}
46: ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_EXAMPLESDIR}/eruby
47: .endfor
48:
49: .include "../../textproc/ruby-rdtool/Makefile.common"
50: .include "../../lang/ruby-base/Makefile.common"
51: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>