aboutsummaryrefslogtreecommitdiff
path: root/games/linux-candycruncher-demo
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2010-03-07 17:29:52 +0000
committerMarcus von Appen <mva@FreeBSD.org>2010-03-07 17:29:52 +0000
commite0b37cf3d8c9ae67b756ab2a2172aad5c17ae873 (patch)
treeaa87b1db6344a0e38925c104a16262c4743a623d /games/linux-candycruncher-demo
parentfdaabe1c73000969790cd56225525c1b9a4417d0 (diff)
downloadports-e0b37cf3d8c9ae67b756ab2a2172aad5c17ae873.tar.gz
ports-e0b37cf3d8c9ae67b756ab2a2172aad5c17ae873.zip
Notes
Diffstat (limited to 'games/linux-candycruncher-demo')
-rw-r--r--games/linux-candycruncher-demo/Makefile12
-rw-r--r--games/linux-candycruncher-demo/distinfo6
-rw-r--r--games/linux-candycruncher-demo/pkg-plist8
3 files changed, 18 insertions, 8 deletions
diff --git a/games/linux-candycruncher-demo/Makefile b/games/linux-candycruncher-demo/Makefile
index 591d42b5c6fd..6593d9550964 100644
--- a/games/linux-candycruncher-demo/Makefile
+++ b/games/linux-candycruncher-demo/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= candycruncher-demo
-PORTVERSION= 1.53
+PORTVERSION= 1.56
CATEGORIES= games linux
MASTER_SITES= http://demofiles.linuxgamepublishing.com/candycruncher/
PKGNAMEPREFIX= linux-
@@ -16,7 +16,7 @@ EXTRACT_SUFX= .run
MAINTAINER= mva@FreeBSD.org
COMMENT= Candy Cruncher Demo - a fast puzzle game with lots of candies
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
USE_LINUX_APPS= alsalib jpeg libogg libvorbis mikmod sdl12 sdlmixer xorglibs
NO_CDROM= Redistribution is limited, see license
@@ -25,6 +25,8 @@ NO_BUILD= yes
DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
SUB_FILES= candycruncher
PORTDOCS= README README.licenses README.unixthanks license.txt
+LIBFILES= libcrypto.so.0.9.8 libgrapple-0.9.so.2 liblua.so liblualib.so \
+ libssl.so.0.9.8
.include <bsd.port.pre.mk>
@@ -35,14 +37,16 @@ do-extract:
do-build:
${BRANDELF} -t Linux ${WRKSRC}/bin/Linux/x86/Bin/candycruncher_demo
- ${BRANDELF} -t Linux ${WRKSRC}/bin/Linux/x86/Bin/candycruncher_demo.dynamic
do-install:
@${MKDIR} ${DATADIR}/Bin
@cd ${WRKSRC}/bin/Linux/x86/Bin && \
- ${INSTALL_PROGRAM} candycruncher_demo candycruncher_demo.dynamic ${DATADIR}/Bin
+ ${INSTALL_PROGRAM} candycruncher_demo ${DATADIR}/Bin
@${INSTALL_PROGRAM} ${WRKDIR}/candycruncher ${PREFIX}/bin/${PKGNAMEPREFIX}candycruncher
@${CP} -R ${WRKSRC}/Resources ${DATADIR}
+ @${MKDIR} ${DATADIR}/lib/lib1
+ @cd ${WRKSRC}/lib/lib1/ && \
+ ${CP} ${LIBFILES} ${DATADIR}/lib/lib1
.if !defined (NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
diff --git a/games/linux-candycruncher-demo/distinfo b/games/linux-candycruncher-demo/distinfo
index 4501a7dfe146..80a89c8c3b53 100644
--- a/games/linux-candycruncher-demo/distinfo
+++ b/games/linux-candycruncher-demo/distinfo
@@ -1,3 +1,3 @@
-MD5 (candycruncher_demo.run) = 0682dd0d67710e2ad7ba001973e57d9b
-SHA256 (candycruncher_demo.run) = dc138ea0ad7e6be8fbb6e33c7de8bf40c60c27ce3209b82576d038a0996a5ccc
-SIZE (candycruncher_demo.run) = 5593297
+MD5 (candycruncher_demo.run) = fff3aa55427aeb0256dc641bbe078ab3
+SHA256 (candycruncher_demo.run) = 5be6c68acf504f003aece33d0274d7c705ac8f3337373961fe13176da16e3187
+SIZE (candycruncher_demo.run) = 10310546
diff --git a/games/linux-candycruncher-demo/pkg-plist b/games/linux-candycruncher-demo/pkg-plist
index 7daf680ada8a..5f464af86f60 100644
--- a/games/linux-candycruncher-demo/pkg-plist
+++ b/games/linux-candycruncher-demo/pkg-plist
@@ -1,8 +1,14 @@
bin/linux-candycruncher
%%DATADIR%%/Bin/candycruncher_demo
-%%DATADIR%%/Bin/candycruncher_demo.dynamic
%%DATADIR%%/Resources/cruncher.pyz
%%DATADIR%%/Resources/pyrogon.ttf
+%%DATADIR%%/lib/lib1/libcrypto.so.0.9.8
+%%DATADIR%%/lib/lib1/libgrapple-0.9.so.2
+%%DATADIR%%/lib/lib1/liblua.so
+%%DATADIR%%/lib/lib1/liblualib.so
+%%DATADIR%%/lib/lib1/libssl.so.0.9.8
+@dirrm %%DATADIR%%/lib/lib1
+@dirrm %%DATADIR%%/lib
@dirrm %%DATADIR%%/Bin
@dirrm %%DATADIR%%/Resources
@dirrm %%DATADIR%%