1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

xwordpy (also know as Xword) is a PyGTK-powered

application with a GUI that allows users to open,
solve, and print Across Lite puzzle format files.

WWW: http://x-word.org/

PR:		ports/129359
Submitted by:	bf2006a at yahoo.com
This commit is contained in:
Martin Wilke 2008-12-06 23:36:00 +00:00
parent 19fb11f56d
commit 3d384cf8ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223909
5 changed files with 60 additions and 0 deletions

View File

@ -1018,6 +1018,7 @@
SUBDIR += xvmines
SUBDIR += xwelltris
SUBDIR += xword
SUBDIR += xwordpy
SUBDIR += xworm
SUBDIR += xye
SUBDIR += xzip

40
games/xwordpy/Makefile Normal file
View File

@ -0,0 +1,40 @@
# Ports collection makefile for: xwordpy
# Date created: Dec. 1, 2008
# Whom: bf2006a@yahoo.com
#
# $FreeBSD$
#
PORTNAME= xwordpy
PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= http://x-word.org/
DISTNAME= xword-${PORTVERSION}
MAINTAINER= bf2006a@yahoo.com
COMMENT= An application for solving crossword puzzles in the Across Lite format
USE_GNOME= pygtk2
USE_PYTHON= 24+
NO_BUILD= yes
PLIST_DIRS= %%DATADIR%%
PLIST_FILES= bin/xwordpy \
%%DATADIR%%/crossword-check-all.png \
%%DATADIR%%/crossword-check.png \
%%DATADIR%%/crossword-clock.png \
%%DATADIR%%/crossword-solve.png \
%%DATADIR%%/layout-rtb.png
post-patch:
@${REINPLACE_CMD} -e "s|%%DATADIR%%|\'${DATADIR}\'|g" \
-e "s|/usr/bin/python|${PYTHON_CMD}|g" \
${WRKSRC}/xword
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/xword ${PREFIX}/bin/xwordpy
@${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && for f in *.png ; do ${INSTALL_DATA} ${WRKSRC}/$$f ${DATADIR} ; \
done)
.include <bsd.port.mk>

3
games/xwordpy/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (xword-1.0.tar.gz) = 5e1963b488dfa0aca75be3bc3af04887
SHA256 (xword-1.0.tar.gz) = 77bec223351173acb194a293299dcbf6668ec72b799480564ade84499625dc85
SIZE (xword-1.0.tar.gz) = 18347

View File

@ -0,0 +1,11 @@
--- xword.orig 2008-12-01 20:07:26.768695743 -0500
+++ xword 2008-12-01 20:08:01.929339903 -0500
@@ -51,7 +51,7 @@
import pickle
import ConfigParser
-HOME_PATH = os.path.dirname(sys.argv[0])
+HOME_PATH = %%DATADIR%%
CHECK_ICON = HOME_PATH + '/crossword-check.png'
CHECK_ALL_ICON = HOME_PATH + '/crossword-check-all.png'
SOLVE_ICON = HOME_PATH + '/crossword-solve.png'

5
games/xwordpy/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
xwordpy (also know as Xword) is a PyGTK-powered
application with a GUI that allows users to open,
solve, and print Across Lite puzzle format files.
WWW: http://x-word.org/