aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2011-07-27 15:34:09 +0800
committerdanfe <danfe@FreeBSD.org>2011-07-27 15:34:09 +0800
commit2f185efe902818462cfd0bb64f8b7d915d1725e3 (patch)
tree5e0f0c32f6470e5a35458384ed55af10d601f31c
parent7859d90cfd008622882549dd9e64f94ead5ffcc9 (diff)
downloadfreebsd-ports-graphics-2f185efe902818462cfd0bb64f8b7d915d1725e3.tar.gz
freebsd-ports-graphics-2f185efe902818462cfd0bb64f8b7d915d1725e3.tar.zst
freebsd-ports-graphics-2f185efe902818462cfd0bb64f8b7d915d1725e3.zip
Update to version 2.4.2 and do some minor cleanups.
-rw-r--r--archivers/hlextract/Makefile6
-rw-r--r--archivers/hlextract/distinfo4
-rw-r--r--games/hllib/Makefile7
-rw-r--r--games/hllib/distinfo4
4 files changed, 11 insertions, 10 deletions
diff --git a/archivers/hlextract/Makefile b/archivers/hlextract/Makefile
index 0059ddf5222..772fafd51a7 100644
--- a/archivers/hlextract/Makefile
+++ b/archivers/hlextract/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= hlextract
-PORTVERSION= 2.3.0
+PORTVERSION= 2.4.2
CATEGORIES= archivers games
MASTER_SITES= http://nemesis.thewavelength.net/files/files/
DISTNAME= hllib${PORTVERSION:S/.//g}
@@ -24,9 +24,9 @@ WRKSRC= ${WRKDIR}/HLExtract
PLIST_FILES= bin/${PORTNAME}
-post-extract:
+post-patch:
@${REINPLACE_CMD} -e 's,linux/limits,sys/param, ; \
- s,HLExtract\.exe,hlextract,' ${WRKSRC}/Main.c
+ s,HLExtract\.exe,${PORTNAME},' ${WRKSRC}/Main.c
do-build:
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
diff --git a/archivers/hlextract/distinfo b/archivers/hlextract/distinfo
index 0769f852877..5be306196c4 100644
--- a/archivers/hlextract/distinfo
+++ b/archivers/hlextract/distinfo
@@ -1,2 +1,2 @@
-SHA256 (hllib230.zip) = a979cbbbe34aca7e9116144e1e4bf2f7608d604d66fd72e70ceefbf057a59817
-SIZE (hllib230.zip) = 538400
+SHA256 (hllib242.zip) = b307992c22ae67d00fbecf96e5213ac56737301ff3e7cd259214adbd132c83d9
+SIZE (hllib242.zip) = 536704
diff --git a/games/hllib/Makefile b/games/hllib/Makefile
index d9790d37214..443efa5cbf0 100644
--- a/games/hllib/Makefile
+++ b/games/hllib/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= hllib
-PORTVERSION= 2.3.0
+PORTVERSION= 2.4.2
CATEGORIES= games devel
MASTER_SITES= http://nemesis.thewavelength.net/files/files/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
@@ -22,10 +22,11 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/HLLib
CFLAGS+= -fpic
-PLIST_FILES= include/hl.h lib/libhl.so.${PORTVERSION} \
+HLLIB_VERS= 2.3.0
+PLIST_FILES= include/hl.h lib/libhl.so.${HLLIB_VERS} \
lib/libhl.so.2 lib/libhl.so
-post-extract:
+post-patch:
# 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
diff --git a/games/hllib/distinfo b/games/hllib/distinfo
index 0769f852877..5be306196c4 100644
--- a/games/hllib/distinfo
+++ b/games/hllib/distinfo
@@ -1,2 +1,2 @@
-SHA256 (hllib230.zip) = a979cbbbe34aca7e9116144e1e4bf2f7608d604d66fd72e70ceefbf057a59817
-SIZE (hllib230.zip) = 538400
+SHA256 (hllib242.zip) = b307992c22ae67d00fbecf96e5213ac56737301ff3e7cd259214adbd132c83d9
+SIZE (hllib242.zip) = 536704