blob: 55099571d6b765c29c15a3507341a522aa082012 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: bf2006a@yahoo.com
# $FreeBSD$
PORTNAME= xwordpy
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://x-word.org/
DISTNAME= xword-${PORTVERSION}
MAINTAINER= bf@FreeBSD.org
COMMENT= An application for solving crossword puzzles in the Across Lite format
USE_GNOME= pygtk2
USE_PYTHON= 2.5+
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
NO_STAGE= yes
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>
|