blob: efe20ecc1786799de90d8d980eabb06cbb1d3dc9 (
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
|
# $NetBSD: Makefile,v 1.18 2010/01/29 19:08:31 joerg Exp $
#
DISTNAME= newfile-1.0.14
PKGREVISION= 3
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
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
GNU_CONFIGURE= yes
REPLACE_RUBY= src/newfile.rb.in
USE_TOOLS+= ksh
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/newfile.rb ${DESTDIR}${PREFIX}/bin/newfile
${INSTALL_DATA} ${WRKSRC}/src/fileproc.rb ${WRKSRC}/src/sytab.rb \
${DESTDIR}${PREFIX}/share/newfile/
${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|