Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 14:26:17 +0800
From:      hamigua@hotpop.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        alpher_zmx@yahoo.com.cn
Subject:   ports/96366: New port:games/lianliankan (A scarce recreation game)
Message-ID:  <20060426142622.6FE06220EE10@smtp-3.hotpop.com>
Resent-Message-ID: <200604261430.k3QEUCgB056805@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96366
>Category:       ports
>Synopsis:       New port:games/lianliankan (A scarce recreation game)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 26 14:30:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Liu.Yinghong
>Release:        FreeBSD 6.1-RC1 i386
>Organization:
>Environment:
System: FreeBSD relaxbsd 6.1-RC1 FreeBSD 6.1-RC1 #0: Mon Apr 10 17:03:22 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


	
>Description:
    LianLianKan is a scarce recreation game. Game playing is very simple,
first you are required to choose a pair of same pattern links, but
the path of links appeared can not exceed twice turns, after links
keep away from other patterns. Only can enter next one when you fulfill task.
The difficulty of game can be divided into three levels.
    This LianLianKan Game is designed is C with Gtk+-2.0.
	
>How-To-Repeat:
	
>Fix:

	

--- lianliankan.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	lianliankan
#	lianliankan/Makefile
#	lianliankan/distinfo
#	lianliankan/files
#	lianliankan/pkg-descr
#	lianliankan/pkg-plist
#	lianliankan/files/lianliankan.desktop
#	lianliankan/files/patch-Makefile.in
#	lianliankan/files/patch-src_pak_pak.c
#
echo c - lianliankan
mkdir -p lianliankan > /dev/null 2>&1
echo x - lianliankan/Makefile
sed 's/^X//' >lianliankan/Makefile << 'END-of-lianliankan/Makefile'
X# New ports collection makefile for:	lianliankan
X# Date created:				26 April 2006
X# Whom:					Liu.Yinghong <liu_yinghong@yahoo.com.cn>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lianliankan
XPORTVERSION=	2.2
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	llk-linux
XDISTNAME=	llk_linux-${PORTVERSION}
X
XMAINTAINER=	Liu.Yinghong <liu_yinghong@yahoo.com.cn>
XCOMMENT=	A scarce recreation game
X
XUSE_GNOME=	gtk20
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
X
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
Xpost-install:
X	${INSTALL_DATA} ${FILESDIR}/lianliankan.desktop ${PREFIX}/share/applications
X
X.include <bsd.port.mk>
END-of-lianliankan/Makefile
echo x - lianliankan/distinfo
sed 's/^X//' >lianliankan/distinfo << 'END-of-lianliankan/distinfo'
XMD5 (llk_linux-2.2.tar.gz) = b3a6408e4024e9e2d26b8f71684a4576
XSHA256 (llk_linux-2.2.tar.gz) = 2e906a2ecf4154cbeb3e994defecca0d7627240494aa34b4e216e8483e855e3a
XSIZE (llk_linux-2.2.tar.gz) = 3251973
END-of-lianliankan/distinfo
echo c - lianliankan/files
mkdir -p lianliankan/files > /dev/null 2>&1
echo x - lianliankan/pkg-descr
sed 's/^X//' >lianliankan/pkg-descr << 'END-of-lianliankan/pkg-descr'
X    LianLianKan is a scarce recreation game. Game playing is very simple, 
Xfirst you are required to choose a pair of same pattern links, but 
Xthe path of links appeared can not exceed twice turns, after links
Xkeep away from other patterns. Only can enter next one when you fulfill task.
XThe difficulty of game can be divided into three levels.
X
XWWW: http://sourceforge.net/projects/llk-linux
END-of-lianliankan/pkg-descr
echo x - lianliankan/pkg-plist
sed 's/^X//' >lianliankan/pkg-plist << 'END-of-lianliankan/pkg-plist'
Xbin/llk_linux
Xshare/applications/lianliankan.desktop
Xshare/doc/llk_linux/AUTHORS
Xshare/doc/llk_linux/COPYING
Xshare/doc/llk_linux/ChangeLog
Xshare/doc/llk_linux/INSTALL
Xshare/doc/llk_linux/NEWS
Xshare/doc/llk_linux/README
Xshare/doc/llk_linux/TODO
Xshare/llk_linux/Cancle.wav
Xshare/llk_linux/CanntLink.wav
Xshare/llk_linux/Classical.pak
Xshare/llk_linux/Click.wav
Xshare/llk_linux/GameOver.wav
Xshare/llk_linux/Hint.wav
Xshare/llk_linux/Link.wav
Xshare/llk_linux/QQ.pak
Xshare/llk_linux/Shuffle.wav
Xshare/llk_linux/Win.wav
Xshare/locale/zh_CN/LC_MESSAGES/llk_linux.mo
Xshare/pixmaps/llk_linux.png
X@dirrm share/llk_linux
X@dirrm share/doc/llk_linux
END-of-lianliankan/pkg-plist
echo x - lianliankan/files/lianliankan.desktop
sed 's/^X//' >lianliankan/files/lianliankan.desktop << 'END-of-lianliankan/files/lianliankan.desktop'
X[Desktop Entry]
XEncoding=UTF-8
XName=lianiankan
XName[zh_CN]=连连看
XComment=Choose a pair of same pattern links.
XComment[zh_TW]=选择一对相同的牌联机
XExec=llk_linux
XIcon=llk_linux.png
XTerminal=false
XType=Application
XCategories=GNOME;Application;Game;PuzzleGame;
END-of-lianliankan/files/lianliankan.desktop
echo x - lianliankan/files/patch-Makefile.in
sed 's/^X//' >lianliankan/files/patch-Makefile.in << 'END-of-lianliankan/files/patch-Makefile.in'
X--- Makefile.in.orig	Mon Apr  3 22:53:12 2006
X+++ Makefile.in	Mon Apr  3 22:54:11 2006
X@@ -213,7 +213,7 @@
X sysconfdir = @sysconfdir@
X target_alias = @target_alias@
X SUBDIRS = po src pixmaps data
X-llk_linuxdocdir = ${prefix}/doc/llk_linux
X+llk_linuxdocdir = $(PACKAGE_DATA_DIR)/doc/llk_linux
X llk_linuxdoc_DATA = \
X 	README\
X 	COPYING\
END-of-lianliankan/files/patch-Makefile.in
echo x - lianliankan/files/patch-src_pak_pak.c
sed 's/^X//' >lianliankan/files/patch-src_pak_pak.c << 'END-of-lianliankan/files/patch-src_pak_pak.c'
X--- src/pak/pak.c.orig	Mon Apr  3 21:41:15 2006
X+++ src/pak/pak.c	Mon Apr  3 21:45:37 2006
X@@ -249,11 +249,7 @@
X 
X     /* Set the position in the PAK file for this file to be written at */
X 	/* If not GNU system,this should be Pos = Current->dwOffset */
X-#ifdef WIN32
X-	Pos = Current->dwOffset;
X-#else
X-    Pos.__pos = Current->dwOffset; 
X-#endif
X+    Pos = Current->dwOffset;
X     fsetpos( PAKStream, &Pos );
X 
X     /* Read in the file a byte at a time, encrypt it and write to PAK */
X@@ -410,11 +406,7 @@
X     /* Set the offset in PAK to the beginning of this particular file
X        to be extracted */
X 	/* If not GNU system,this should be Pos = Current->dwOffset */
X-#ifdef WIN32
X-	Pos = Current->dwOffset;
X-#else
X-    Pos.__pos = Current->dwOffset; 
X-#endif
X+    Pos = Current->dwOffset;
X     fsetpos( ReadStream, &Pos );
X 
X     /* Loop through the file by it's size and read from the PAK
X@@ -488,11 +480,7 @@
X   /* Set the offset in PAK to the beginning of this particular file
X      to be extracted */
X 	/* If not GNU system,this should be Pos = Current->dwOffset */
X-#ifdef WIN32
X-	Pos = Current->dwOffset;
X-#else
X-    Pos.__pos = Current->dwOffset; 
X-#endif
X+  Pos = Current->dwOffset;
X   fsetpos( ReadStream, &Pos );
X 
X   /* Loop through the file by it's size and read from the PAK
END-of-lianliankan/files/patch-src_pak_pak.c
exit
--- lianliankan.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060426142622.6FE06220EE10>