blob: a41d7a454d80996020c5e7a7ca5a322e9ae6fc49 (
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
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.12 2005/11/02 11:09:14 taca Exp $
#
DISTNAME= newfile-1.0.14
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=newfile/}
MAINTAINER= flynn@energyhq.es.eu.org
HOMEPAGE= http://newfile.sourceforge.net/
COMMENT= Tool for creating starter files in various languages
NO_BUILD= yes
GNU_CONFIGURE= yes
USE_RUBY_DIST_SUBDIR= yes
.include "../../lang/ruby/rubyversion.mk"
.if ${RUBY_VER} == "16"
DEPENDS+= ${RUBY_PKGPREFIX}-optparse>=0.8.6:../../devel/ruby-optparse
.endif
REPLACE_RUBY= src/newfile.rb.in
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/newfile.rb ${PREFIX}/bin/newfile
${INSTALL_DATA} ${WRKSRC}/src/fileproc.rb ${WRKSRC}/src/sytab.rb \
${PREFIX}/share/newfile/
${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${PREFIX}/man/man1/
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|