Bug 210944 - science/metaf2xml: Update to 2.0
Summary: science/metaf2xml: Update to 2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Wen Heping
URL:
Keywords: needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-07-09 13:52 UTC by metaf2xml
Modified: 2016-09-23 06:39 UTC (History)
1 user (show)

See Also:


Attachments
patch to update science/metaf2xml to 2.0 (3.58 KB, patch)
2016-07-09 13:52 UTC, metaf2xml
no flags Details | Diff
patch to update science/metaf2xml to 2.0 (3.91 KB, patch)
2016-07-23 12:43 UTC, metaf2xml
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 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