Bug 141239 - [NEW PORT] devel/p5-Module-Install-Template: treat module source code as a template
Summary: [NEW PORT] devel/p5-Module-Install-Template: treat module source code as a te...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-07 07:50 UTC by Andrey Kostenko
Modified: 2009-12-26 03:30 UTC (History)
0 users

See Also:


Attachments
p5-Module-Install-Template-0.05.shar (2.81 KB, text/plain)
2009-12-07 07:50 UTC, Andrey Kostenko
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kostenko 2009-12-07 07:50:03 UTC
treat module source code as a template

WWW: http://search.cpan.org/~MARCEL/Module-Install-Template

Generated with FreeBSD Port Tools 0.99
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2009-12-09 16:33:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 2 Dmitry Marakasov 2009-12-10 00:50:56 UTC
* Andrey Kostenko (andrey@kostenko.name) wrote:

> >Description:
> treat module source code as a template
> 
> WWW: http://search.cpan.org/~MARCEL/Module-Install-Template

Please do not use App::Pm2Port any more - the port it generates is
broken and contains too much garbage.

- Fixed depends (p5-Module-Install is not in www)
- Assign RUN_DEPENDS with expansion to not contain anything which may be
  added to BUILD_DEPENDS.
- Canonicalize header (don't you want your real name/email there?)
- Beautify COMMENT and pkg-descr
- Remove extra items from plist, canonicalize

--- p5-Module-Install-Template.diff begins here ---
diff -ruN p5-Module-Install-Template.orig/Makefile p5-Module-Install-Template/Makefile
--- p5-Module-Install-Template.orig/Makefile	2009-12-10 03:37:07.000000000 +0300
+++ p5-Module-Install-Template/Makefile	2009-12-09 22:34:34.000000000 +0300
@@ -1,8 +1,9 @@
 # New ports collection makefile for:  Module-Install-Template
-# Whom: gugu
-# Date created: 07 December 2009
+# Date created:		07 December 2009
+# Whom:			gugu
+#
 # $FreeBSD$
-# Generated with App::Pm2Port . Do not edit directly, please
+#
 
 PORTNAME=	Module-Install-Template
 PORTVERSION=	0.05
@@ -11,11 +12,11 @@
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	andrey@kostenko.name
-COMMENT=	treat module source code as a template
+COMMENT=	Treat module source code as a template
 
 BUILD_DEPENDS=	p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
-				p5-Module-Install>=0:${PORTSDIR}/www/p5-Module-Install
-RUN_DEPENDS=${BUILD_DEPENDS}
+		p5-Module-Install>=0:${PORTSDIR}/devel/p5-Module-Install
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	5.6.0+
 MAN3=	Module::Install::Template.3
diff -ruN p5-Module-Install-Template.orig/pkg-descr p5-Module-Install-Template/pkg-descr
--- p5-Module-Install-Template.orig/pkg-descr	2009-12-10 03:37:07.000000000 +0300
+++ p5-Module-Install-Template/pkg-descr	2009-12-09 19:37:45.000000000 +0300
@@ -1,3 +1,3 @@
-treat module source code as a template
+Treat module source code as a template
 
 WWW: http://search.cpan.org/~MARCEL/Module-Install-Template
diff -ruN p5-Module-Install-Template.orig/pkg-plist p5-Module-Install-Template/pkg-plist
--- p5-Module-Install-Template.orig/pkg-plist	2009-12-10 03:37:07.000000000 +0300
+++ p5-Module-Install-Template/pkg-plist	2009-12-10 03:47:52.000000000 +0300
@@ -1,16 +1,4 @@
+bin/tt_pm_to_blib
 %%SITE_PERL%%/Module/Install/Template.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Install/Template/.packlist
-bin/tt_pm_to_blib
-@dirrmtry %%SITE_PERL%%/auto/Module/Install/Template
-@dirrmtry %%SITE_PERL%%/auto/Module/Install
-@dirrmtry %%SITE_PERL%%/auto/Module
-@dirrmtry %%SITE_PERL%%/auto
-@dirrmtry %%SITE_PERL%%/Module/Install
-@dirrmtry %%SITE_PERL%%/Module
-@dirrmtry %%SITE_PERL%%
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Install/Template
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Install
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%
-@dirrmtry blib/script
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Install/Template
--- p5-Module-Install-Template.diff ends here ---

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2009-12-10 00:51:06 UTC
State Changed
From-To: open->feedback

Ask for submitter approval.
Comment 4 Andrey Kostenko 2009-12-10 07:55:46 UTC
Yes, changes is correct. Module::Install I've added by my broken hands (it
was not in prereq). plist and comment style I'll fix in App::Pm2Port. Sorry
Comment 5 Dmitry Marakasov freebsd_committer freebsd_triage 2009-12-11 01:05:34 UTC
State Changed
From-To: feedback->open

Submitter has approved.
Comment 6 Dmitry Marakasov freebsd_committer freebsd_triage 2009-12-11 02:27:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2009-12-26 03:27:02 UTC
amdmi3      2009-12-26 03:26:53 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/p5-Module-Install-Template Makefile distinfo pkg-descr 
                                     pkg-plist 
  Log:
  Treat module source code as a template
  
  WWW: http://search.cpan.org/~MARCEL/Module-Install-Template
  
  PR:             141239
  Submitted by:   Andrey Kostenko <andrey@kostenko.name>
  
  Revision  Changes    Path
  1.3724    +1 -0      ports/devel/Makefile
  1.1       +24 -0     ports/devel/p5-Module-Install-Template/Makefile (new)
  1.1       +3 -0      ports/devel/p5-Module-Install-Template/distinfo (new)
  1.1       +3 -0      ports/devel/p5-Module-Install-Template/pkg-descr (new)
  1.1       +4 -0      ports/devel/p5-Module-Install-Template/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"