svn commit: r358925 - head/games/vegastrike
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jun 23 12:13:46 UTC 2014
Author: bapt
Date: Mon Jun 23 12:13:46 2014
New Revision: 358925
URL: http://svnweb.freebsd.org/changeset/ports/358925
QAT: https://qat.redports.org/buildarchive/r358925/
Log:
Mark as broken with any modern compiler
Cleanup staging while here
Convert to USES=dos2unix
Modified:
head/games/vegastrike/Makefile
Modified: head/games/vegastrike/Makefile
==============================================================================
--- head/games/vegastrike/Makefile Mon Jun 23 11:57:44 2014 (r358924)
+++ head/games/vegastrike/Makefile Mon Jun 23 12:13:46 2014 (r358925)
@@ -11,15 +11,16 @@ DISTNAME= vegastrike-src-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= Opensource 3D space simulator
+BROKEN= Does not build with any modern compiler
+
RUN_DEPENDS= ${DATADIR}/vegastrike.ico:${PORTSDIR}/games/vegastrike-data
-LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs \
- expat:${PORTSDIR}/textproc/expat2 \
- vorbis:${PORTSDIR}/audio/libvorbis \
- ogg:${PORTSDIR}/audio/libogg
+LIB_DEPENDS= libboost_python.so:${PORTSDIR}/devel/boost-python-libs \
+ libexpat.so:${PORTSDIR}/textproc/expat2 \
+ libvorbis.so:${PORTSDIR}/audio/libvorbis \
+ libogg.so:${PORTSDIR}/audio/libogg
-USE_BZIP2= yes
GNU_CONFIGURE= yes
-USES= gmake openal:al
+USES= dos2unix gmake openal:al tar:bzip2
USE_PYTHON= yes
USE_SDL= sdl
USE_XORG= sm ice xi x11 xext xrender xinerama xi xrandr xcursor \
@@ -28,7 +29,7 @@ USE_GL= gl glu glut
USE_GNOME= gtk20
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-USE_DOS2UNIX= *.cpp *.h
+DOS2UNIX_GLOB= *.cpp *.h
EXTRACT_AFTER_ARGS+=--exclude boost
# cegui and ffmpeg are not used yet
@@ -44,19 +45,9 @@ PORTDOCS= README
OPTIONS_DEFINE= MESHER
MESHER_DESC= Enable mesher modelling tool
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800000
-BROKEN= fails to build on 7.x
-.endif
-
-.if ${PORT_OPTIONS:MMESHER}
-PLIST_FILES+= bin/mesher
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libOgreMain.so:${PORTSDIR}/graphics/ogre3d
-RUN_DEPENDS+= ${LOCALBASE}/lib/libOgreMain.so:${PORTSDIR}/graphics/ogre3d
-.else
-CONFIGURE_ARGS+= --disable-ogre
-.endif
+MESHER_PLIST_FILES= bin/mesher
+MESHER_LIB_DEPENDS= libOgreMain.so:${PORTSDIR}/graphics/ogre3d
+MESHER_CONFIGURE_ENABLE= ogre
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; \
@@ -65,12 +56,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${PLIST_FILES:S|bin|${WRKSRC}|} \
${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
-
-post-install:
- @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list