Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2014 10:12:33 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352740 - head/games/pycadia
Message-ID:  <201405011012.s41ACX4E079290@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Thu May  1 10:12:33 2014
New Revision: 352740
URL: http://svnweb.freebsd.org/changeset/ports/352740
QAT: https://qat.redports.org/buildarchive/r352740/

Log:
  - Change Makefile header, use my name and @FreeBSD.org email
  - Simplify master sites
  - Change USE_PYTHON=yes to USE_PYTHON=2
  - Remove TODO from DOCS
  - Break lines around 80 characters

Modified:
  head/games/pycadia/Makefile

Modified: head/games/pycadia/Makefile
==============================================================================
--- head/games/pycadia/Makefile	Thu May  1 09:23:15 2014	(r352739)
+++ head/games/pycadia/Makefile	Thu May  1 10:12:33 2014	(r352740)
@@ -1,11 +1,11 @@
-# Created by: nemysis <nemysis@gmx.ch>
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	pycadia
 PORTVERSION=	0.5.1
 PORTREVISION=	5
 CATEGORIES=	games python
-MASTER_SITES=	${MASTER_SITE_GENTOO:S/%SUBDIR%/distfiles/} \
+MASTER_SITES=	GENTOO/distfiles \
 		SF/nemysisfreebsdp/games/
 DIST_SUBDIR=	python
 
@@ -19,10 +19,9 @@ RUN_DEPENDS=	${PYGAME}
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USE_GNOME=	pygtk2 libgnomeui
-USE_PYTHON=	yes
-
-PORTDOCS=	CHANGELOG README TODO gravity.txt
+USE_PYTHON=	2
 
+PORTDOCS=	CHANGELOG README gravity.txt
 OPTIONS_DEFINE=	DOCS
 
 DESKTOP_ENTRIES="Pycadia" "" "${PORTNAME}" \
@@ -40,17 +39,18 @@ do-build:
 do-install:
 	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
 		${WRKDIR}/${PORTNAME}.sh
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .for d in glade pixmaps sounds
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
 .endfor
-
-.for d in  *.py *.pyc *.pyo
-	@(cd ${WRKSRC} ; ${INSTALL_SCRIPT} ${d} ${STAGEDIR}${DATADIR})
+.for f in *.py *.pyc *.pyo
+	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
 .endfor
 
-	@(cd ${STAGEDIR}${DATADIR} && ${CHMOD} 555 ${PORTNAME}.py spacewarpy.py vektoroids.py)
+	@(cd ${STAGEDIR}${DATADIR} && ${CHMOD} 555 \
+		 ${PORTNAME}.py spacewarpy.py vektoroids.py)
 	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf ${STAGEDIR}${DATADIR}
 
 	${INSTALL_DATA} ${WRKSRC}/pixmaps/pysteroids.png \



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