mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
877e37b717
A too sharp axe causes unpredictable damages Reported by: amdmi3
37 lines
883 B
Makefile
37 lines
883 B
Makefile
# 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= Application for solving crossword puzzles in the Across Lite format
|
|
|
|
USE_GNOME= pygtk2
|
|
USES= python
|
|
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
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
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 ${STAGEDIR}${PREFIX}/bin/xwordpy
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.png ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|