diff options
author | danfe <danfe@FreeBSD.org> | 2014-03-17 19:57:33 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2014-03-17 19:57:33 +0800 |
commit | 7f663c7ef5d65d4771fea18b04492aa37a9516ca (patch) | |
tree | 07fba1e956d80468b2f34ae59f1daf48167bbe9e /games | |
parent | 7e7be4d90ba29c9a72b3754daaef57ee5f108d16 (diff) | |
download | freebsd-ports-gnome-7f663c7ef5d65d4771fea18b04492aa37a9516ca.tar.gz freebsd-ports-gnome-7f663c7ef5d65d4771fea18b04492aa37a9516ca.tar.zst freebsd-ports-gnome-7f663c7ef5d65d4771fea18b04492aa37a9516ca.zip |
Stagify; tighten COMMENT; simplify installation target; reformat pkg-descr.
Diffstat (limited to 'games')
-rw-r--r-- | games/xwordpy/Makefile | 12 | ||||
-rw-r--r-- | games/xwordpy/pkg-descr | 5 |
2 files changed, 7 insertions, 10 deletions
diff --git a/games/xwordpy/Makefile b/games/xwordpy/Makefile index 21173944dbe4..90d53da575ba 100644 --- a/games/xwordpy/Makefile +++ b/games/xwordpy/Makefile @@ -9,30 +9,28 @@ 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 +COMMENT= Application for solving crossword puzzles in the Across Lite format USE_GNOME= pygtk2 USE_PYTHON= yes 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 +PLIST_DIRS= %%DATADIR%% -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) + ${INSTALL_SCRIPT} ${WRKSRC}/xword ${STAGEDIR}${PREFIX}/bin/xwordpy + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.png ${STAGEDIR}${DATADIR} .include <bsd.port.mk> diff --git a/games/xwordpy/pkg-descr b/games/xwordpy/pkg-descr index 5b19a67e763d..8cb36dec8e7e 100644 --- a/games/xwordpy/pkg-descr +++ b/games/xwordpy/pkg-descr @@ -1,5 +1,4 @@ -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. +xwordpy (also know as Xword) is a PyGTK-powered application with a GUI that +allows users to open, solve, and print files in Across Lite puzzle format. WWW: http://x-word.org/ |