aboutsummaryrefslogtreecommitdiff
path: root/games/hllib/Makefile
diff options
context:
space:
mode:
authorFelippe de Meirelles Motta <lippe@FreeBSD.org>2013-02-14 22:04:06 +0000
committerFelippe de Meirelles Motta <lippe@FreeBSD.org>2013-02-14 22:04:06 +0000
commit13f09390a9da3044847a2f99e45c335dfa39fb5b (patch)
treeec601524b7075d3905c7658877e23ce5402bbad0 /games/hllib/Makefile
parenta5f49b820e951d9b51223f451b25fbf1f21d80e7 (diff)
downloadports-13f09390a9da3044847a2f99e45c335dfa39fb5b.tar.gz
ports-13f09390a9da3044847a2f99e45c335dfa39fb5b.zip
Notes
Diffstat (limited to 'games/hllib/Makefile')
-rw-r--r--games/hllib/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/games/hllib/Makefile b/games/hllib/Makefile
index 8b538fea9a3a..34af692f054e 100644
--- a/games/hllib/Makefile
+++ b/games/hllib/Makefile
@@ -2,23 +2,25 @@
# $FreeBSD$
PORTNAME= hllib
-PORTVERSION= 2.4.3
+PORTVERSION= 2.4.4
CATEGORIES= games devel
MASTER_SITES= http://nemesis.thewavelength.net/files/files/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danilogondolfo@gmail.com
COMMENT= Library to work with various Half-Life file formats
LICENSE= LGPL21
USE_ZIP= yes
-USE_DOS2UNIX= Makefile # required by make(1)
+USE_DOS2UNIX= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/HLLib
CFLAGS+= -fpic -DUSE_ZLIB
-HLLIB_VERS= 2.3.0
+PATCH_WRKSRC= ${WRKDIR}
+
+HLLIB_VERS= 2.4.4
PLIST_FILES= include/hl.h lib/libhl.so.${HLLIB_VERS} \
lib/libhl.so.2 lib/libhl.so
@@ -33,5 +35,7 @@ post-patch:
@${REINPLACE_CMD} -e '/friend CSGADirectory/d' ${WRKSRC}/SGAFile.h
# Add missing -lz
@${REINPLACE_CMD} -e '/$$(LDFLAGS)/s,$$, -lz,' ${WRKSRC}/Makefile
+# Fix library version
+ @${REINPLACE_CMD} -e 's/2\.3\.0/2\.4\.4/' ${WRKSRC}/Makefile
.include <bsd.port.mk>