2013-09-20 17:36:33 +00:00
|
|
|
# Created by: bf2006a@yahoo.com
|
2008-12-06 23:36:00 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xwordpy
|
|
|
|
PORTVERSION= 1.0
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 4
|
2008-12-06 23:36:00 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://x-word.org/
|
|
|
|
DISTNAME= xword-${PORTVERSION}
|
|
|
|
|
2010-07-08 12:51:37 +00:00
|
|
|
MAINTAINER= bf@FreeBSD.org
|
2014-03-17 11:57:33 +00:00
|
|
|
COMMENT= Application for solving crossword puzzles in the Across Lite format
|
2008-12-06 23:36:00 +00:00
|
|
|
|
|
|
|
USE_GNOME= pygtk2
|
2014-10-20 17:36:02 +00:00
|
|
|
USES= python
|
2008-12-06 23:36:00 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
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
|
2014-12-22 21:38:23 +00:00
|
|
|
PLIST_DIRS= %%DATADIR%%
|
2008-12-06 23:36:00 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|%%DATADIR%%|\'${DATADIR}\'|g" \
|
|
|
|
-e "s|/usr/bin/python|${PYTHON_CMD}|g" \
|
|
|
|
${WRKSRC}/xword
|
|
|
|
|
|
|
|
do-install:
|
2014-03-17 11:57:33 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/xword ${STAGEDIR}${PREFIX}/bin/xwordpy
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.png ${STAGEDIR}${DATADIR}
|
2008-12-06 23:36:00 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|