aboutsummaryrefslogtreecommitdiff
path: root/games/pouetchess
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2006-02-06 00:23:38 +0000
committerSimon Barner <barner@FreeBSD.org>2006-02-06 00:23:38 +0000
commit39d0d4db72892e7caf2902c8057b72b4b9823256 (patch)
tree5c00b34908223aa68a186b51217344ca6dadc832 /games/pouetchess
parent49a2a95b33f4b8dee057c653f38a5cd572a4e854 (diff)
downloadports-39d0d4db72892e7caf2902c8057b72b4b9823256.tar.gz
ports-39d0d4db72892e7caf2902c8057b72b4b9823256.zip
Notes
Diffstat (limited to 'games/pouetchess')
-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%%