Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2009 03:00:36 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/138452: Update port: games/freedoko to 0.7.6b
Message-ID:  <20090902030036.ab5252b2.tkato432@yahoo.com>
Resent-Message-ID: <200909011810.n81IA5wI086840@freefall.freebsd.org>

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

>Number:         138452
>Category:       ports
>Synopsis:       Update port: games/freedoko to 0.7.6b
>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:   Tue Sep 01 18:10:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.2-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.7.6b

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/freedoko/Makefile games/freedoko/Makefile
--- /usr/ports/games/freedoko/Makefile	2009-08-22 16:19:19.000000000 +0900
+++ games/freedoko/Makefile	2009-08-30 04:34:38.000000000 +0900
@@ -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 @@
 
 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 -urN /usr/ports/games/freedoko/distinfo games/freedoko/distinfo
--- /usr/ports/games/freedoko/distinfo	2009-01-10 03:16:17.000000000 +0900
+++ games/freedoko/distinfo	2009-08-30 00:19:15.000000000 +0900
@@ -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 -urN /usr/ports/games/freedoko/pkg-plist games/freedoko/pkg-plist
--- /usr/ports/games/freedoko/pkg-plist	2009-01-10 03:16:18.000000000 +0900
+++ games/freedoko/pkg-plist	2009-08-30 04:22:30.000000000 +0900
@@ -24,6 +24,7 @@
 %%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 @@
 %%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 @@
 %%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 @@
 %%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 @@
 %%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
>Release-Note:
>Audit-Trail:
>Unformatted:



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