svn commit: r349165 - head/games/asteroids3d
Rusmir Dusko
nemysis at FreeBSD.org
Tue Mar 25 18:15:15 UTC 2014
Author: nemysis
Date: Tue Mar 25 18:15:14 2014
New Revision: 349165
URL: http://svnweb.freebsd.org/changeset/ports/349165
QAT: https://qat.redports.org/buildarchive/r349165/
Log:
- Change Makefile header, use my name and @FreeBSD.org email
- Use tar:bzip2 instead of USE_BZIP2=yes
- Remove USE_GL glu
- Add DOCS Option
- Change Desktop entry file
- Break lines around 80 characters
- Remove not needed @${MKDIR} ${DATADIR}
Modified:
head/games/asteroids3d/Makefile
Modified: head/games/asteroids3d/Makefile
==============================================================================
--- head/games/asteroids3d/Makefile Tue Mar 25 17:34:41 2014 (r349164)
+++ head/games/asteroids3d/Makefile Tue Mar 25 18:15:14 2014 (r349165)
@@ -1,4 +1,4 @@
-# Created by: nemysis <nemysis at gmx.ch>
+# Created by: Rusmir Dusko <nemysis at FreeBSD.org>
# $FreeBSD$
PORTNAME= asteroids3d
@@ -16,22 +16,23 @@ COMMENT= First-person shooter blowing up
LICENSE= GPLv2
-USE_BZIP2= yes
-USE_AUTOTOOLS= aclocal autoheader
+USES= tar:bzip2
+USE_AUTOTOOLS= aclocal autoheader
GNU_CONFIGURE= yes
CONFIGURE_ENV= with_gamesdir="${PREFIX}/bin" with_gamedatadir="${DATADIR}"
-USE_GL= glut glu
+USE_GL= glut
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= README.html
+OPTIONS_DEFINE= DOCS
INSTALLS_ICONS= yes
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
-DESKTOP_ENTRIES="Asteroids3D" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "Game;ArcadeGame;" false
+DESKTOP_ENTRIES="Asteroids3D" "" "${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" ""
pre-configure:
@(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
@@ -40,10 +41,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/autogen.sh
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/3d/3D/} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
- @${MKDIR} ${DATADIR}
- @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} "*.ub *.ppm" ${STAGEDIR}${DATADIR})
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/3d/3D/} \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} "*.ub *.ppm" \
+ ${STAGEDIR}${DATADIR})
.for s in ${ICON_SIZES}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
More information about the svn-ports-head
mailing list