FreeBSD Bugzilla – Attachment 230357 Details for
Bug 260561
[newport] archivers/stormlib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Improved patch
stormlib.patch (text/plain), 3.74 KB, created by
Dmitry Marakasov
on 2021-12-23 19:02:54 UTC
(
hide
)
Description:
Improved patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2021-12-23 19:02:54 UTC
Size:
3.74 KB
patch
obsolete
>diff --git archivers/Makefile archivers/Makefile >index caea780b16f5..192c88d7e2f6 100644 >--- archivers/Makefile >+++ archivers/Makefile >@@ -221,6 +221,7 @@ > SUBDIR += snzip > SUBDIR += squsq > SUBDIR += star >+ SUBDIR += stormlib > SUBDIR += streamvbyte > SUBDIR += stuffit > SUBDIR += szip >diff --git archivers/stormlib/Makefile archivers/stormlib/Makefile >new file mode 100644 >index 000000000000..ccfad890dceb >--- /dev/null >+++ archivers/stormlib/Makefile >@@ -0,0 +1,30 @@ >+PORTNAME= stormlib >+PORTVERSION= 9.23 >+DISTVERSIONPREFIX= v >+CATEGORIES= archivers >+ >+MAINTAINER= ports@FreeBSD.org >+COMMENT= Library to process MPQ (MoPaQ) archives >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+LIB_DEPENDS= libtomcrypt.so:security/libtomcrypt >+ >+USES= cmake compiler:c++11-lang pkgconfig >+USE_GITHUB= yes >+USE_LDCONFIG= yes >+GH_ACCOUNT= ladislav-zezula >+GH_PROJECT= StormLib >+CMAKE_ON= BUILD_SHARED_LIBS WITH_LIBTOMCRYPT >+ >+OPTIONS_DEFINE= DOCS >+ >+PORTDOCS= * >+ >+post-install-DOCS-on: >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} >+ (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) >+ >+.include <bsd.port.mk> >diff --git archivers/stormlib/distinfo archivers/stormlib/distinfo >new file mode 100644 >index 000000000000..a9e3eb1ef251 >--- /dev/null >+++ archivers/stormlib/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1640272865 >+SHA256 (ladislav-zezula-StormLib-v9.23_GH0.tar.gz) = d62ba42f1e02efcb2cbaa03bd2e20fbd18c45499ef5fe65ffb89ee52a7bd9c92 >+SIZE (ladislav-zezula-StormLib-v9.23_GH0.tar.gz) = 605295 >diff --git archivers/stormlib/distinfo_ archivers/stormlib/distinfo_ >new file mode 100644 >index 000000000000..471334806111 >--- /dev/null >+++ archivers/stormlib/distinfo_ >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1639926041 >+SHA256 (ladislav-zezula-stormlib-v9.23_GH0.tar.gz) = d62ba42f1e02efcb2cbaa03bd2e20fbd18c45499ef5fe65ffb89ee52a7bd9c92 >+SIZE (ladislav-zezula-stormlib-v9.23_GH0.tar.gz) = 605295 >diff --git archivers/stormlib/files/patch-CMakeLists.txt archivers/stormlib/files/patch-CMakeLists.txt >new file mode 100644 >index 000000000000..28fb3b2141fd >--- /dev/null >+++ archivers/stormlib/files/patch-CMakeLists.txt >@@ -0,0 +1,16 @@ >+--- CMakeLists.txt.orig 2020-11-21 03:27:09 UTC >++++ CMakeLists.txt >+@@ -293,7 +293,12 @@ else() >+ >+ option(WITH_LIBTOMCRYPT "Use system LibTomCrypt library" OFF) >+ if(WITH_LIBTOMCRYPT) >+- set(LINK_LIBS ${LINK_LIBS} tomcrypt) >++ include(FindPkgConfig) >++ pkg_check_modules(PC_LIBTOMCRYPT libtomcrypt REQUIRED) >++ find_path(LIBTOMCRYPT_INCLUDE_DIR NAMES tomcrypt.h HINTS ${PC_LIBTOMCRYPT_INCLUDE_DIRS} REQUIRED) >++ find_library(LIBTOMCRYPT_LIBRARY NAMES tomcrypt HINTS ${PC_LIBTOMCRYPT_LIBRARY_DIRS} REQUIRED) >++ set(LINK_LIBS ${LINK_LIBS} ${LIBTOMCRYPT_LIBRARY}) >++ include_directories(${LIBTOMCRYPT_INCLUDE_DIR}) >+ else() >+ set(SRC_ADDITIONAL_FILES ${TOMCRYPT_FILES} ${TOMMATH_FILES}) >+ endif() >diff --git archivers/stormlib/pkg-descr archivers/stormlib/pkg-descr >new file mode 100644 >index 000000000000..40cad33fc487 >--- /dev/null >+++ archivers/stormlib/pkg-descr >@@ -0,0 +1,9 @@ >+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 >diff --git archivers/stormlib/pkg-plist archivers/stormlib/pkg-plist >new file mode 100644 >index 000000000000..33d6c247ba6a >--- /dev/null >+++ archivers/stormlib/pkg-plist >@@ -0,0 +1,5 @@ >+include/StormLib.h >+include/StormPort.h >+lib/libstorm.so >+lib/libstorm.so.9 >+lib/libstorm.so.9.22.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 260561
:
230262
| 230357