aboutsummaryrefslogtreecommitdiffstats
path: root/games/asteroids3d/Makefile
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2013-10-23 10:35:53 +0800
committernemysis <nemysis@FreeBSD.org>2013-10-23 10:35:53 +0800
commit132184f307284adab1b5fd6c0da915b383d49a2e (patch)
tree5b980e60b1dce9ac0a48161521ebfde00f8c74b1 /games/asteroids3d/Makefile
parentd49ad35050269cc102d9a15bdd268f55055ccdb6 (diff)
downloadfreebsd-ports-gnome-132184f307284adab1b5fd6c0da915b383d49a2e.tar.gz
freebsd-ports-gnome-132184f307284adab1b5fd6c0da915b383d49a2e.tar.zst
freebsd-ports-gnome-132184f307284adab1b5fd6c0da915b383d49a2e.zip
- 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)
Diffstat (limited to 'games/asteroids3d/Makefile')
-rw-r--r--games/asteroids3d/Makefile29
1 files changed, 12 insertions, 17 deletions
diff --git a/games/asteroids3d/Makefile b/games/asteroids3d/Makefile
index 8d175e375b86..13bb0d9923d2 100644
--- a/games/asteroids3d/Makefile
+++ b/games/asteroids3d/Makefile
@@ -1,4 +1,4 @@
-# Created by: nemysis@gmx.ch
+# Created by: nemysis <nemysis@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@gmx.ch
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= First-person shooter blowing up asteroids in 3D space
LICENSE= GPLv2
@@ -33,32 +33,27 @@ ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
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>