Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 16:08:07 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334217 - head/games/ptkei
Message-ID:  <201311181608.rAIG871V070808@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Nov 18 16:08:07 2013
New Revision: 334217
URL: http://svnweb.freebsd.org/changeset/ports/334217

Log:
  - Remove the indefinite article from COMMENT
  - Add stage support

Modified:
  head/games/ptkei/Makefile

Modified: head/games/ptkei/Makefile
==============================================================================
--- head/games/ptkei/Makefile	Mon Nov 18 16:02:34 2013	(r334216)
+++ head/games/ptkei/Makefile	Mon Nov 18 16:08:07 2013	(r334217)
@@ -8,25 +8,24 @@ CATEGORIES=	games
 MASTER_SITES=	http://www.lfmm.org/ptkei/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A Python/Tk graphical client for Wolfpack Empire servers
+COMMENT=	Python/Tk graphical client for Wolfpack Empire servers
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
 		${PYTHON_SITELIBDIR}/Pmw/__init__.py:${PORTSDIR}/x11-toolkits/py-Pmw
 
 USE_PYTHON=	yes
 
-NO_STAGE=	yes
 do-build:
-	@${FIND} ${WRKSRC} -name "*.pyc" | ${XARGS} ${RM}
+	@${FIND} ${WRKSRC} -name "*.pyc" -delete
 	@${FIND} ${WRKSRC} \( -type f -or -type l \) | ${XARGS} ${CHMOD} 644
 	@${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755
 	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} 2>/dev/null
 
 do-install:
-	${MKDIR} ${PREFIX}/share/ptkei
-	${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${PREFIX}/share/ptkei --unlink -xf -
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${STAGEDIR}${DATADIR} --unlink -xf -
 	${SED} -e "s#%%PREFIX%%#${PREFIX}# ; s#%%PYTHON_CMD%%#${PYTHON_CMD}#" \
 		${FILESDIR}/ptkei > ${WRKDIR}/ptkei.tmp
-	${INSTALL_SCRIPT} ${WRKDIR}/ptkei.tmp ${PREFIX}/bin/ptkei
+	${INSTALL_SCRIPT} ${WRKDIR}/ptkei.tmp ${STAGEDIR}${PREFIX}/bin/ptkei
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311181608.rAIG871V070808>