Bug 209583 - [NEW PORT] www/wp-cli: Command line interface for WordPress
Summary: [NEW PORT] www/wp-cli: Command line interface for WordPress
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: easy, feature, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-05-17 16:41 UTC by Vick Khera
Modified: 2017-04-10 15:09 UTC (History)
1 user (show)

See Also:


Attachments
Shar file of new port www/wp-cli (1.40 KB, text/plain)
2016-05-17 16:41 UTC, Vick Khera
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vick Khera 2016-05-17 16:41:19 UTC
Created attachment 170410 [details]
Shar file of new port www/wp-cli

Command line interface to wordpress.

I was unable to figure out how to make it fetch the file using the Github knobs in the port file, so I mimicked a port that installs a java app via jar file.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2016-06-30 15:33:30 UTC
Hi Vick, sorry for the delay and thanks for your contribution.

On a quick glance I can see that the port needs some changes made, including:

* Using the USE_GITHUB and GH_* bits. See:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#makefile-master_sites-github-description

And a few examples:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#makefile-master_sites-github-ex1

* Remove leading "A " from the beginning of COMMENT
* DISTNAME doesn't appear to be necessary (as it defaults to PORTNAME-PORTVERSION)

It's worth running submissions through QA tools prior to submission as well: 

* portlint -AC
* poudriere testport