diff options
author | miwi <miwi@FreeBSD.org> | 2007-06-04 18:08:02 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-06-04 18:08:02 +0800 |
commit | f5ae8c036e6769048b8296bcda1c4e2e2875ee50 (patch) | |
tree | 2234b7406136cc1a75cb3102583c7fdaca9f33ea /games/djgame2 | |
parent | 591f9c6ddaf8f3342c6e8ea67e466ea4861e9f4b (diff) | |
download | freebsd-ports-gnome-f5ae8c036e6769048b8296bcda1c4e2e2875ee50.tar.gz freebsd-ports-gnome-f5ae8c036e6769048b8296bcda1c4e2e2875ee50.tar.zst freebsd-ports-gnome-f5ae8c036e6769048b8296bcda1c4e2e2875ee50.zip |
bluedj contains many popular online games in China, such as mahjong,
poker and chess. It has a large number of games and game players.
WWW: http://www.bluedj.com/
PR: ports/112430
Submitted by: Yinghong.Liu <liuyh at gmx.net>
Diffstat (limited to 'games/djgame2')
-rw-r--r-- | games/djgame2/Makefile | 59 | ||||
-rw-r--r-- | games/djgame2/distinfo | 3 | ||||
-rw-r--r-- | games/djgame2/files/djgame2.desktop.in | 11 | ||||
-rw-r--r-- | games/djgame2/files/startdjg.in | 13 | ||||
-rw-r--r-- | games/djgame2/pkg-descr | 4 | ||||
-rw-r--r-- | games/djgame2/pkg-plist | 211 |
6 files changed, 301 insertions, 0 deletions
diff --git a/games/djgame2/Makefile b/games/djgame2/Makefile new file mode 100644 index 000000000000..def067509411 --- /dev/null +++ b/games/djgame2/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: djgame2 +# Date created: 4 May 2007 +# Whom: Yinghong.Liu <liuyh@gmx.net> +# +# $FreeBSD$ +# + +PORTNAME= djgame2 +PORTVERSION= 3.1.2 +CATEGORIES= games +MASTER_SITES= http://www.bluedj.com/download/src/ +DISTNAME= source-${PORTVERSION} +#EXTRACT_SUFX= .zip + +MAINTAINER= liu_yinghong@yahoo.com.cn +COMMENT= bluedj contains many popular online games + +NO_BUILD= yes +USE_ZIP= yes +USE_QT_VER= 4 +QT_COMPONENTS= qmake gui moc qt3support uic rcc + +QMAKE?= qmake-qt4 +QMAKESPEC?= ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++ +MAKE_ENV= QMAKESPEC="{QMAKESPEC}" + +WRKSRC= ${WRKDIR}/${DISTNAME} +DATADIR= ${PREFIX}/share/djgame2 + +post-patch: + ${RM} -f ${WRKSRC}/Hall/HallRes/platform/x11/install + @${SED} -e 's|%%DATADIR%%|${DATADIR}|' \ + < ${FILESDIR}/djgame2.desktop.in > ${WRKDIR}/djgame2.desktop + @${SED} -e 's|%%DATADIR%%|${DATADIR}|' \ + < ${FILESDIR}/startdjg.in > ${WRKDIR}/startdjg + @${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|g' \ + ${WRKSRC}/Base/src/PlayWave.cpp + @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \ + ${WRKSRC}/makelinux + @${REINPLACE_CMD} -e 's|qmake|${QMAKE}|' \ + ${WRKSRC}/makelinux + @${ECHO_CMD} "INCLUDEPATH += ${X11BASE}/include" \ + >> ${WRKSRC}/Base/Base.pro + @${ECHO_CMD} "INCLUDEPATH += ${X11BASE}/include" \ + >> ${WRKSRC}/Hall/Hall.pro + @${CHMOD} a+x ${WRKSRC}/makelinux + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./makelinux + +do-install: + ${MKDIR} ${DATADIR} + (cd ${WRKSRC}/Hall/release; ${TAR} -cf - *) | \ + ${TAR} -xf - -C ${DATADIR} + ${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKDIR}/djgame2.desktop ${PREFIX}/share/applications + ${INSTALL_SCRIPT} ${WRKDIR}/startdjg ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/games/djgame2/distinfo b/games/djgame2/distinfo new file mode 100644 index 000000000000..033a0c727936 --- /dev/null +++ b/games/djgame2/distinfo @@ -0,0 +1,3 @@ +MD5 (source-3.1.2.zip) = 06154942da720d6b586166d90fdd9839 +SHA256 (source-3.1.2.zip) = fd58f59c52ef0db79b88a51b0cf3a153cb124cb3f9ba68449024a318d680e146 +SIZE (source-3.1.2.zip) = 13117073 diff --git a/games/djgame2/files/djgame2.desktop.in b/games/djgame2/files/djgame2.desktop.in new file mode 100644 index 000000000000..3b7481501a8b --- /dev/null +++ b/games/djgame2/files/djgame2.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=startdjg +Icon=%%DATADIR%%/house.png +Terminal=false +Name=Bluedj II +Name[zh_CN]= 蓝迪游戏 II +Comment=Many popular online games +Comment[zh_CN]=包含有许多在线游戏 +Type=Application +Categories=GNOME;Application;Game;PuzzleGame; diff --git a/games/djgame2/files/startdjg.in b/games/djgame2/files/startdjg.in new file mode 100644 index 000000000000..b937976f0f6f --- /dev/null +++ b/games/djgame2/files/startdjg.in @@ -0,0 +1,13 @@ +#! /bin/sh + +DATADIR=%%DATADIR%% +if [ ! -d ~/djgame2 ]; then + mkdir ~/djgame2 + mkdir ~/djgame2/chat + cp -rp ${DATADIR}/* ~/djgame2 +fi + +cd ~/djgame2 + +export LD_LIBRARY_PATH=./ +./Hall diff --git a/games/djgame2/pkg-descr b/games/djgame2/pkg-descr new file mode 100644 index 000000000000..76f540ab3c8a --- /dev/null +++ b/games/djgame2/pkg-descr @@ -0,0 +1,4 @@ +bluedj contains many popular online games in China, such as mahjong, +poker and chess. It has a large number of games and game players. + +WWW: http://www.bluedj.com/ diff --git a/games/djgame2/pkg-plist b/games/djgame2/pkg-plist new file mode 100644 index 000000000000..d81bfebc80ae --- /dev/null +++ b/games/djgame2/pkg-plist @@ -0,0 +1,211 @@ +bin/startdjg +share/applications/djgame2.desktop +%%DATADIR%%/Hall +%%DATADIR%%/Thumbs.db +%%DATADIR%%/UpdateHall +%%DATADIR%%/house.png +%%DATADIR%%/images/01.png +%%DATADIR%%/images/02.png +%%DATADIR%%/images/03.png +%%DATADIR%%/images/04.png +%%DATADIR%%/images/05.png +%%DATADIR%%/images/06.png +%%DATADIR%%/images/07.png +%%DATADIR%%/images/08.png +%%DATADIR%%/images/09.png +%%DATADIR%%/images/10.png +%%DATADIR%%/images/11.png +%%DATADIR%%/images/12.png +%%DATADIR%%/images/13.png +%%DATADIR%%/images/14.png +%%DATADIR%%/images/15.png +%%DATADIR%%/images/16.png +%%DATADIR%%/images/17.png +%%DATADIR%%/images/18.png +%%DATADIR%%/images/19.png +%%DATADIR%%/images/20.png +%%DATADIR%%/images/21.png +%%DATADIR%%/images/22.png +%%DATADIR%%/images/23.png +%%DATADIR%%/images/24.png +%%DATADIR%%/images/25.png +%%DATADIR%%/images/26.png +%%DATADIR%%/images/27.png +%%DATADIR%%/images/28.png +%%DATADIR%%/images/29.png +%%DATADIR%%/images/30.png +%%DATADIR%%/images/31.png +%%DATADIR%%/images/32.png +%%DATADIR%%/images/33.png +%%DATADIR%%/images/34.png +%%DATADIR%%/images/35.png +%%DATADIR%%/images/36.png +%%DATADIR%%/images/37.png +%%DATADIR%%/images/38.png +%%DATADIR%%/images/39.png +%%DATADIR%%/images/40.png +%%DATADIR%%/images/41.png +%%DATADIR%%/images/42.png +%%DATADIR%%/images/43.png +%%DATADIR%%/images/44.png +%%DATADIR%%/images/45.png +%%DATADIR%%/images/46.png +%%DATADIR%%/images/47.png +%%DATADIR%%/images/48.png +%%DATADIR%%/images/49.png +%%DATADIR%%/images/50.png +%%DATADIR%%/images/51.png +%%DATADIR%%/images/52.png +%%DATADIR%%/images/53.png +%%DATADIR%%/images/54.png +%%DATADIR%%/images/55.png +%%DATADIR%%/images/56.png +%%DATADIR%%/images/57.png +%%DATADIR%%/images/58.png +%%DATADIR%%/images/59.png +%%DATADIR%%/images/60.png +%%DATADIR%%/images/61.png +%%DATADIR%%/images/62.png +%%DATADIR%%/images/63.png +%%DATADIR%%/images/64.png +%%DATADIR%%/images/65.png +%%DATADIR%%/images/66.png +%%DATADIR%%/images/Thumbs.db +%%DATADIR%%/images/avatars/Thumbs.db +%%DATADIR%%/images/avatars/angel.gif +%%DATADIR%%/images/avatars/angry.gif +%%DATADIR%%/images/avatars/broadcast.gif +%%DATADIR%%/images/avatars/clear.gif +%%DATADIR%%/images/avatars/cry.gif +%%DATADIR%%/images/avatars/egg.gif +%%DATADIR%%/images/avatars/flower.gif +%%DATADIR%%/images/avatars/happy.gif +%%DATADIR%%/images/avatars/laugh.gif +%%DATADIR%%/images/avatars/lose2.gif +%%DATADIR%%/images/avatars/lucky.gif +%%DATADIR%%/images/avatars/lucky_alt.gif +%%DATADIR%%/images/avatars/sad.gif +%%DATADIR%%/images/avatars/win10.gif +%%DATADIR%%/images/avatars/win2.gif +%%DATADIR%%/images/avatars/win5.gif +%%DATADIR%%/images/blaze.png +%%DATADIR%%/images/bulb.png +%%DATADIR%%/images/cloud.png +%%DATADIR%%/images/i_01.png +%%DATADIR%%/images/i_02.png +%%DATADIR%%/images/i_03.png +%%DATADIR%%/images/i_04.png +%%DATADIR%%/images/i_05.png +%%DATADIR%%/images/i_06.png +%%DATADIR%%/images/i_07.png +%%DATADIR%%/images/i_08.png +%%DATADIR%%/images/i_09.png +%%DATADIR%%/images/lightning.png +%%DATADIR%%/images/lightning2.png +%%DATADIR%%/images/member/Thumbs.db +%%DATADIR%%/images/member/aerobics.gif +%%DATADIR%%/images/music.png +%%DATADIR%%/images/pistol.png +%%DATADIR%%/images/rain.png +%%DATADIR%%/images/ring.png +%%DATADIR%%/images/write.png +%%DATADIR%%/libBase.so.1 +%%DATADIR%%/modules/libBlackjack.so +%%DATADIR%%/modules/libChaodip.so +%%DATADIR%%/modules/libChineseChess.so +%%DATADIR%%/modules/libChudd.so +%%DATADIR%%/modules/libGDMahjong.so +%%DATADIR%%/modules/libGongZhu.so +%%DATADIR%%/modules/libInterlink.so +%%DATADIR%%/modules/libLandBattle.so +%%DATADIR%%/modules/libLandLord.so +%%DATADIR%%/modules/libMahjong.so +%%DATADIR%%/modules/libNiuNiu.so +%%DATADIR%%/modules/libRenju.so +%%DATADIR%%/modules/libSuoha.so +%%DATADIR%%/modules/libUpgrade.so +%%DATADIR%%/update/Update.ini +%%DATADIR%%/wav/Interlink/dec.wav +%%DATADIR%%/wav/Interlink/inc.wav +%%DATADIR%%/wav/LandBattle/auto.wav +%%DATADIR%%/wav/LandBattle/dkill.wav +%%DATADIR%%/wav/LandBattle/train.wav +%%DATADIR%%/wav/Mahjong/01.wav +%%DATADIR%%/wav/Mahjong/02.wav +%%DATADIR%%/wav/Mahjong/03.wav +%%DATADIR%%/wav/Mahjong/04.wav +%%DATADIR%%/wav/Mahjong/05.wav +%%DATADIR%%/wav/Mahjong/06.wav +%%DATADIR%%/wav/Mahjong/07.wav +%%DATADIR%%/wav/Mahjong/11.wav +%%DATADIR%%/wav/Mahjong/12.wav +%%DATADIR%%/wav/Mahjong/13.wav +%%DATADIR%%/wav/Mahjong/14.wav +%%DATADIR%%/wav/Mahjong/15.wav +%%DATADIR%%/wav/Mahjong/16.wav +%%DATADIR%%/wav/Mahjong/17.wav +%%DATADIR%%/wav/Mahjong/18.wav +%%DATADIR%%/wav/Mahjong/19.wav +%%DATADIR%%/wav/Mahjong/21.wav +%%DATADIR%%/wav/Mahjong/22.wav +%%DATADIR%%/wav/Mahjong/23.wav +%%DATADIR%%/wav/Mahjong/24.wav +%%DATADIR%%/wav/Mahjong/25.wav +%%DATADIR%%/wav/Mahjong/26.wav +%%DATADIR%%/wav/Mahjong/27.wav +%%DATADIR%%/wav/Mahjong/28.wav +%%DATADIR%%/wav/Mahjong/29.wav +%%DATADIR%%/wav/Mahjong/31.wav +%%DATADIR%%/wav/Mahjong/32.wav +%%DATADIR%%/wav/Mahjong/33.wav +%%DATADIR%%/wav/Mahjong/34.wav +%%DATADIR%%/wav/Mahjong/35.wav +%%DATADIR%%/wav/Mahjong/36.wav +%%DATADIR%%/wav/Mahjong/37.wav +%%DATADIR%%/wav/Mahjong/38.wav +%%DATADIR%%/wav/Mahjong/39.wav +%%DATADIR%%/wav/Mahjong/bu.wav +%%DATADIR%%/wav/Mahjong/chi.wav +%%DATADIR%%/wav/Mahjong/gang.wav +%%DATADIR%%/wav/Mahjong/hu.wav +%%DATADIR%%/wav/Mahjong/peng.wav +%%DATADIR%%/wav/call.wav +%%DATADIR%%/wav/click.wav +%%DATADIR%%/wav/invited.wav +%%DATADIR%%/wav/kill.wav +%%DATADIR%%/wav/language/Chinese/number1.wav +%%DATADIR%%/wav/language/Chinese/number10.wav +%%DATADIR%%/wav/language/Chinese/number2.wav +%%DATADIR%%/wav/language/Chinese/number3.wav +%%DATADIR%%/wav/language/Chinese/number4.wav +%%DATADIR%%/wav/language/Chinese/number5.wav +%%DATADIR%%/wav/language/Chinese/number6.wav +%%DATADIR%%/wav/language/Chinese/number7.wav +%%DATADIR%%/wav/language/Chinese/number8.wav +%%DATADIR%%/wav/language/Chinese/number9.wav +%%DATADIR%%/wav/move.wav +%%DATADIR%%/wav/msg.wav +%%DATADIR%%/wav/number1.wav +%%DATADIR%%/wav/number2.wav +%%DATADIR%%/wav/number3.wav +%%DATADIR%%/wav/number4.wav +%%DATADIR%%/wav/number5.wav +%%DATADIR%%/wav/number6.wav +%%DATADIR%%/wav/number7.wav +%%DATADIR%%/wav/number8.wav +%%DATADIR%%/wav/number9.wav +%%DATADIR%%/wav/out.wav +%%DATADIR%%/wav/wait.wav +@dirrm %%DATADIR%%/wav/language/Chinese +@dirrm %%DATADIR%%/wav/language +@dirrm %%DATADIR%%/wav/Mahjong +@dirrm %%DATADIR%%/wav/LandBattle +@dirrm %%DATADIR%%/wav/Interlink +@dirrm %%DATADIR%%/wav +@dirrm %%DATADIR%%/update +@dirrm %%DATADIR%%/modules +@dirrm %%DATADIR%%/images/member +@dirrm %%DATADIR%%/images/avatars +@dirrm %%DATADIR%%/images +@dirrm %%DATADIR%% +@dirrmtry share/applications |