Bug 210944

Summary: science/metaf2xml: Update to 2.0
Product: Ports & Packages Reporter: metaf2xml
Component: Individual Port(s)Assignee: Wen Heping <wen>
Status: Closed FIXED    
Severity: Affects Some People CC: wen
Priority: --- Keywords: needs-qa, patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to update science/metaf2xml to 2.0
none
patch to update science/metaf2xml to 2.0 none

Description metaf2xml 2016-07-09 13:52:09 UTC
Created attachment 172284 [details]
patch to update science/metaf2xml to 2.0

Attached a proposed patch to upgrade the port for science/metaf2xml to 2.0. The patch has the following changes:

- Makefile: change PORTVERSION to 2.0
- Makefile: add NO_ARCH=yes
- Makefile: add RUN_DEPENDS=p5-CGI (required for Perl 5.21+)
- Makefile: MAKE_ARGS need METAF2XML_MAN=${PREFIX},
            CGI_DATA_DIR=CGI_LOG_DIR=/var/tmp (defaults for them have changed)
- pkg-plist: remove TODO and translation stubs metaf-lang-{pl,pt-br}.xml

Please apply the patch. Thanks!
Comment 1 VK 2016-07-09 16:30:42 UTC
Thanks for the patch. Please confirm the changes pass QA (portlint, poudriere).
Comment 2 metaf2xml 2016-07-23 12:43:32 UTC
Created attachment 172888 [details]
patch to update science/metaf2xml to 2.0

After checking I found 2 issues, new patch attached.
changes:
- METAF2XML_MAN must be ${PREFIX}/man
- use RUN_DEPENDS only for PERL_VER >= 5.22

Only minor corrections from previous version, everything should work as before.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-09-23 06:37:37 UTC
A commit references this bug:

Author: wen
Date: Fri Sep 23 06:37:28 UTC 2016
New revision: 422648
URL: https://svnweb.freebsd.org/changeset/ports/422648

Log:
  - Update to 2.0

  PR:		210944
  Submitted by:	metaf2xml@users.sourceforge.net

Changes:
  head/science/metaf2xml/Makefile
  head/science/metaf2xml/distinfo
  head/science/metaf2xml/pkg-descr
  head/science/metaf2xml/pkg-plist