diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-05-01 18:12:33 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-05-01 18:12:33 +0800 |
commit | 4476f4c9f63f3bde4522bbeed302d5a4d7197640 (patch) | |
tree | e97f408246545239a013607131c3822d6f27ea2e /games | |
parent | 9c8d17f35d5189f3d4ef71f48e1c101d112ce4b8 (diff) | |
download | freebsd-ports-gnome-4476f4c9f63f3bde4522bbeed302d5a4d7197640.tar.gz freebsd-ports-gnome-4476f4c9f63f3bde4522bbeed302d5a4d7197640.tar.zst freebsd-ports-gnome-4476f4c9f63f3bde4522bbeed302d5a4d7197640.zip |
- 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
Diffstat (limited to 'games')
-rw-r--r-- | games/pycadia/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/games/pycadia/Makefile b/games/pycadia/Makefile index 9db90383fd4f..21912acbfe8d 100644 --- a/games/pycadia/Makefile +++ b/games/pycadia/Makefile @@ -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 \ |