Bug 217722

Summary: sysutils/p5-BackupPC-XS: update to 0.52
Product: Ports & Packages Reporter: Alexander Moisseev <moiseev>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me Flags: moiseev: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch moiseev: maintainer-approval+

Description Alexander Moisseev 2017-03-12 12:35:27 UTC
Created attachment 180743 [details]
patch

- Update 0.50 -> 0.52
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-03-12 15:45:52 UTC
Since CPAN is available, there's no need to use GITHUB.
I propose the following change of Makefile.

--- Makefile    (revision 435896)
+++ Makefile    (working copy)
@@ -2,9 +2,10 @@
 # $FreeBSD$

 PORTNAME=      BackupPC-XS
-DISTVERSIONPREFIX=     v
-DISTVERSION=   0_50
+PORTVERSION=   0.52
 CATEGORIES=    sysutils perl5
+MASTER_SITES=  CPAN
+MASTER_SITE_SUBDIR=    CPAN:CBARRATT
 PKGNAMEPREFIX= p5-

 MAINTAINER=    moiseev@mezonplus.ru
@@ -12,11 +13,6 @@

 LICENSE=       GPLv3

-WRKSRC=        ${WRKDIR}/backuppc-xs-${DISTVERSION}
-
-USE_GITHUB=    yes
-GH_ACCOUNT=    backuppc
-
 USES=          perl5
 USE_PERL5=     configure
Comment 2 Alexander Moisseev 2017-03-12 16:02:35 UTC
(In reply to Po-Chuan Hsieh from comment #1)
Thank you for the hint. I have no objection. Should I do something or you can commit the changes you proposing?
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-03-12 17:30:22 UTC
A commit references this bug:

Author: sunpoet
Date: Sun Mar 12 17:28:56 UTC 2017
New revision: 436009
URL: https://svnweb.freebsd.org/changeset/ports/436009

Log:
  Update to 0.52

  - While I'm here:
    - Change MASTER_SITES to CPAN
    - Remove unnecessary DISTVERSIONPREFIX, WRKSRC, USE_GITHUB and GH_ACCOUNT
    - Strip shared library
    - Sort PLIST

  Changes:	http://search.cpan.org/dist/BackupPC-XS/Changes
  PR:		217722
  Submitted by:	Alexander Moisseev <moiseev@mezonplus.ru> (maintainer)

Changes:
  head/sysutils/p5-BackupPC-XS/Makefile
  head/sysutils/p5-BackupPC-XS/distinfo
  head/sysutils/p5-BackupPC-XS/pkg-plist
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-03-12 17:34:52 UTC
Committed. Thanks!