1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

Add HLLib, library for Half-Life that abstracts several package formats and

provides a simple interface for all of them.

WWW: http://nemesis.thewavelength.net/index.php?p=35
This commit is contained in:
Alexey Dokuchaev 2007-10-22 20:39:45 +00:00
parent d5b8cef6a5
commit c5e65a3c7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201771
4 changed files with 43 additions and 0 deletions

View File

@ -339,6 +339,7 @@
SUBDIR += hexxagon
SUBDIR += highmoon
SUBDIR += hinversi
SUBDIR += hllib
SUBDIR += hlstats
SUBDIR += hlstatsx
SUBDIR += hohlin

31
games/hllib/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: HLLib
# Date created: 22 Oct 2007
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= hllib
PORTVERSION= 2.0.6
CATEGORIES= games devel
MASTER_SITES= http://nemesis.thewavelength.net/files/files/ \
http://freebsd.nsu.ru/distfiles/
DISTNAME= ${PORTNAME}208
MAINTAINER= danfe@FreeBSD.org
COMMENT= Library to work with various Half-Life file formats
USE_ZIP= yes
USE_DOS2UNIX= Makefile
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/HLLib
PLIST_FILES= include/hl.h lib/libhl.so.${PORTVERSION} \
lib/libhl.so.2 lib/libhl.so
post-extract:
# Allow propagating of CXX, CXXFLAGS, and PREFIX; fix Linuxism and symlinks
@${REINPLACE_CMD} -E 's,^([CP][^=]*)=,\1?=, ; s,g root,g wheel, ; \
s,s \$$\(PREFIX\)/lib/,s ,' ${WRKSRC}/Makefile
.include <bsd.port.mk>

3
games/hllib/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (hllib208.zip) = 4065e54e092ab657a9250393d8e5548d
SHA256 (hllib208.zip) = 0f43a282887ac007f6ecb0bd081fefb486c1fd63c9e92e3e9febe536f846e7d9
SIZE (hllib208.zip) = 316370

8
games/hllib/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
HLLib is a package library for Half-Life that abstracts several package
formats and provides a simple interface for all of them. HLLib is written
in native C++ but exposes both a C and C++ interfaces which can be used in
any C or C++ application (additional languages may also use the library with
standard C imports). HLLib works natively in both Windows and *nix. BSP,
GCF, NCF, PAK, WAD, XZP, and uncompressed ZIP package formats are supported.
WWW: http://nemesis.thewavelength.net/index.php?p=35