Bug 260561 - [newport] archivers/stormlib
Summary: [newport] archivers/stormlib
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 08:02 UTC by Alastair Hogge
Modified: 2022-02-25 19:14 UTC (History)
1 user (show)

See Also:


Attachments
Add new port archivers/stormlib-9.23 (4.84 KB, patch)
2021-12-20 08:02 UTC, Alastair Hogge
no flags Details | Diff
Improved patch (3.74 KB, patch)
2021-12-23 19:02 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Hogge 2021-12-20 08:02:39 UTC
Created attachment 230262 [details]
Add new port archivers/stormlib-9.23

Library for reading and modifying Blizzard Entertainment .MPQ game data files.
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2021-12-23 19:02:28 UTC
> # Why can I not do this with DISTNAME=StormLib?

You need to set GH_PROJECT to the properly cased StormLib.

> MAINTAINER=	ports@FreeBSD.org

Why haven't you set yourself a maintainer? Well, I can maintain it if you don't want to.

See my version of the patch, which
- forces use of external tomcrypt (and fixes detection of it)
- always installs shared library (optional static/shared libs are impossible to handle in consumer ports)
- PORTDOCS=*
- Simplifies some bits
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2021-12-23 19:02:54 UTC
Created attachment 230357 [details]
Improved patch
Comment 3 Alastair Hogge 2022-01-14 11:03:15 UTC
(In reply to Dmitry Marakasov from comment #1)

> You need to set GH_PROJECT to the properly cased StormLib.

Ah thank you.

> Why haven't you set yourself a maintainer? Well, I can maintain it if you don't want to.

Sorry about the fail there on ${MAINTAINER}. I would really appreciate you picking up the role, thanks.


> See my version of the patch, which
> - forces use of external tomcrypt (and fixes detection of it)

Lovely work, thank you.

> - always installs shared library (optional static/shared libs are impossible to handle in consumer ports)

Ah! That explains some pain.

> - PORTDOCS=*
> - Simplifies some bits

Yes the improved patch is great! Thank you for the amazing work and response.
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-02-25 19:13:13 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=601bb414d25aaf9803f1bc8ad380ea218218f78f

commit 601bb414d25aaf9803f1bc8ad380ea218218f78f
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-12-24 09:26:39 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-02-25 19:12:28 +0000

    games/wargus: add stormlib support

    PR:             260561, 260563
    Submitted by:   agh@riseup.net

 games/wargus/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-02-25 19:13:14 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c9f5fec2c6a3bacd891052491076366f1db4369c

commit c9f5fec2c6a3bacd891052491076366f1db4369c
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-12-24 09:25:31 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-02-25 19:12:28 +0000

    archivers/stormlib: add port

    StormLib is a pack of C++ modules, which provide the user means to modify MPQ
    archives

    MPQ (MoPaQ) is an archive format developed by Blizzard Entertainment, purposed
    for storing data files, images, sounds, music and videos for their games. The
    name MoPaQ comes from the author of the format, Mike O'Brien (Mike O'brien
    PaCK).

    WWW: http://www.zezula.net/en/mpq/main.html

    PR:             260561
    Submitted by:   agh@riseup.net

 archivers/Makefile                                 |  1 +
 archivers/stormlib/Makefile (new)                  | 30 ++++++++++++++++++++++
 archivers/stormlib/distinfo (new)                  |  3 +++
 .../stormlib/files/patch-CMakeLists.txt (new)      | 16 ++++++++++++
 archivers/stormlib/pkg-descr (new)                 |  9 +++++++
 archivers/stormlib/pkg-plist (new)                 |  5 ++++
 6 files changed, 64 insertions(+)