summaryrefslogtreecommitdiff
path: root/games/lgogdownloader
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-10-02 09:27:23 +0000
committerwiz <wiz@pkgsrc.org>2014-10-02 09:27:23 +0000
commitf5359e9ebe69e4f0876e91ceec2d2685a6005689 (patch)
treeb4808d9141d002bcb815239cadda544eb72f24e6 /games/lgogdownloader
parenta0bbce254808a839ba4778c3929f2096a4f3dfc7 (diff)
downloadpkgsrc-f5359e9ebe69e4f0876e91ceec2d2685a6005689.tar.gz
Update to 2.18:
LGOGDownloader 2.18 - Added better login check * Allows user to login with username instead of email * Prints some info on failed login with debug build - Fixed login issues caused by case sensitivity - Added PREFIX and MANPREFIX to Makefile - Allowed unrecognized options in config file - Added --no-cover option back - Listing games with --list now only displays games that support the platforms specified with --platform - Made Downloader::HTTP_Login print some more info - File hashing changes to Util::createXML * File hash is updated in the same loop that chunk hashes are calculated (gives the user better indication of the hashing progress) - Avoid touching $HOME when displaying help or version (patch by: Stephen Kitt) * This fixes main() to handle --help and --version before doing anything to the filesystem - Fixed spelling mistake in message displayed when downloading files (patch by: Neil Ramsbottom) - Changed --report option to allow setting the filename of report - Old files are now renamed instead of deleted during --repair --download - Renamed old files now contain date in filename (filename.ext.YYYYMMDDTHHMMSS.old where T is the date-time separator) - Added support for setting subdirectories * Allows user to specify subdirectories for games, installers, extras, patches, language packs and dlc * You can use templates "%gamename%", "%platform%" and "%dlcname%" which are replaced by the relevant info * New options: --subdir-installers, --subdir-extras, --subdir-patches, --subdir-language-packs, --subdir-dlc, --subdir-game
Diffstat (limited to 'games/lgogdownloader')
-rw-r--r--games/lgogdownloader/Makefile17
-rw-r--r--games/lgogdownloader/distinfo9
-rw-r--r--games/lgogdownloader/patches/patch-Makefile14
3 files changed, 9 insertions, 31 deletions
diff --git a/games/lgogdownloader/Makefile b/games/lgogdownloader/Makefile
index b02cc7754dd..e20bb4db5fb 100644
--- a/games/lgogdownloader/Makefile
+++ b/games/lgogdownloader/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2014/08/31 07:15:53 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2014/10/02 09:27:23 wiz Exp $
-DISTNAME= lgogdownloader-2.17
+DISTNAME= lgogdownloader-2.18
CATEGORIES= games
MASTER_SITES= http://sites.google.com/site/gogdownloader/
@@ -14,9 +14,9 @@ BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
#WRKSRC= ${WRKDIR}/lgogdownloader
USE_LANGUAGES= c++
USE_TOOLS+= gmake gunzip
-LDFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.boost-libs}/lib
-
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+MAKE_FLAGS+= PREFIX=${PREFIX}
+MAKE_FLAGS+= MANPREFIX=${PREFIX}
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
SUBST_CLASSES+= json
SUBST_SED.json+= -e 's,jsoncpp/json/json.h,json/json.h,'
@@ -24,13 +24,6 @@ SUBST_FILES.json+= src/api.cpp src/downloader.cpp src/util.cpp
SUBST_STAGE.json= post-configure
SUBST_MESSAGE.json= Fixing path to jsoncpp headers.
-post-build:
- cd ${WRKSRC}/man && gunzip lgogdownloader.1
-do-install:
- cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} bin/Release/lgogdownloader ${DESTDIR}${PREFIX}/bin && \
- ${INSTALL_DATA} man/lgogdownloader.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../security/liboauth/buildlink3.mk"
.include "../../textproc/tinyxml/buildlink3.mk"
diff --git a/games/lgogdownloader/distinfo b/games/lgogdownloader/distinfo
index 6269b52e0d7..21b736f7539 100644
--- a/games/lgogdownloader/distinfo
+++ b/games/lgogdownloader/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2014/08/31 07:15:53 wiz Exp $
+$NetBSD: distinfo,v 1.6 2014/10/02 09:27:23 wiz Exp $
-SHA1 (lgogdownloader-2.17.tar.gz) = 6225e35e9e70cd9ecfbd8d6e49d0932bf5a07cdc
-RMD160 (lgogdownloader-2.17.tar.gz) = 7458dce1665749d26efe12427a6c10336a62b036
-Size (lgogdownloader-2.17.tar.gz) = 34402 bytes
-SHA1 (patch-Makefile) = da552759c9eac90e8870d2f721775e25b7a85b9f
+SHA1 (lgogdownloader-2.18.tar.gz) = bb4209479af0c6ef0e000a25d81c0627c381e81f
+RMD160 (lgogdownloader-2.18.tar.gz) = 58665525e1f9da5bd32558d0d85e3316da92a4e3
+Size (lgogdownloader-2.18.tar.gz) = 37241 bytes
diff --git a/games/lgogdownloader/patches/patch-Makefile b/games/lgogdownloader/patches/patch-Makefile
deleted file mode 100644
index e66404f4e5e..00000000000
--- a/games/lgogdownloader/patches/patch-Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2014/04/19 08:19:31 wiz Exp $
-
-Allow passing in LDFLAGS from outside.
-
---- Makefile.orig 2014-02-16 20:28:34.000000000 +0000
-+++ Makefile
-@@ -16,7 +16,6 @@ CFLAGS = -std=c++0x -Wall -fexceptions
- RESINC =
- LIBDIR =
- LIB = -lcurl -loauth -ljsoncpp -lhtmlcxx -lboost_system -lboost_filesystem -lboost_regex -lboost_program_options -lboost_date_time -ltinyxml -lrhash
--LDFLAGS =
-
- VERSION = -DVERSION_STRING="\"$(shell sh version.sh)\""
- HELP2MAN = $(shell which help2man 2> /dev/null)