1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

A FileStarter. Thanks Miguel. 8-) Creates new files based on templates.

PR:		47681
Submitted by:	Miguel Mendez <flynn@energyhq.homeip.net>
Reviewed by:	author
This commit is contained in:
Alan Eldridge 2003-01-30 21:26:10 +00:00
parent a19d5cb626
commit 9ab5f9df50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74312
7 changed files with 153 additions and 0 deletions

View File

@ -395,6 +395,7 @@
SUBDIR += nana
SUBDIR += nasm
SUBDIR += ncurses
SUBDIR += newfile
SUBDIR += newt
SUBDIR += ngpt
SUBDIR += noweb

33
devel/newfile/Makefile Normal file
View File

@ -0,0 +1,33 @@
# New ports collection makefile for: newfile
# Date created: Thu Jan 30 17:34:12 CET 2003
# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
#
# $FreeBSD$
#
PORTNAME= newfile
PORTVERSION= 1.0.1.b.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= flynn@energyhq.homeip.net
BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
BUILD_DEPENDS+= rdoc:${PORTSDIR}/textproc/ruby-rdoc
USE_RUBY= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
.if !defined(NOPORTDOCS)
MAN1= newfile.1
.endif
pre-configure:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's@SUBDIRS = src doc data doc-src www@SUBDIRS = src data@g' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>

32
devel/newfile/Makefile~ Normal file
View File

@ -0,0 +1,32 @@
# New ports collection makefile for: newfile
# Date created: Thu Jan 30 17:34:12 CET 2003
# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
#
# $FreeBSD$
#
PORTNAME= newfile
PORTVERSION= 1.0.1.b.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= flynn@energyhq.homeip.net
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
USE_RUBY= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
.if !defined(NOPORTDOCS)
MAN1= newfile.1
.endif
pre-configure:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's@SUBDIRS = src doc data doc-src www@SUBDIRS = src data@g' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>

1
devel/newfile/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (newfile-1.0.1.b.3.tar.gz) = c03e0eb05d3b61d2153f40a3fd9bbf7e

View File

@ -0,0 +1 @@
A tool for creating starter files in various languages

7
devel/newfile/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
Newfile is a tool for creating starter files in various languages.
It uses a full-featured preprocessor (like the C preprocessor) to
transform templates into customized starter files. It can also generate
trees of files for a specific purpose, such as a project using automake
and autoconf, or a FreeBSD port.
WWW: http://newfile.sourceforge.net/

78
devel/newfile/pkg-plist Normal file
View File

@ -0,0 +1,78 @@
bin/newfile
%%PORTDOCS%%share/doc/newfile/rdoc/created.rid
%%PORTDOCS%%share/doc/newfile/rdoc/dot/f_0.dot
%%PORTDOCS%%share/doc/newfile/rdoc/dot/f_0.png
%%PORTDOCS%%share/doc/newfile/rdoc/dot/f_1.dot
%%PORTDOCS%%share/doc/newfile/rdoc/dot/f_1.png
%%PORTDOCS%%share/doc/newfile/rdoc/dot/f_2.dot
%%PORTDOCS%%share/doc/newfile/rdoc/dot/f_2.png
%%PORTDOCS%%share/doc/newfile/rdoc/rdoc-style.css
%%PORTDOCS%%share/doc/newfile/rdoc/files/fileproc_rb.html
%%PORTDOCS%%share/doc/newfile/rdoc/files/newfile_rb.html
%%PORTDOCS%%share/doc/newfile/rdoc/files/sytab_rb.html
%%PORTDOCS%%share/doc/newfile/rdoc/classes/FileProcessor.html
%%PORTDOCS%%share/doc/newfile/rdoc/classes/FileFinder.html
%%PORTDOCS%%share/doc/newfile/rdoc/classes/Cond.html
%%PORTDOCS%%share/doc/newfile/rdoc/classes/ParseMsg.html
%%PORTDOCS%%share/doc/newfile/rdoc/classes/SyTab.html
%%PORTDOCS%%share/doc/newfile/rdoc/classes/Opts.html
%%PORTDOCS%%share/doc/newfile/rdoc/classes/Installed.html
%%PORTDOCS%%share/doc/newfile/rdoc/classes/OptionError.html
%%PORTDOCS%%share/doc/newfile/rdoc/classes/ParseError.html
%%PORTDOCS%%share/doc/newfile/rdoc/fr_file_index.html
%%PORTDOCS%%share/doc/newfile/rdoc/fr_class_index.html
%%PORTDOCS%%share/doc/newfile/rdoc/fr_method_index.html
%%PORTDOCS%%share/doc/newfile/rdoc/index.html
share/newfile/fileproc.rb
share/newfile/sytab.rb
share/newfile/newfile.rb
share/newfile/licenses/Artistic@Artistic
share/newfile/licenses/Artistic@README
share/newfile/licenses/Artistic@license.inc
share/newfile/licenses/BSD@LICENSE
share/newfile/licenses/BSD@README
share/newfile/licenses/BSD@license.inc
share/newfile/licenses/GPL@COPYING
share/newfile/licenses/GPL@README
share/newfile/licenses/GPL@license.inc
share/newfile/licenses/minimal@LICENSE
share/newfile/licenses/minimal@README
share/newfile/licenses/minimal@license.inc
share/newfile/licenses/default@license.inc
share/newfile/licenses/no@license.inc
share/newfile/projects/auto@Makefile.am
share/newfile/projects/auto@Makefile.cvs
share/newfile/projects/auto@acinclude.m4
share/newfile/projects/auto@configure.ac
share/newfile/projects/auto@doc!Makefile.am
share/newfile/projects/auto@doc-src!Makefile.am
share/newfile/projects/auto@doc-src!alane.pod.mk
share/newfile/projects/auto@doc-src!alane.tex.mk
share/newfile/projects/auto@src!Makefile.am
share/newfile/projects/port@Makefile
share/newfile/projects/port@distinfo
share/newfile/projects/port@pkg-comment
share/newfile/projects/port@pkg-descr
share/newfile/projects/port@pkg-plist
share/newfile/templates/%s@c
share/newfile/templates/%s@c++
share/newfile/templates/%s@generic
share/newfile/templates/%s@h
share/newfile/templates/%s@h++
share/newfile/templates/%s@mgp
share/newfile/templates/%s@mk
share/newfile/templates/%s@pl
share/newfile/templates/%s@pod
share/newfile/templates/%s@py
share/newfile/templates/%s@rb
share/newfile/templates/%s@sh
share/newfile/templates/body.inc@sh
%%PORTDOCS%%@dirrm share/doc/newfile/rdoc/classes
%%PORTDOCS%%@dirrm share/doc/newfile/rdoc/files
%%PORTDOCS%%@dirrm share/doc/newfile/rdoc/dot
%%PORTDOCS%%@dirrm share/doc/newfile/rdoc
%%PORTDOCS%%@dirrm share/doc/newfile
@dirrm share/newfile/licenses
@dirrm share/newfile/templates
@dirrm share/newfile/projects
@dirrm share/newfile