aboutsummaryrefslogtreecommitdiff
path: root/games/freedoko
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-09-02 16:43:37 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-09-02 16:43:37 +0000
commit72a412414f5133726e255d4ec348906dc692de12 (patch)
tree6363c4af74185785a15a1de59e29900210e29cec /games/freedoko
parent02ede7134ab231cda83fff97e8fe23ba99514a68 (diff)
downloadports-72a412414f5133726e255d4ec348906dc692de12.tar.gz
ports-72a412414f5133726e255d4ec348906dc692de12.zip
Notes
Diffstat (limited to 'games/freedoko')
-rw-r--r--games/freedoko/Makefile13
-rw-r--r--games/freedoko/distinfo6
-rw-r--r--games/freedoko/pkg-plist38
3 files changed, 15 insertions, 42 deletions
diff --git a/games/freedoko/Makefile b/games/freedoko/Makefile
index aca40206cbb8..25ea40472217 100644
--- a/games/freedoko/Makefile
+++ b/games/freedoko/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= freedoko
-PORTVERSION= 0.7.5
-PORTREVISION= 1
+PORTVERSION= 0.7.6b
CATEGORIES= games
MASTER_SITES= SF/free-doko/FreeDoko%20source/${PORTVERSION}
DISTNAME= FreeDoko_${PORTVERSION}.src
@@ -22,21 +21,25 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/\.src$//}/src
USE_ZIP= yes
USE_GMAKE= yes
-MAKE_ENV= OS="${OPSYS}" DATADIR="${DATADIR}"
+MAKE_ENV= OS="${OPSYS}" DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}"
post-patch:
@${FIND} ${WRKSRC} -name "*Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \
's|\.\./data|$$(DATADIR)|g ; \
+ s|\.\./doc/manual|$$(DOCSDIR)/manual|g ; \
s|@echo $$(CXX)|@true $$(CXX)|g ; \
s|@$$(CXX)|$$(CXX)|g ; \
s|make -C|$$(MAKE) -C|g'
- @${RM} -rf ${WRKSRC}/../data/translations/fr/bak
+ @${REINPLACE_CMD} -e '/\/X11\//d ; \
+ s|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/misc/setting.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/FreeDoko ${PREFIX}/bin
${LN} -sf FreeDoko ${PREFIX}/bin/freedoko
@${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/icon.png ${WRKSRC}/logo.png ${DATADIR}
+.for file in icon.png logo.png
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
+.endfor
.for dir in backgrounds cardsets rules translations
@cd ${WRKSRC}/../data && ${FIND} ${dir} ! -name "*Makefile*" | \
${CPIO} --quiet -pdum -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
diff --git a/games/freedoko/distinfo b/games/freedoko/distinfo
index b4e229f3bae3..62db0f0e88d8 100644
--- a/games/freedoko/distinfo
+++ b/games/freedoko/distinfo
@@ -1,3 +1,3 @@
-MD5 (FreeDoko_0.7.5.src.zip) = 44419dd3a3f89931af96ec4422578be8
-SHA256 (FreeDoko_0.7.5.src.zip) = b4d61c0f273c7124188e8177e3d75af0d2a6d2ec420c45f9c90342168bd3451a
-SIZE (FreeDoko_0.7.5.src.zip) = 9114898
+MD5 (FreeDoko_0.7.6b.src.zip) = b5316e4968267dcabaeaa04eefb2c013
+SHA256 (FreeDoko_0.7.6b.src.zip) = 1f6f17c3da453514cddad9ead79cf82712dcd316b6dd9658620a9f33795104b4
+SIZE (FreeDoko_0.7.6b.src.zip) = 9234498
diff --git a/games/freedoko/pkg-plist b/games/freedoko/pkg-plist
index 344cb0e6bcec..ae865aa6f104 100644
--- a/games/freedoko/pkg-plist
+++ b/games/freedoko/pkg-plist
@@ -24,6 +24,7 @@ bin/freedoko
%%PORTDOCS%%%%DOCSDIR%%/en/README.txt
%%PORTDOCS%%%%DOCSDIR%%/en/Windows
%%PORTDOCS%%%%DOCSDIR%%/en/shortrules.tex
+%%PORTDOCS%%%%DOCSDIR%%/freedoko.sgml
%%PORTDOCS%%%%DOCSDIR%%/hpux.required_libs.txt
%%DATADIR%%/backgrounds/table.png
%%DATADIR%%/cardsets/xskat/COPYRIGHT
@@ -106,10 +107,10 @@ bin/freedoko
%%DATADIR%%/cardsets/xskat/french/icons/swines-hyperswines.diamond.png
%%DATADIR%%/cardsets/xskat/french/icons/swines-hyperswines.heart.png
%%DATADIR%%/cardsets/xskat/french/icons/swines-hyperswines.spade.png
-%%DATADIR%%/cardsets/xskat/french/icons/swines.heart.png
-%%DATADIR%%/cardsets/xskat/french/icons/swines.spade.png
%%DATADIR%%/cardsets/xskat/french/icons/swines.club.png
%%DATADIR%%/cardsets/xskat/french/icons/swines.diamond.png
+%%DATADIR%%/cardsets/xskat/french/icons/swines.heart.png
+%%DATADIR%%/cardsets/xskat/french/icons/swines.spade.png
%%DATADIR%%/cardsets/xskat/german/COPYRIGHT
%%DATADIR%%/cardsets/xskat/german/backs/christmas/candle.png
%%DATADIR%%/cardsets/xskat/german/backs/christmas/christmasdog.png
@@ -198,7 +199,6 @@ bin/freedoko
%%DATADIR%%/rules/beginner
%%DATADIR%%/rules/standard
%%DATADIR%%/rules/tournament
-%%DATADIR%%/translations/de-alt/text
%%DATADIR%%/translations/de/aiconfig
%%DATADIR%%/translations/de/aiconfig.heuristics.description
%%DATADIR%%/translations/de/basistypes
@@ -214,6 +214,7 @@ bin/freedoko
%%DATADIR%%/translations/de/settings
%%DATADIR%%/translations/de/text
%%DATADIR%%/translations/de/versions
+%%DATADIR%%/translations/de-alt/text
%%DATADIR%%/translations/en/aiconfig
%%DATADIR%%/translations/en/aiconfig.heuristics.description
%%DATADIR%%/translations/en/basistypes
@@ -244,37 +245,6 @@ bin/freedoko
%%DATADIR%%/translations/fr/settings
%%DATADIR%%/translations/fr/text
%%DATADIR%%/translations/fr/versions
-%%DATADIR%%/translations/t/fr/rules
-%%DATADIR%%/translations/t/fr/cards
-%%DATADIR%%/translations/t/fr/basistypes
-%%DATADIR%%/translations/t/fr/messages
-%%DATADIR%%/translations/t/fr/menu
-%%DATADIR%%/translations/t/fr/gui
-%%DATADIR%%/translations/t/fr/chat
-%%DATADIR%%/translations/t/fr/versions
-%%DATADIR%%/translations/t/fr/settings
-%%DATADIR%%/translations/t/fr/network
-%%DATADIR%%/translations/t/fr/bug_report
-%%DATADIR%%/translations/t/fr/text
-%%DATADIR%%/translations/t/fr/help
-%%DATADIR%%/translations/t/fr/aiconfig
-%%DATADIR%%/translations/t/fr2/rules
-%%DATADIR%%/translations/t/fr2/cards
-%%DATADIR%%/translations/t/fr2/basistypes
-%%DATADIR%%/translations/t/fr2/messages
-%%DATADIR%%/translations/t/fr2/menu
-%%DATADIR%%/translations/t/fr2/gui
-%%DATADIR%%/translations/t/fr2/chat
-%%DATADIR%%/translations/t/fr2/versions
-%%DATADIR%%/translations/t/fr2/settings
-%%DATADIR%%/translations/t/fr2/network
-%%DATADIR%%/translations/t/fr2/bug_report
-%%DATADIR%%/translations/t/fr2/text
-%%DATADIR%%/translations/t/fr2/help
-%%DATADIR%%/translations/t/fr2/aiconfig
-@dirrm %%DATADIR%%/translations/t/fr2
-@dirrm %%DATADIR%%/translations/t/fr
-@dirrm %%DATADIR%%/translations/t
@dirrm %%DATADIR%%/translations/fr
@dirrm %%DATADIR%%/translations/en
@dirrm %%DATADIR%%/translations/de-alt