2010-09-13 16:39:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2010/09/13 14:39:30 taca Exp $
|
2003-02-16 04:42:36 +01:00
|
|
|
#
|
|
|
|
|
2004-11-27 16:58:22 +01:00
|
|
|
DISTNAME= newfile-1.0.14
|
2010-09-13 16:39:30 +02:00
|
|
|
PKGREVISION= 4
|
2003-02-16 04:42:36 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=newfile/}
|
|
|
|
|
2004-11-28 17:01:30 +01:00
|
|
|
MAINTAINER= flynn@energyhq.es.eu.org
|
2003-02-16 04:42:36 +01:00
|
|
|
HOMEPAGE= http://newfile.sourceforge.net/
|
|
|
|
COMMENT= Tool for creating starter files in various languages
|
2010-09-10 07:03:12 +02:00
|
|
|
LICENSE= modified-bsd
|
2003-02-16 04:42:36 +01:00
|
|
|
|
2010-01-29 20:05:18 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2010-09-13 16:39:30 +02:00
|
|
|
CONFLICTS+= ruby[1-9][0-9]-newfile-* newfile-*
|
|
|
|
|
2005-01-28 15:08:01 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-11-27 16:58:22 +01:00
|
|
|
REPLACE_RUBY= src/newfile.rb.in
|
2006-01-09 19:50:57 +01:00
|
|
|
USE_TOOLS+= ksh
|
2003-02-16 04:42:36 +01:00
|
|
|
|
2010-01-29 20:05:18 +01:00
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
|
|
|
|
2003-02-16 04:42:36 +01:00
|
|
|
post-install:
|
2010-01-29 20:05:18 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/newfile.rb ${DESTDIR}${PREFIX}/bin/newfile
|
2003-02-16 04:42:36 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/fileproc.rb ${WRKSRC}/src/sytab.rb \
|
2010-01-29 20:05:18 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/newfile/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
|
2003-02-16 04:42:36 +01:00
|
|
|
|
2004-11-27 16:58:22 +01:00
|
|
|
.include "../../lang/ruby/modules.mk"
|
2003-02-16 04:42:36 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|