pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/libmpq: import libmpq-0.4.2 as wip/libmpq
Module Name: pkgsrc-wip
Committed By: Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By: yhardy
Date: Tue Nov 5 23:06:50 2019 +0200
Changeset: 4c2ab940f201b39b0135437cb6432725b87195e6
Modified Files:
Makefile
Added Files:
libmpq/DESCR
libmpq/Makefile
libmpq/PLIST
libmpq/buildlink3.mk
libmpq/distinfo
Log Message:
wip/libmpq: import libmpq-0.4.2 as wip/libmpq
libmpq is a library which can be easily used in own applications
to extract, create or manipulate MoPaQ mpq archives.
MPQ, or MoPaQ, is a proprietary archive format created by Mike
O'Brien, the man hailed as Blizzard's multiplayer engine genius,
back in 1996 as a general purpose archive for use with Diablo.
The archive format is used by many Blizzard titles like Diablo,
Diablo 2, Starcraft, Warcraft 2: BNE, a newer version in Warcraft
3 and World of Warcraft (WoW).
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4c2ab940f201b39b0135437cb6432725b87195e6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
libmpq/DESCR | 9 +++++++++
libmpq/Makefile | 26 ++++++++++++++++++++++++++
libmpq/PLIST | 37 +++++++++++++++++++++++++++++++++++++
libmpq/buildlink3.mk | 13 +++++++++++++
libmpq/distinfo | 6 ++++++
6 files changed, 92 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 35d77cda63..eeb9d27fa7 100644
--- a/Makefile
+++ b/Makefile
@@ -1957,6 +1957,7 @@ SUBDIR+= libmesode
SUBDIR+= libmirisdr-git
SUBDIR+= libmobi-git
SUBDIR+= libmpg123
+SUBDIR+= libmpq
SUBDIR+= libmusclecard
SUBDIR+= libncl
SUBDIR+= libnestedsums
diff --git a/libmpq/DESCR b/libmpq/DESCR
new file mode 100644
index 0000000000..7df9bca0bb
--- /dev/null
+++ b/libmpq/DESCR
@@ -0,0 +1,9 @@
+libmpq is a library which can be easily used in own applications
+to extract, create or manipulate MoPaQ mpq archives.
+
+MPQ, or MoPaQ, is a proprietary archive format created by Mike
+O'Brien, the man hailed as Blizzard's multiplayer engine genius,
+back in 1996 as a general purpose archive for use with Diablo.
+The archive format is used by many Blizzard titles like Diablo,
+Diablo 2, Starcraft, Warcraft 2: BNE, a newer version in Warcraft
+3 and World of Warcraft (WoW).
diff --git a/libmpq/Makefile b/libmpq/Makefile
new file mode 100644
index 0000000000..cae91c4f06
--- /dev/null
+++ b/libmpq/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME= libmpq-0.4.2
+CATEGORIES= devel games
+MASTER_SITES= https://libmpq.org/download/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://libmpq.org/download/
+COMMENT= Library to extract, create or manipulate mpq archives
+
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= libmpq.pc.in
+
+PYTHON_VERSIONS_INCOMPATIBLE= 36 37 38
+PY_PATCHPLIST= yes
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libmpq/PLIST b/libmpq/PLIST
new file mode 100644
index 0000000000..2fd20f1336
--- /dev/null
+++ b/libmpq/PLIST
@@ -0,0 +1,37 @@
+@comment $NetBSD$
+bin/libmpq-config
+include/libmpq/mpq.h
+lib/libmpq.la
+lib/pkgconfig/libmpq.pc
+${PYSITELIB}/mpq.py
+${PYSITELIB}/mpq.pyc
+${PYSITELIB}/mpq.pyo
+man/man1/libmpq-config.1
+man/man3/libmpq.3
+man/man3/libmpq__archive_close.3
+man/man3/libmpq__archive_files.3
+man/man3/libmpq__archive_offset.3
+man/man3/libmpq__archive_open.3
+man/man3/libmpq__archive_packed_size.3
+man/man3/libmpq__archive_unpacked_size.3
+man/man3/libmpq__archive_version.3
+man/man3/libmpq__block_close_offset.3
+man/man3/libmpq__block_offset.3
+man/man3/libmpq__block_open_offset.3
+man/man3/libmpq__block_packed_size.3
+man/man3/libmpq__block_read.3
+man/man3/libmpq__block_seed.3
+man/man3/libmpq__block_unpacked_size.3
+man/man3/libmpq__file_blocks.3
+man/man3/libmpq__file_compressed.3
+man/man3/libmpq__file_encrypted.3
+man/man3/libmpq__file_imploded.3
+man/man3/libmpq__file_name.3
+man/man3/libmpq__file_number.3
+man/man3/libmpq__file_offset.3
+man/man3/libmpq__file_packed_size.3
+man/man3/libmpq__file_read.3
+man/man3/libmpq__file_unpacked_size.3
+man/man3/libmpq__init.3
+man/man3/libmpq__shutdown.3
+man/man3/libmpq__version.3
diff --git a/libmpq/buildlink3.mk b/libmpq/buildlink3.mk
new file mode 100644
index 0000000000..f73c146f20
--- /dev/null
+++ b/libmpq/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libmpq
+
+.if !defined(LIBMPQ_BUILDLINK3_MK)
+LIBMPQ_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libmpq+= libmpq>=0.4.2
+BUILDLINK_PKGSRCDIR.libmpq?= ../../wip/libmpq
+
+.endif # LIBMPQ_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libmpq
diff --git a/libmpq/distinfo b/libmpq/distinfo
new file mode 100644
index 0000000000..fe980dbef7
--- /dev/null
+++ b/libmpq/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libmpq-0.4.2.tar.bz2) = 4c9265094370641a687933d33c2ff531451cd5e2
+RMD160 (libmpq-0.4.2.tar.bz2) = 3c7c854b5d491baeb8d2c7b338c16b4de772d999
+SHA512 (libmpq-0.4.2.tar.bz2) = 6d4431c950b37b628f80c59faa783782745e408156322d2e2ffc9c9bec4f20c602523d647be8269f1a2acdd76b519a694e8eec79f2876bbd42112d5a929d5cfa
+Size (libmpq-0.4.2.tar.bz2) = 257615 bytes
Home |
Main Index |
Thread Index |
Old Index