ports/53685: [PATCH] devel/newfile: fix Perl dependency, take maintainership
Sergei Kolobov
sergei at kolobov.com
Tue Jun 24 15:00:31 UTC 2003
>Number: 53685
>Category: ports
>Synopsis: [PATCH] devel/newfile: fix Perl dependency, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 24 08:00:28 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergei Kolobov
>Release: FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Jan 2 03:13:48 MSK
>Description:
- Fix Perl dependency (${LOCALBASE} is not always /usr/local) in BUILD_DEPENDS
In fact, it needs pod2man, so check specifically for that
- Remove USE_PERL: we need Perl only at build time (see above)
- Use macros in pkg-plist
- Bump PORTREVISION
- Take maintainership (I am also taking on further newfile development)
>How-To-Repeat:
>Fix:
--- newfile-1.0.13_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/newfile/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 8 Jun 2003 21:13:45 -0000 1.8
+++ Makefile 24 Jun 2003 14:51:26 -0000
@@ -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 at FreeBSD.org
+MAINTAINER= sergei at 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 at SUBDIRS = src doc data doc-src www at SUBDIRS = src data at g' \
${WRKSRC}/Makefile.in
.endif
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/newfile/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist 9 May 2003 19:31:30 -0000 1.3
+++ pkg-plist 24 Jun 2003 14:51:26 -0000
@@ -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 at Artistic
-share/newfile/licenses/Artistic at README
-share/newfile/licenses/Artistic at license.inc
-share/newfile/licenses/BSD at LICENSE
-share/newfile/licenses/BSD at README
-share/newfile/licenses/BSD at license.inc
-share/newfile/licenses/GPL at COPYING
-share/newfile/licenses/GPL at README
-share/newfile/licenses/GPL at license.inc
-share/newfile/licenses/default at license.inc
-share/newfile/licenses/minimal at LICENSE
-share/newfile/licenses/minimal at README
-share/newfile/licenses/minimal at license.inc
-share/newfile/licenses/no at license.inc
-share/newfile/newfile.rb
-share/newfile/projects/auto at Makefile.am
-share/newfile/projects/auto at Makefile.cvs
-share/newfile/projects/auto at Mk^alane.pod.mk
-share/newfile/projects/auto at Mk^alane.rd.mk
-share/newfile/projects/auto at Mk^alane.tex.mk
-share/newfile/projects/auto at acinclude.m4
-share/newfile/projects/auto at configure.ac
-share/newfile/projects/auto at doc^Makefile.am
-share/newfile/projects/auto at src^Makefile.am
-share/newfile/projects/port at Makefile
-share/newfile/projects/port at distinfo
-share/newfile/projects/port at pkg-comment
-share/newfile/projects/port at pkg-descr
-share/newfile/projects/port at pkg-plist
-share/newfile/sytab.rb
-share/newfile/templates/body.inc at sh
-share/newfile/templates/tmpl at c
-share/newfile/templates/tmpl at c++
-share/newfile/templates/tmpl at generic
-share/newfile/templates/tmpl at h
-share/newfile/templates/tmpl at h++
-share/newfile/templates/tmpl at mgp
-share/newfile/templates/tmpl at mk
-share/newfile/templates/tmpl at pl
-share/newfile/templates/tmpl at pod
-share/newfile/templates/tmpl at py
-share/newfile/templates/tmpl at rb
-share/newfile/templates/tmpl at rd
-share/newfile/templates/tmpl at sh
- at dirrm share/newfile/templates
- at dirrm share/newfile/projects
- at dirrm share/newfile/licenses
- at 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 at Artistic
+%%DATADIR%%/licenses/Artistic at README
+%%DATADIR%%/licenses/Artistic at license.inc
+%%DATADIR%%/licenses/BSD at LICENSE
+%%DATADIR%%/licenses/BSD at README
+%%DATADIR%%/licenses/BSD at license.inc
+%%DATADIR%%/licenses/GPL at COPYING
+%%DATADIR%%/licenses/GPL at README
+%%DATADIR%%/licenses/GPL at license.inc
+%%DATADIR%%/licenses/default at license.inc
+%%DATADIR%%/licenses/minimal at LICENSE
+%%DATADIR%%/licenses/minimal at README
+%%DATADIR%%/licenses/minimal at license.inc
+%%DATADIR%%/licenses/no at license.inc
+ at dirrm %%DATADIR%%/licenses
+%%DATADIR%%/newfile.rb
+%%DATADIR%%/projects/auto at Makefile.am
+%%DATADIR%%/projects/auto at Makefile.cvs
+%%DATADIR%%/projects/auto at Mk^alane.pod.mk
+%%DATADIR%%/projects/auto at Mk^alane.rd.mk
+%%DATADIR%%/projects/auto at Mk^alane.tex.mk
+%%DATADIR%%/projects/auto at acinclude.m4
+%%DATADIR%%/projects/auto at configure.ac
+%%DATADIR%%/projects/auto at doc^Makefile.am
+%%DATADIR%%/projects/auto at src^Makefile.am
+%%DATADIR%%/projects/port at Makefile
+%%DATADIR%%/projects/port at distinfo
+%%DATADIR%%/projects/port at pkg-comment
+%%DATADIR%%/projects/port at pkg-descr
+%%DATADIR%%/projects/port at pkg-plist
+ at dirrm %%DATADIR%%/projects
+%%DATADIR%%/sytab.rb
+%%DATADIR%%/templates/body.inc at sh
+%%DATADIR%%/templates/tmpl at c
+%%DATADIR%%/templates/tmpl at c++
+%%DATADIR%%/templates/tmpl at generic
+%%DATADIR%%/templates/tmpl at h
+%%DATADIR%%/templates/tmpl at h++
+%%DATADIR%%/templates/tmpl at mgp
+%%DATADIR%%/templates/tmpl at mk
+%%DATADIR%%/templates/tmpl at pl
+%%DATADIR%%/templates/tmpl at pod
+%%DATADIR%%/templates/tmpl at py
+%%DATADIR%%/templates/tmpl at rb
+%%DATADIR%%/templates/tmpl at rd
+%%DATADIR%%/templates/tmpl at sh
+ at dirrm %%DATADIR%%/templates
+ at dirrm %%DATADIR%%
--- newfile-1.0.13_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list