svn commit: r312245 - in head/archivers/hlextract: . files
Felippe de Meirelles Motta
lippe at FreeBSD.org
Thu Feb 14 22:05:17 UTC 2013
Author: lippe
Date: Thu Feb 14 22:05:15 2013
New Revision: 312245
URL: http://svnweb.freebsd.org/changeset/ports/312245
Log:
- Update to 2.4.4
- Pass maintainership to submitter
- Make CLANG happy
PR: ports/176042
Submitted by: Danilo Egea Gondolfo <danilogondolfo at gmail.com>
Added:
head/archivers/hlextract/files/
head/archivers/hlextract/files/patch-HLExtract-Main.c (contents, props changed)
Modified:
head/archivers/hlextract/Makefile (contents, props changed)
head/archivers/hlextract/distinfo (contents, props changed)
Modified: head/archivers/hlextract/Makefile
==============================================================================
--- head/archivers/hlextract/Makefile Thu Feb 14 22:04:06 2013 (r312244)
+++ head/archivers/hlextract/Makefile Thu Feb 14 22:05:15 2013 (r312245)
@@ -2,26 +2,25 @@
# $FreeBSD$
PORTNAME= hlextract
-PORTVERSION= 2.4.3
+PORTVERSION= 2.4.4
CATEGORIES= archivers games
MASTER_SITES= http://nemesis.thewavelength.net/files/files/
DISTNAME= hllib${PORTVERSION:S/.//g}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= danilogondolfo at gmail.com
COMMENT= Utility to extract data from various Half-Life file formats
LICENSE= GPLv2
LIB_DEPENDS= hl:${PORTSDIR}/games/hllib
+USE_DOS2UNIX= yes
USE_ZIP= yes
WRKSRC= ${WRKDIR}/HLExtract
-PLIST_FILES= bin/${PORTNAME}
+PATCH_WRKSRC= ${WRKDIR}
-post-patch:
- @${REINPLACE_CMD} -e 's,linux/limits,sys/param, ; \
- s,HLExtract\.exe,${PORTNAME},' ${WRKSRC}/Main.c
+PLIST_FILES= bin/${PORTNAME}
do-build:
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
Modified: head/archivers/hlextract/distinfo
==============================================================================
--- head/archivers/hlextract/distinfo Thu Feb 14 22:04:06 2013 (r312244)
+++ head/archivers/hlextract/distinfo Thu Feb 14 22:05:15 2013 (r312245)
@@ -1,2 +1,2 @@
-SHA256 (hllib243.zip) = 2eafa706ab4cccea0c9966f45e5eabf4bad27b5b4b224cc6592ba68debd54ae0
-SIZE (hllib243.zip) = 591480
+SHA256 (hllib244.zip) = cb94da1c32e9577dce1aa2bbb77f283212684afcd7814d42228c9ffff71d3699
+SIZE (hllib244.zip) = 593745
Added: head/archivers/hlextract/files/patch-HLExtract-Main.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/hlextract/files/patch-HLExtract-Main.c Thu Feb 14 22:05:15 2013 (r312245)
@@ -0,0 +1,82 @@
+diff -ru ../orig/HLExtract/Main.c ./HLExtract/Main.c
+--- ../orig/HLExtract/Main.c 2011-09-17 00:41:54.000000000 -0300
++++ ./HLExtract/Main.c 2013-02-11 18:29:02.880217165 -0200
+@@ -52,7 +52,7 @@
+ # define WIN32_LEAN_AND_MEAN
+ # include <windows.h>
+ #else
+-# include <linux/limits.h>
++# include <sys/param.h>
+ # define MAX_PATH PATH_MAX
+
+ # define FOREGROUND_BLUE 0x0001
+@@ -618,15 +618,15 @@
+ printf("\n");
+ printf("Example HLExtract usage:\n");
+ #ifdef _WIN32
+- printf("HLExtract.exe -p \"C:\\half-life.gcf\" -d \"C:\\backup\" -e \"root\\valve\\models\" -e \"root\\valve\\config.cfg\"\n");
+- printf("HLExtract.exe -p \"C:\\half-life.gcf\" -c -m -v\n");
+- printf("HLExtract.exe -p \"C:\\half-life.gcf\" -lf \"C:\\half-life.txt\" -m -s\n");
+- printf("HLExtract.exe -p \"C:\\half-life.gcf\" -m -f\n");
++ printf("hlextract -p \"C:\\half-life.gcf\" -d \"C:\\backup\" -e \"root\\valve\\models\" -e \"root\\valve\\config.cfg\"\n");
++ printf("hlextract -p \"C:\\half-life.gcf\" -c -m -v\n");
++ printf("hlextract -p \"C:\\half-life.gcf\" -lf \"C:\\half-life.txt\" -m -s\n");
++ printf("hlextract -p \"C:\\half-life.gcf\" -m -f\n");
+ #else
+- printf("HLExtract.exe -p \"~/half-life.gcf\" -d \"~/backup\" -e \"root/valve/models\" -e \"root/valve/config.cfg\"\n");
+- printf("HLExtract.exe -p \"~/half-life.gcf\" -c -m -v\n");
+- printf("HLExtract.exe -p \"~/half-life.gcf\" -lf \"~/half-life.txt\" -m -s\n");
+- printf("HLExtract.exe -p \"~/half-life.gcf\" -m -f\n");
++ printf("hlextract -p \"~/half-life.gcf\" -d \"~/backup\" -e \"root/valve/models\" -e \"root/valve/config.cfg\"\n");
++ printf("hlextract -p \"~/half-life.gcf\" -c -m -v\n");
++ printf("hlextract -p \"~/half-life.gcf\" -lf \"~/half-life.txt\" -m -s\n");
++ printf("hlextract -p \"~/half-life.gcf\" -m -f\n");
+ #endif
+ }
+
+@@ -657,6 +657,8 @@
+ fprintf(pFile, "%s\n", lpPath);
+ }
+ break;
++ default:
++ ;
+ }
+ }
+
+@@ -843,6 +845,8 @@
+ PrintValidation(eValidation);
+ printf("\n");
+ break;
++ default:
++ ;
+ }
+ }
+ else
+@@ -851,6 +855,8 @@
+ printf(" \n");
+ }
+ break;
++ default:
++ ;
+ }
+
+ return eValidation;
+@@ -882,6 +888,8 @@
+ case HL_ATTRIBUTE_STRING:
+ printf("%s%s: %s%s\n", lpPrefix, pAttribute->lpName, pAttribute->Value.String.lpValue, lpPostfix);
+ break;
++ default:
++ ;
+ }
+ }
+
+@@ -1151,6 +1159,8 @@
+ printf(" Size: %u B\n", hlFileGetSize(pSubItem));
+ printf(" Size On Disk: %u B\n", hlFileGetSizeOnDisk(pSubItem));
+ break;
++ default:
++ ;
+ }
+
+ uiItemCount = hlPackageGetItemAttributeCount();
+Only in ./HLExtract: Main.c.bak
More information about the svn-ports-head
mailing list