svn commit: r348464 - head/games/xwordpy

Alexey Dokuchaev danfe at FreeBSD.org
Mon Mar 17 11:57:34 UTC 2014


Author: danfe
Date: Mon Mar 17 11:57:33 2014
New Revision: 348464
URL: http://svnweb.freebsd.org/changeset/ports/348464
QAT: https://qat.redports.org/buildarchive/r348464/

Log:
  Stagify; tighten COMMENT; simplify installation target; reformat pkg-descr.

Modified:
  head/games/xwordpy/Makefile
  head/games/xwordpy/pkg-descr

Modified: head/games/xwordpy/Makefile
==============================================================================
--- head/games/xwordpy/Makefile	Mon Mar 17 11:32:30 2014	(r348463)
+++ head/games/xwordpy/Makefile	Mon Mar 17 11:57:33 2014	(r348464)
@@ -9,30 +9,28 @@ MASTER_SITES=	http://x-word.org/
 DISTNAME=	xword-${PORTVERSION}
 
 MAINTAINER=	bf at 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>

Modified: head/games/xwordpy/pkg-descr
==============================================================================
--- head/games/xwordpy/pkg-descr	Mon Mar 17 11:32:30 2014	(r348463)
+++ head/games/xwordpy/pkg-descr	Mon Mar 17 11:57:33 2014	(r348464)
@@ -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/


More information about the svn-ports-head mailing list