summaryrefslogtreecommitdiff
path: root/devel/newfile
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-03 12:50:58 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-03 12:50:58 +0000
commita517d5fd3145b604b0b84843ba407456373ba7b3 (patch)
tree6b8cbe9def5401009f3262d932076ca517b3a40c /devel/newfile
parentfix audio/ecawave: fix build error (diff)
fix devel/newfile: fix Perl dependency
PR: 53685 Submitted by: Sergei Kolobov <sergei@kolobov.com>
Notes
Notes: svn path=/head/; revision=84131
Diffstat (limited to 'devel/newfile')
-rw-r--r--devel/newfile/Makefile14
-rw-r--r--devel/newfile/pkg-plist147
2 files changed, 80 insertions, 81 deletions
diff --git a/devel/newfile/Makefile b/devel/newfile/Makefile
index f13181cbc561..1f78742c96f0 100644
--- a/devel/newfile/Makefile
+++ b/devel/newfile/Makefile
@@ -7,28 +7,26 @@
PORTNAME= newfile
PORTVERSION= 1.0.13
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sergei@kolobov.com
COMMENT= A tool for creating starter files in various languages
-BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
-BUILD_DEPENDS+= rdoc:${PORTSDIR}/textproc/ruby-rdoc
-BUILD_DEPENDS+= /usr/local/bin/perl:${PORTSDIR}/lang/perl5
+BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
+ rdoc:${PORTSDIR}/textproc/ruby-rdoc \
+ pod2man:${PORTSDIR}/lang/perl5
USE_RUBY= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-USE_PERL= yes
.if !defined(NOPORTDOCS)
MAN1= newfile.1
-.endif
-
+.else
pre-configure:
-.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's@SUBDIRS = src doc data doc-src www@SUBDIRS = src data@g' \
${WRKSRC}/Makefile.in
.endif
diff --git a/devel/newfile/pkg-plist b/devel/newfile/pkg-plist
index c282141b03d8..94ae08d8ccd1 100644
--- a/devel/newfile/pkg-plist
+++ b/devel/newfile/pkg-plist
@@ -1,73 +1,74 @@
-%%PORTDOCS%%share/doc/newfile/newfile.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/Cond.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/FileFinder.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/FileProcessor.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/Installed.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/NewfileOpts.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/OptionError.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/ParseError.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/ParseMsg.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/ParseWarning.html
-%%PORTDOCS%%share/doc/newfile/rdoc/classes/SyTab.html
-%%PORTDOCS%%share/doc/newfile/rdoc/created.rid
-%%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/fr_class_index.html
-%%PORTDOCS%%share/doc/newfile/rdoc/fr_file_index.html
-%%PORTDOCS%%share/doc/newfile/rdoc/fr_method_index.html
-%%PORTDOCS%%share/doc/newfile/rdoc/index.html
-%%PORTDOCS%%share/doc/newfile/rdoc/rdoc-style.css
-share/newfile/fileproc.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/default@license.inc
-share/newfile/licenses/minimal@LICENSE
-share/newfile/licenses/minimal@README
-share/newfile/licenses/minimal@license.inc
-share/newfile/licenses/no@license.inc
-share/newfile/newfile.rb
-share/newfile/projects/auto@Makefile.am
-share/newfile/projects/auto@Makefile.cvs
-share/newfile/projects/auto@Mk^alane.pod.mk
-share/newfile/projects/auto@Mk^alane.rd.mk
-share/newfile/projects/auto@Mk^alane.tex.mk
-share/newfile/projects/auto@acinclude.m4
-share/newfile/projects/auto@configure.ac
-share/newfile/projects/auto@doc^Makefile.am
-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/sytab.rb
-share/newfile/templates/body.inc@sh
-share/newfile/templates/tmpl@c
-share/newfile/templates/tmpl@c++
-share/newfile/templates/tmpl@generic
-share/newfile/templates/tmpl@h
-share/newfile/templates/tmpl@h++
-share/newfile/templates/tmpl@mgp
-share/newfile/templates/tmpl@mk
-share/newfile/templates/tmpl@pl
-share/newfile/templates/tmpl@pod
-share/newfile/templates/tmpl@py
-share/newfile/templates/tmpl@rb
-share/newfile/templates/tmpl@rd
-share/newfile/templates/tmpl@sh
-@dirrm share/newfile/templates
-@dirrm share/newfile/projects
-@dirrm share/newfile/licenses
-@dirrm share/newfile
-%%PORTDOCS%%@dirrm share/doc/newfile/rdoc/files
-%%PORTDOCS%%@dirrm share/doc/newfile/rdoc/classes
-%%PORTDOCS%%@dirrm share/doc/newfile/rdoc
-%%PORTDOCS%%@dirrm share/doc/newfile
+bin/newfile
+%%PORTDOCS%%%%DOCSDIR%%/newfile.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/Cond.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/FileFinder.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/FileProcessor.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/Installed.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/NewfileOpts.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/OptionError.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/ParseError.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/ParseMsg.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/ParseWarning.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/classes/SyTab.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/rdoc/classes
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/created.rid
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/files/fileproc_rb.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/files/newfile_rb.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/files/sytab_rb.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/rdoc/files
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/fr_class_index.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/fr_file_index.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/fr_method_index.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/index.html
+%%PORTDOCS%%%%DOCSDIR%%/rdoc/rdoc-style.css
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/rdoc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%DATADIR%%/fileproc.rb
+%%DATADIR%%/licenses/Artistic@Artistic
+%%DATADIR%%/licenses/Artistic@README
+%%DATADIR%%/licenses/Artistic@license.inc
+%%DATADIR%%/licenses/BSD@LICENSE
+%%DATADIR%%/licenses/BSD@README
+%%DATADIR%%/licenses/BSD@license.inc
+%%DATADIR%%/licenses/GPL@COPYING
+%%DATADIR%%/licenses/GPL@README
+%%DATADIR%%/licenses/GPL@license.inc
+%%DATADIR%%/licenses/default@license.inc
+%%DATADIR%%/licenses/minimal@LICENSE
+%%DATADIR%%/licenses/minimal@README
+%%DATADIR%%/licenses/minimal@license.inc
+%%DATADIR%%/licenses/no@license.inc
+@dirrm %%DATADIR%%/licenses
+%%DATADIR%%/newfile.rb
+%%DATADIR%%/projects/auto@Makefile.am
+%%DATADIR%%/projects/auto@Makefile.cvs
+%%DATADIR%%/projects/auto@Mk^alane.pod.mk
+%%DATADIR%%/projects/auto@Mk^alane.rd.mk
+%%DATADIR%%/projects/auto@Mk^alane.tex.mk
+%%DATADIR%%/projects/auto@acinclude.m4
+%%DATADIR%%/projects/auto@configure.ac
+%%DATADIR%%/projects/auto@doc^Makefile.am
+%%DATADIR%%/projects/auto@src^Makefile.am
+%%DATADIR%%/projects/port@Makefile
+%%DATADIR%%/projects/port@distinfo
+%%DATADIR%%/projects/port@pkg-comment
+%%DATADIR%%/projects/port@pkg-descr
+%%DATADIR%%/projects/port@pkg-plist
+@dirrm %%DATADIR%%/projects
+%%DATADIR%%/sytab.rb
+%%DATADIR%%/templates/body.inc@sh
+%%DATADIR%%/templates/tmpl@c
+%%DATADIR%%/templates/tmpl@c++
+%%DATADIR%%/templates/tmpl@generic
+%%DATADIR%%/templates/tmpl@h
+%%DATADIR%%/templates/tmpl@h++
+%%DATADIR%%/templates/tmpl@mgp
+%%DATADIR%%/templates/tmpl@mk
+%%DATADIR%%/templates/tmpl@pl
+%%DATADIR%%/templates/tmpl@pod
+%%DATADIR%%/templates/tmpl@py
+%%DATADIR%%/templates/tmpl@rb
+%%DATADIR%%/templates/tmpl@rd
+%%DATADIR%%/templates/tmpl@sh
+@dirrm %%DATADIR%%/templates
+@dirrm %%DATADIR%%