aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2006-02-06 08:23:38 +0800
committerbarner <barner@FreeBSD.org>2006-02-06 08:23:38 +0800
commit2c5e0d1f53c2bde200243b3e510ae2e35b7376d8 (patch)
treef98c63b57a6364c8792cd7cfe643e0ae2554c28b /games
parentd86d540459eafd110d51b1cce2488c915fe12e05 (diff)
downloadfreebsd-ports-gnome-2c5e0d1f53c2bde200243b3e510ae2e35b7376d8.tar.gz
freebsd-ports-gnome-2c5e0d1f53c2bde200243b3e510ae2e35b7376d8.tar.zst
freebsd-ports-gnome-2c5e0d1f53c2bde200243b3e510ae2e35b7376d8.zip
- Update to 0.1.1
Submitted by: Dmitry Marakasov <amdmi3@mail.ru> (maintainer) PR: ports/92847
Diffstat (limited to 'games')
-rw-r--r--games/pouetchess/Makefile10
-rw-r--r--games/pouetchess/distinfo6
-rw-r--r--games/pouetchess/pkg-plist3
3 files changed, 10 insertions, 9 deletions
diff --git a/games/pouetchess/Makefile b/games/pouetchess/Makefile
index 2118498a2851..0f7a7cb4fd5d 100644
--- a/games/pouetchess/Makefile
+++ b/games/pouetchess/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= pouetchess
-PORTVERSION= 0.1
-PORTREVISION= 1
+PORTVERSION= 0.1.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= pouetChess_${PORTVERSION}
+DISTNAME= pouetChess_0.11_src
MAINTAINER= amdmi3@mail.ru
COMMENT= An open-source 3D chess game
@@ -22,7 +21,7 @@ USE_GL= yes
USE_GMAKE= yes
USE_REINPLACE= yes
-WRKSRC= ${WRKDIR}/pouetChess
+WRKSRC= ${WRKDIR}/pouetChess_0.11
MAKE_ENV= CXX="${CXX}"
@@ -45,7 +44,6 @@ post-patch:
@${REINPLACE_CMD} -e '/CXXFLAGS.*+=/ d' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/^CXXFLAGS/ s|:=|+=|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/^CXXFLAGS/ s|$$| -I${X11BASE}/include|' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's|\($$(CXX)\) \(-MM\)|\1 $$(CXXFLAGS) \2|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|config\.ini|${PREFIX}/etc/pouetChess.conf|' ${WRKSRC}/src/globalInfos.cpp
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/globalInfos.h
@@ -56,7 +54,7 @@ do-install:
if [ ! -f ${PREFIX}/etc/pouetChess.conf ]; then \
${INSTALL_DATA} ${WRKSRC}/bin/config.ini ${PREFIX}/etc/pouetChess.conf; \
fi
-.for i in objets3d textures
+.for i in objets3d textures icons
${MKDIR} ${DATADIR}/${i}
${INSTALL_DATA} ${WRKSRC}/bin/data/${i}/* ${DATADIR}/${i}
.endfor
diff --git a/games/pouetchess/distinfo b/games/pouetchess/distinfo
index e4834c9098ce..a12ade52ce99 100644
--- a/games/pouetchess/distinfo
+++ b/games/pouetchess/distinfo
@@ -1,3 +1,3 @@
-MD5 (pouetChess_0.1.tar.gz) = e4eca429886472b6b9826f09fea504b0
-SHA256 (pouetChess_0.1.tar.gz) = fdf69b3757fc69756366b3a110f54c346cc18d057f8023818339380c4639fb9a
-SIZE (pouetChess_0.1.tar.gz) = 364154
+MD5 (pouetChess_0.11_src.tar.gz) = ffc8a0b22269f487ca60c0017e023382
+SHA256 (pouetChess_0.11_src.tar.gz) = 206f0cf0f6a567f51fa6c85c3e5820bc9ed4659101a86d67a18487c9f23fcd2b
+SIZE (pouetChess_0.11_src.tar.gz) = 394797
diff --git a/games/pouetchess/pkg-plist b/games/pouetchess/pkg-plist
index b39e26d6fbc4..c5bb31c749ac 100644
--- a/games/pouetchess/pkg-plist
+++ b/games/pouetchess/pkg-plist
@@ -2,6 +2,8 @@ bin/pouetChess
@unexec if cmp -s %D/etc/pouetChess.conf %D/etc/pouetChess.conf.sample; then rm -f %D/etc/pouetChess.conf; fi
etc/pouetChess.conf.sample
@exec if [ ! -f %D/etc/pouetChess.conf ]; then cp -p %D/etc/pouetChess.conf.sample %D/etc/pouetChess.conf; fi
+%%DATADIR%%/icons/pouetChess.bmp
+%%DATADIR%%/icons/pouetChess.png
%%DATADIR%%/objets3d/cavalier.lwo
%%DATADIR%%/objets3d/dame.lwo
%%DATADIR%%/objets3d/fleche.lwo
@@ -28,6 +30,7 @@ etc/pouetChess.conf.sample
%%DATADIR%%/textures/sol.jpg
%%DATADIR%%/textures/titre.png
%%DATADIR%%/textures/tux.png
+@dirrm %%DATADIR%%/icons
@dirrm %%DATADIR%%/objets3d
@dirrm %%DATADIR%%/textures
@dirrm %%DATADIR%%