From 9ab5f9df50b04aa1d576a7caac7311fde83c0498 Mon Sep 17 00:00:00 2001 From: Alan Eldridge Date: Thu, 30 Jan 2003 21:26:10 +0000 Subject: [PATCH] A FileStarter. Thanks Miguel. 8-) Creates new files based on templates. PR: 47681 Submitted by: Miguel Mendez Reviewed by: author --- devel/Makefile | 1 + devel/newfile/Makefile | 33 +++++++++++++++++ devel/newfile/Makefile~ | 32 ++++++++++++++++ devel/newfile/distinfo | 1 + devel/newfile/pkg-comment | 1 + devel/newfile/pkg-descr | 7 ++++ devel/newfile/pkg-plist | 78 +++++++++++++++++++++++++++++++++++++++ 7 files changed, 153 insertions(+) create mode 100644 devel/newfile/Makefile create mode 100644 devel/newfile/Makefile~ create mode 100644 devel/newfile/distinfo create mode 100644 devel/newfile/pkg-comment create mode 100644 devel/newfile/pkg-descr create mode 100644 devel/newfile/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 9451933730f2..dbd48b3a2eab 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -395,6 +395,7 @@ SUBDIR += nana SUBDIR += nasm SUBDIR += ncurses + SUBDIR += newfile SUBDIR += newt SUBDIR += ngpt SUBDIR += noweb diff --git a/devel/newfile/Makefile b/devel/newfile/Makefile new file mode 100644 index 000000000000..68efe0a4bb9d --- /dev/null +++ b/devel/newfile/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: newfile +# Date created: Thu Jan 30 17:34:12 CET 2003 +# Whom: Miguel Mendez +# +# $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 diff --git a/devel/newfile/Makefile~ b/devel/newfile/Makefile~ new file mode 100644 index 000000000000..08c4891914b4 --- /dev/null +++ b/devel/newfile/Makefile~ @@ -0,0 +1,32 @@ +# New ports collection makefile for: newfile +# Date created: Thu Jan 30 17:34:12 CET 2003 +# Whom: Miguel Mendez +# +# $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 diff --git a/devel/newfile/distinfo b/devel/newfile/distinfo new file mode 100644 index 000000000000..8c40c419a786 --- /dev/null +++ b/devel/newfile/distinfo @@ -0,0 +1 @@ +MD5 (newfile-1.0.1.b.3.tar.gz) = c03e0eb05d3b61d2153f40a3fd9bbf7e diff --git a/devel/newfile/pkg-comment b/devel/newfile/pkg-comment new file mode 100644 index 000000000000..7805558ad1db --- /dev/null +++ b/devel/newfile/pkg-comment @@ -0,0 +1 @@ +A tool for creating starter files in various languages diff --git a/devel/newfile/pkg-descr b/devel/newfile/pkg-descr new file mode 100644 index 000000000000..bd76295108ac --- /dev/null +++ b/devel/newfile/pkg-descr @@ -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/ diff --git a/devel/newfile/pkg-plist b/devel/newfile/pkg-plist new file mode 100644 index 000000000000..215b02c87caf --- /dev/null +++ b/devel/newfile/pkg-plist @@ -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