ca9b74e90d
- 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.
32 lines
890 B
Makefile
32 lines
890 B
Makefile
# $NetBSD: Makefile,v 1.20 2010/09/13 14:39:30 taca Exp $
|
|
#
|
|
|
|
DISTNAME= newfile-1.0.14
|
|
PKGREVISION= 4
|
|
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
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS+= ruby[1-9][0-9]-newfile-* newfile-*
|
|
|
|
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"
|