svn commit: r331343 - head/games/asteroids3d
Rusmir Dusko
nemysis at FreeBSD.org
Wed Oct 23 02:35:54 UTC 2013
Author: nemysis
Date: Wed Oct 23 02:35:53 2013
New Revision: 331343
URL: http://svnweb.freebsd.org/changeset/ports/331343
Log:
- Change Makefile header
- Change master sites
- Change maintainer email to @FreeBSD.org
- Support STAGEDIR
- Change pkg-plist, remove mtree
Approved by: pawel / wg (mentors, implicit)
Modified:
head/games/asteroids3d/Makefile
head/games/asteroids3d/pkg-plist
Modified: head/games/asteroids3d/Makefile
==============================================================================
--- head/games/asteroids3d/Makefile Wed Oct 23 00:43:04 2013 (r331342)
+++ head/games/asteroids3d/Makefile Wed Oct 23 02:35:53 2013 (r331343)
@@ -1,4 +1,4 @@
-# Created by: nemysis at gmx.ch
+# Created by: nemysis <nemysis at gmx.ch>
# $FreeBSD$
PORTNAME= asteroids3d
@@ -6,12 +6,12 @@ PORTVERSION= 0.5.1
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF/a3d/${PORTVERSION}/ \
- SF/nemysisfreebsdp/:icons
+ SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTNAME= ${PORTNAME:S/3d/3D/}-${DISTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}_icons${EXTRACT_SUFX}:icons
-MAINTAINER= nemysis at gmx.ch
+MAINTAINER= nemysis at FreeBSD.org
COMMENT= First-person shooter blowing up asteroids in 3D space
LICENSE= GPLv2
@@ -33,32 +33,27 @@ ICON_SIZES= 32x32 48x48 64x64 72x72 96x9
DESKTOP_ENTRIES="Asteroids3D" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" false
-NO_STAGE= yes
pre-configure:
@(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/autogen.sh
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/3d/3D/} ${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/3d/3D/} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
- ${MKDIR} ${DATADIR}
- @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} "*.ub *.ppm" ${DATADIR})
+ @${MKDIR} ${DATADIR}
+ @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} "*.ub *.ppm" ${STAGEDIR}${DATADIR})
-post-install:
.for s in ${ICON_SIZES}
- ${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
- ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
.endfor
- ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/games/asteroids3d/pkg-plist
==============================================================================
--- head/games/asteroids3d/pkg-plist Wed Oct 23 00:43:04 2013 (r331342)
+++ head/games/asteroids3d/pkg-plist Wed Oct 23 02:35:53 2013 (r331343)
@@ -26,18 +26,4 @@ share/icons/hicolor/64x64/apps/asteroids
share/icons/hicolor/72x72/apps/asteroids3d.png
share/icons/hicolor/96x96/apps/asteroids3d.png
share/pixmaps/asteroids3d.png
- at dirrmtry share/icons/hicolor/96x96/apps
- at dirrmtry share/icons/hicolor/96x96
- at dirrmtry share/icons/hicolor/72x72/apps
- at dirrmtry share/icons/hicolor/72x72
- at dirrmtry share/icons/hicolor/64x64/apps
- at dirrmtry share/icons/hicolor/64x64
- at dirrmtry share/icons/hicolor/48x48/apps
- at dirrmtry share/icons/hicolor/48x48
- at dirrmtry share/icons/hicolor/32x32/apps
- at dirrmtry share/icons/hicolor/32x32
- at dirrmtry share/icons/hicolor/128x128/apps
- at dirrmtry share/icons/hicolor/128x128
- at dirrmtry share/icons/hicolor
- at dirrmtry share/icons
@dirrm %%DATADIR%%
More information about the svn-ports-all
mailing list