Index: head/games/opensurge/Makefile.svn_rev =================================================================== --- head/games/opensurge/Makefile.svn_rev (revision 475550) +++ head/games/opensurge/Makefile.svn_rev (nonexistent) @@ -1,2 +0,0 @@ -SVN_REV= 765 -MODS_VER= 20140321 Property changes on: head/games/opensurge/Makefile.svn_rev ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/opensurge/Makefile =================================================================== --- head/games/opensurge/Makefile (revision 475550) +++ head/games/opensurge/Makefile (revision 475551) @@ -1,82 +1,81 @@ # Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= opensurge PORTVERSION= 0.1.r${SVN_REV} -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= http://www.ime.usp.br/~alemart/opensurge_nightly/ \ SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/ DISTFILES= ${PORTNAME}-src-build${SVN_REV}${EXTRACT_SUFX} \ ${PORTNAME}-mods-${MODS_VER}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Game based on the Sonic the Hedgehog universe LICENSE= GPLv2+ CC-BY-SA-3.0 LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/licenses/GPLv2.txt LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/licenses/CC-BY-SA-3.0.txt -BUILD_DEPENDS= ${LOCALBASE}/lib/libaldmb.a:audio/dumb-allegro \ - ${LOCALBASE}/include/alfont.h:x11-fonts/alfont \ - alureplay:audio/alure +BUILD_DEPENDS= ${LOCALBASE}/lib/libaldmb.a:audio/dumb-allegro LIB_DEPENDS= libalfont.so:x11-fonts/alfont \ liballeg.so:devel/allegro \ + libalure.so:audio/alure \ + libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis -RUN_DEPENDS= ${LOCALBASE}/lib/libaldmb.a:audio/dumb-allegro WRKSRC= ${WRKDIR}/${PORTNAME}-src-build${SVN_REV} -USES= cmake dos2unix openal:soft +USES= cmake dos2unix localbase openal:soft DOS2UNIX_GLOB= *.bg *.brk *.grp *.inc *.lev *.lng *.obj *.qst *.spr *.txt -USE_GCC= yes PORTDOCS= readme.html PORTDATA= * OPTIONS_DEFINE= DOCS -SUB_FILES= ${PORTNAME} pkg-deinstall pkg-message +SUB_FILES= ${PORTNAME} -INSTALLS_ICONS= yes -ICON_SIZES= 16x16 32x32 48x48 64x64 72x72 96x96 128x128 256x256 - DESKTOP_ENTRIES="Open Surge" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" +INSTALLS_ICONS= yes +LLD_UNSAFE= yes -.include "Makefile.svn_rev" +SVN_REV= 765 +MODS_VER= 20140321 post-extract-script: @(cd ${WRKDIR}/opensurge-mods && ${COPYTREE_SHARE} . ${WRKSRC}) post-patch: @${REINPLACE_CMD} -e 's|/usr/share/opensurge|${DATADIR}|' \ -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/src/core/global.h @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/src/core/osspec.c @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|; \ s|/usr/bin|${PREFIX}/bin|; \ s|license.txt readme.html||; \ s|licenses||' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -i '' '/Copying executable to/,+2d' \ ${WRKSRC}/CMakeLists.txt post-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ -.for s in ${ICON_SIZES} +.for s in 16x16 32x32 48x48 64x64 72x72 96x96 128x128 256x256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/ ${INSTALL_DATA} ${WRKSRC}/src/misc/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor - ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${RLN} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/games/opensurge/files/pkg-message.in =================================================================== --- head/games/opensurge/files/pkg-message.in (revision 475550) +++ head/games/opensurge/files/pkg-message.in (nonexistent) @@ -1,12 +0,0 @@ -=============================================================================== - -Open Surge has been installed. - -When you have problems to build Source please reinstall - -audio/alure -x11-fonts/alfont - -Have fun! - -=============================================================================== Property changes on: head/games/opensurge/files/pkg-message.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/opensurge/files/pkg-deinstall.in =================================================================== --- head/games/opensurge/files/pkg-deinstall.in (revision 475550) +++ head/games/opensurge/files/pkg-deinstall.in (nonexistent) @@ -1,18 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -if [ "$2" = "POST-DEINSTALL" ]; then - echo "" - echo "" - echo "===============================================================================" - echo "" - echo "After deinstallation, some files may stay in %%DATADIR%%," - echo "you can delete them with" - echo "" - echo " /bin/rm -fr %%DATADIR%%" - echo "" - echo "===============================================================================" - echo "" -fi Property changes on: head/games/opensurge/files/pkg-deinstall.in ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property