aboutsummaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
Diffstat (limited to 'french')
-rw-r--r--french/Makefile1
-rw-r--r--french/belote/Makefile45
-rw-r--r--french/belote/distinfo3
-rw-r--r--french/belote/files/belote.in8
-rw-r--r--french/belote/pkg-descr6
-rw-r--r--french/belote/pkg-plist6
6 files changed, 69 insertions, 0 deletions
diff --git a/french/Makefile b/french/Makefile
index b2c8ebe270b7..abf441a3cc1d 100644
--- a/french/Makefile
+++ b/french/Makefile
@@ -7,6 +7,7 @@
SUBDIR += alphabet_sounds_fr
SUBDIR += aspell
SUBDIR += aster
+ SUBDIR += belote
SUBDIR += dico
SUBDIR += eficas
SUBDIR += facturier
diff --git a/french/belote/Makefile b/french/belote/Makefile
new file mode 100644
index 000000000000..6552893c96aa
--- /dev/null
+++ b/french/belote/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: belote
+# Date created: 09 Nov 2006
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= belote
+PORTVERSION= 20061109
+CATEGORIES= french games java
+MASTER_SITES= http://coincher.free.fr/
+DISTNAME= belote
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= Un jeu de belote coinchée contre l'ordinateur ou en réseau
+
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+SUB_FILES= belote
+SUB_LIST= JAVA="${JAVA}"
+
+DESKTOP_ENTRIES="Belote" \
+ "Jouer à la belote" \
+ "${PREFIX}/share/pixmaps/belote.gif" \
+ "belote" \
+ "" \
+ false
+
+post-extract:
+ @${UNZIP_CMD} -qo ${WRKSRC}/data.bin rsc/vp.gif -d ${WRKSRC}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/belote ${PREFIX}/bin
+ ${MKDIR} ${DATADIR}
+.for f in belote.jar data.bin
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
+.endfor
+ ${MKDIR} ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/rsc/vp.gif ${PREFIX}/share/pixmaps/belote.gif
+
+.include <bsd.port.mk>
diff --git a/french/belote/distinfo b/french/belote/distinfo
new file mode 100644
index 000000000000..cd7a31e07337
--- /dev/null
+++ b/french/belote/distinfo
@@ -0,0 +1,3 @@
+MD5 (belote.zip) = 9b234e8976b3bf98c9737efe19254fda
+SHA256 (belote.zip) = 2b11c862be77f012ccd1ee29a5b7e2d10c44a8787465af7399e139bf9d7dafee
+SIZE (belote.zip) = 437044
diff --git a/french/belote/files/belote.in b/french/belote/files/belote.in
new file mode 100644
index 000000000000..e3fdb55b46ac
--- /dev/null
+++ b/french/belote/files/belote.in
@@ -0,0 +1,8 @@
+#!/bin/sh
+# $Id$
+
+mkdir -p ~/.belote || exit 1
+ln -sf %%DATADIR%%/data.bin ~/.belote || exit 1
+
+cd ~/.belote || exit 1
+exec %%JAVA%% -jar %%DATADIR%%/belote.jar
diff --git a/french/belote/pkg-descr b/french/belote/pkg-descr
new file mode 100644
index 000000000000..a1a84edc403b
--- /dev/null
+++ b/french/belote/pkg-descr
@@ -0,0 +1,6 @@
+Jouez à la belote coinchée seul contre l'ordinateur ou en réseau.
+
+WWW: http://coincher.free.fr/
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/french/belote/pkg-plist b/french/belote/pkg-plist
new file mode 100644
index 000000000000..9510d2c2ec4c
--- /dev/null
+++ b/french/belote/pkg-plist
@@ -0,0 +1,6 @@
+bin/belote
+%%DATADIR%%/belote.jar
+%%DATADIR%%/data.bin
+share/pixmaps/belote.gif
+@dirrm %%DATADIR%%
+@dirrmtry share/pixmaps