Skip site navigation (1)Skip section navigation (2)
Date:      24 Jun 2003 14:58:36 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53685: [PATCH] devel/newfile: fix Perl dependency, take maintainership
Message-ID:  <20030624145836.39130.qmail@outpost.globcon.net>
Resent-Message-ID: <200306241500.h5OF0T8F087903@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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
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@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%%
--- newfile-1.0.13_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030624145836.39130.qmail>