aboutsummaryrefslogtreecommitdiff
path: root/games/kajongg
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-03-27 11:55:25 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-03-27 11:55:25 +0000
commit24482eebf1b38a1d781b1f6c16bb588f5e652980 (patch)
treebcb09269855487369fcfd28040255e86e37e1362 /games/kajongg
parente9088ff192d5f032b73c9b2e3386bbc9bf25136b (diff)
downloadports-24482eebf1b38a1d781b1f6c16bb588f5e652980.tar.gz
ports-24482eebf1b38a1d781b1f6c16bb588f5e652980.zip
Notes
Diffstat (limited to 'games/kajongg')
-rw-r--r--games/kajongg/Makefile22
-rw-r--r--games/kajongg/distinfo2
-rw-r--r--games/kajongg/pkg-descr21
3 files changed, 21 insertions, 24 deletions
diff --git a/games/kajongg/Makefile b/games/kajongg/Makefile
index be5cefca6155..71a23ba801ea 100644
--- a/games/kajongg/Makefile
+++ b/games/kajongg/Makefile
@@ -5,27 +5,21 @@ PORTVERSION= ${KDE4_VERSION}
CATEGORIES= games kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
-DISTNAME= kdegames-${PORTVERSION}
-DIST_SUBDIR= KDE
+DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
-COMMENT= Ancient Chinese board game for KDE 4
+COMMENT= ${${PORTNAME}_DESC}
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtSql.so:${PORTSDIR}/databases/py-qt4-sql \
- ogg123:${PORTSDIR}/audio/vorbis-tools
+CONFLICTS_INSTALL= kdegames-4.[0-6].*
-CONFLICTS= kdegames-4.[0-6].*
-
-USE_KDE4= kdehier kdelibs kdeprefix pykde4 automoc4
USES= cmake:outsource
-USE_PYTHON= yes
+USE_KDE4= kdehier kdelibs kdeprefix pykde4 automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_PYTHON= yes
USE_SQLITE= 3
USE_TWISTED_RUN= yes
-DISTINFO_FILE= ${PORTSDIR}/games/kdegames4/distinfo
-USE_XZ= yes
-CMAKE_ARGS+= -DINSTALL_KAJONGG:BOOL=TRUE
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
+USE_XZ= yes
+CMAKE_ARGS= -DINSTALL_KAJONGG:BOOL=TRUE
+.include <${.CURDIR}/../kdegames4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kajongg/distinfo b/games/kajongg/distinfo
new file mode 100644
index 000000000000..ed95adfa9ac5
--- /dev/null
+++ b/games/kajongg/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/4.10.1/kajongg-4.10.1.tar.xz) = dd6e94c9e0bc9c5d02625aab8bc66ec2feba8e68e4653c0c1f07920d0f2ef453
+SIZE (KDE/4.10.1/kajongg-4.10.1.tar.xz) = 2488172
diff --git a/games/kajongg/pkg-descr b/games/kajongg/pkg-descr
index 35d00fa72bb4..17d013487038 100644
--- a/games/kajongg/pkg-descr
+++ b/games/kajongg/pkg-descr
@@ -1,15 +1,16 @@
-Kajongg - the classical Mah Jongg for four players. If you are looking
-for the Mah Jongg solitaire please use the application KMahjongg.
+Kajongg - the classical Mah Jongg for four players. If you are
+looking for the Mah Jongg solitaire please use the application
+KMahjongg.
-Kajongg can be used in two different ways. Scoring a manual game where
-you play as always and use Kajongg for the computation of scores and
-for bookkeeping. Or you can use Kajongg to play against any
-combination of other human players or computer players.
+Kajongg can be used in two different ways. Scoring a manual game
+where you play as always and use Kajongg for the computation of
+scores and for bookkeeping. Or you can use Kajongg to play against
+any combination of other human players or computer players.
Kajongg comes with a ruleset for classical Chinese as played in
-Germany. You can change the ruleset at your will and also define whole
-new rulesets. The rules for a game are saved in the database, so every
-game could be played with different rules. Changing a ruleset does not
-affect existing games.
+Germany. You can change the ruleset at your will and also define
+whole new rulesets. The rules for a game are saved in the database,
+so every game could be played with different rules. Changing a
+ruleset does not affect existing games.
WWW: http://www.kde.org/applications/games/kajongg