8bad47274c
- Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/connectagram - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Break lines around 80 characters games/cretan-hubris - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/fbg2 - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/gottet - Transfer maintainership to games@ team games/gtkatlantic - Simplify master site - Use tar.gz instead of tar.bz2 - Transfer maintainership to games@ team - Don't silence warnings - Set PORTSCOUT, Upstream use GTK3 in newer Versions games/kye - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/madbomber - Transfer maintainership to games@ team games/megamario - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Add fixes_v1.7.txt to DOCS games/nelly - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Cosmetical changes games/oneisenough - Transfer maintainership to games@ team - USES shebangfix and SHEBANG_FILES instead of REINPLACE - Simplify installation handling games/patapizza-tetris - Transfer maintainership to games@ team games/puckman - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/pycadia - Transfer maintainership to games@ team games/pyspacewar - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Remove TODO.txt from DOCS games/simsu - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Use tar:bzip2 instead of USE_BZIP2=yes games/smashbattle - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/syobon - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team games/tanglet - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team - Use tar:bzip2 instead of USE_BZIP2=yes games/thegrind - Change Makefile header, use my name and @FreeBSD.org email - Transfer maintainership to games@ team
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyspacewar
|
|
PORTVERSION= 0.9.7
|
|
PORTREVISION= 3
|
|
CATEGORIES= games python
|
|
MASTER_SITES= http://mg.pov.lt/${PORTNAME}/\
|
|
LOCAL/beech
|
|
DIST_SUBDIR= python
|
|
|
|
MAINTAINER= games@FreeBSD.org
|
|
COMMENT= Two ships duel in a gravity field
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${PYGAME}
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
PLIST_FILES= share/icons/hicolor/16x16/apps/pyspacewar.png \
|
|
share/icons/hicolor/22x22/apps/pyspacewar.png \
|
|
share/icons/hicolor/32x32/apps/pyspacewar.png \
|
|
share/icons/hicolor/48x48/apps/pyspacewar.png \
|
|
share/pixmaps/${PORTNAME}.png
|
|
|
|
PORTDOCS= NEWS.txt README.txt performance-notes.txt
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
INSTALLS_ICONS= yes
|
|
ICON_SIZES= 16x16 22x22 32x32 48x48
|
|
|
|
DESKTOP_ENTRIES="PySpaceWar" "" ${PORTNAME} \
|
|
"${PORTNAME}" "Game;ArcadeGame;" ""
|
|
|
|
post-patch:
|
|
.for s in 16 22 32 48
|
|
@cd ${WRKSRC}/src/pyspacewar/icons && \
|
|
${MV} ${PORTNAME}${s}.png ${PORTNAME}_${s}x${s}.png
|
|
.endfor
|
|
|
|
post-install:
|
|
.for s in ${ICON_SIZES}
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
|
|
${INSTALL_DATA} ${WRKSRC}/src/pyspacewar/icons/${PORTNAME}_${s}.png \
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
|
|
.endfor
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|