svn commit: r335122 - in head/games/HeroesOfMightAndMagic: . files scripts
Marcus von Appen
mva at FreeBSD.org
Thu Nov 28 21:27:25 UTC 2013
Author: mva
Date: Thu Nov 28 21:27:24 2013
New Revision: 335122
URL: http://svnweb.freebsd.org/changeset/ports/335122
Log:
- Simplify port installation. Install everything from the CD, since the
mixture with symlinks breaks the game from time to time
- Remove the deprecation - it does not need gtk from Linux
Added:
head/games/HeroesOfMightAndMagic/pkg-plist (contents, props changed)
Deleted:
head/games/HeroesOfMightAndMagic/files/
head/games/HeroesOfMightAndMagic/scripts/
Modified:
head/games/HeroesOfMightAndMagic/Makefile (contents, props changed)
Modified: head/games/HeroesOfMightAndMagic/Makefile
==============================================================================
--- head/games/HeroesOfMightAndMagic/Makefile Thu Nov 28 21:08:38 2013 (r335121)
+++ head/games/HeroesOfMightAndMagic/Makefile Thu Nov 28 21:27:24 2013 (r335122)
@@ -11,25 +11,44 @@ DISTFILES=
MAINTAINER= mva at FreeBSD.org
COMMENT= BSD Installation of the Linux game "Heroes of Might and Magic III"
-DEPRECATED= Depends on deprecated Linux GTK1
-EXPIRATION_DATE=2013-12-01
-
-PLIST= ${WRKDIR}/PLIST
-IS_INTERACTIVE= yes
ONLY_FOR_ARCHS= i386 amd64
-USE_LINUX= yes
-USE_LINUX_APPS= gtk
NO_BUILD= yes
NO_WRKSUBDIR= yes
NO_CDROM= Software is commercial
NO_PACKAGE= Software is commercial
+NO_STAGE= yes # NO_PACKAGE does not go well with STAGEDIR and pkg_tools
GAMESUBDIR= games/Heroes3
-GAMEDIR= ${PREFIX}/${GAMESUBDIR}
-SCRIPTS_ENV+= INSTALL_DATA="${INSTALL_DATA}" PLIST=${PLIST} PKGDIR=${PKGDIR}
+GAMEDIR= ${STAGEDIR}${PREFIX}/${GAMESUBDIR}
+
+GAMEFILES= README Heroes_III_Tutorial.pdf icon.bmp icon.xpm
+DATAFILES= *.lod *.snd
+
+.if !defined(CDROM_MOUNT)
+BROKEN= ${PKGNAME} requires CDROM_MOUNT to be set to the mount point of the CD
+.endif
-NO_STAGE= yes
do-install:
- @cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/do-install
+ ${MKDIR} ${GAMEDIR}/bin
+ ${INSTALL_PROGRAM} ${CDROM_MOUNT}/bin/x86/heroes3 ${GAMEDIR}
+ ${BRANDELF} -t Linux ${GAMEDIR}/heroes3
+ ${LN} -sf ${PREFIX}/${GAMESUBDIR}/heroes3 ${STAGEDIR}${PREFIX}/bin/heroes3
+.for f in ${GAMEFILES}
+ ${INSTALL_DATA} ${CDROM_MOUNT}/${f} ${GAMEDIR}
+.endfor
+ ${MKDIR} ${GAMEDIR}/data
+ ${TOUCH} ${GAMEDIR}/data/hiscore.dat
+ ${CHMOD} 666 ${GAMEDIR}/data/hiscore.dat
+.for f in ${DATAFILES}
+ ${INSTALL_DATA} ${CDROM_MOUNT}/data/${f} ${GAMEDIR}/data
+.endfor
+ ${MKDIR} ${GAMEDIR}/maps
+ ${INSTALL_DATA} ${CDROM_MOUNT}/maps/* ${GAMEDIR}/maps
+ ${MKDIR} ${GAMEDIR}/data/video
+ ${INSTALL_DATA} ${CDROM_MOUNT}/data/video/*.mjpg ${GAMEDIR}/data/video
+ ${INSTALL_DATA} ${CDROM_MOUNT}/data/video/credits.pcx ${GAMEDIR}/data/video
+ ${INSTALL_DATA} ${CDROM_MOUNT}/data/video/*.mpg ${GAMEDIR}/data/video
+ ${MKDIR} ${GAMEDIR}/mp3
+ ${INSTALL_DATA} ${CDROM_MOUNT}/mp3/* ${GAMEDIR}/mp3
.include <bsd.port.mk>
Added: head/games/HeroesOfMightAndMagic/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/HeroesOfMightAndMagic/pkg-plist Thu Nov 28 21:27:24 2013 (r335122)
@@ -0,0 +1,171 @@
+bin/heroes3
+games/Heroes3/Heroes_III_Tutorial.pdf
+games/Heroes3/README
+games/Heroes3/data/h3bitmap.lod
+games/Heroes3/data/h3sprite.lod
+games/Heroes3/data/heroes3.snd
+games/Heroes3/data/heroes3cd.snd
+games/Heroes3/data/hiscore.dat
+games/Heroes3/data/video/3dologo.mpg
+games/Heroes3/data/video/cevil1.mjpg
+games/Heroes3/data/video/cevil2.mjpg
+games/Heroes3/data/video/cgood1.mjpg
+games/Heroes3/data/video/cgood2.mjpg
+games/Heroes3/data/video/cgood3.mjpg
+games/Heroes3/data/video/cneutral.mjpg
+games/Heroes3/data/video/credits.mjpg
+games/Heroes3/data/video/credits.pcx
+games/Heroes3/data/video/csecret.mjpg
+games/Heroes3/data/video/defendall.mjpg
+games/Heroes3/data/video/defendloop.mjpg
+games/Heroes3/data/video/endgame.mpg
+games/Heroes3/data/video/evil1a.mpg
+games/Heroes3/data/video/evil1b.mpg
+games/Heroes3/data/video/evil1c.mpg
+games/Heroes3/data/video/evil2a.mpg
+games/Heroes3/data/video/evil2ap1.mpg
+games/Heroes3/data/video/evil2ap2.mpg
+games/Heroes3/data/video/evil2b.mpg
+games/Heroes3/data/video/evil2c.mpg
+games/Heroes3/data/video/evil2d.mpg
+games/Heroes3/data/video/good1a.mpg
+games/Heroes3/data/video/good1b.mpg
+games/Heroes3/data/video/good1c.mpg
+games/Heroes3/data/video/good2a.mpg
+games/Heroes3/data/video/good2b.mpg
+games/Heroes3/data/video/good2c.mpg
+games/Heroes3/data/video/good2d.mpg
+games/Heroes3/data/video/good3a.mpg
+games/Heroes3/data/video/good3b.mpg
+games/Heroes3/data/video/good3c.mpg
+games/Heroes3/data/video/h3intro.mpg
+games/Heroes3/data/video/hsanim.mpg
+games/Heroes3/data/video/hsloop.mpg
+games/Heroes3/data/video/lbloop.mjpg
+games/Heroes3/data/video/lbstart.mjpg
+games/Heroes3/data/video/losecslp.mjpg
+games/Heroes3/data/video/losecstl.mjpg
+games/Heroes3/data/video/losegame.mpg
+games/Heroes3/data/video/neutrala.mpg
+games/Heroes3/data/video/neutralb.mpg
+games/Heroes3/data/video/neutralc.mpg
+games/Heroes3/data/video/nwclogo.mpg
+games/Heroes3/data/video/pgtrnlft.mjpg
+games/Heroes3/data/video/pgtrnrgh.mjpg
+games/Heroes3/data/video/progressbar.mjpg
+games/Heroes3/data/video/rtloop.mjpg
+games/Heroes3/data/video/rtstart.mjpg
+games/Heroes3/data/video/secreta.mpg
+games/Heroes3/data/video/secretb.mpg
+games/Heroes3/data/video/secretc.mpg
+games/Heroes3/data/video/surrender.mjpg
+games/Heroes3/data/video/tavern.mjpg
+games/Heroes3/data/video/win3.mjpg
+games/Heroes3/heroes3
+games/Heroes3/icon.bmp
+games/Heroes3/icon.xpm
+games/Heroes3/maps/all for one.h3m
+games/Heroes3/maps/ascension.h3m
+games/Heroes3/maps/barbarian breakout.h3m
+games/Heroes3/maps/barbarian breakouta.h3m
+games/Heroes3/maps/buried treasure.h3m
+games/Heroes3/maps/crimson and clover.h3m
+games/Heroes3/maps/crimson and clovera.h3m
+games/Heroes3/maps/dead and buried.h3m
+games/Heroes3/maps/divided loyalties.h3m
+games/Heroes3/maps/divided loyaltiesa.h3m
+games/Heroes3/maps/dragon orb.h3m
+games/Heroes3/maps/emerald isles.h3m
+games/Heroes3/maps/emerald islesa.h3m
+games/Heroes3/maps/free for all.h3m
+games/Heroes3/maps/good to go.h3m
+games/Heroes3/maps/island of fire.h3m
+games/Heroes3/maps/islands and caves.h3m
+games/Heroes3/maps/judgement day.h3m
+games/Heroes3/maps/key to victory.h3m
+games/Heroes3/maps/knee deep in the dead.h3m
+games/Heroes3/maps/knight of darkness.h3m
+games/Heroes3/maps/manifest destiny.h3m
+games/Heroes3/maps/middletown.h3m
+games/Heroes3/maps/myth and legend.h3m
+games/Heroes3/maps/noahs ark.h3m
+games/Heroes3/maps/overthrow thy neighbors.h3m
+games/Heroes3/maps/peacemaker.h3m
+games/Heroes3/maps/pirates.h3m
+games/Heroes3/maps/race for ardintinny.h3m
+games/Heroes3/maps/realm of chaos.h3m
+games/Heroes3/maps/realm of chaosa.h3m
+games/Heroes3/maps/rebellion.h3m
+games/Heroes3/maps/rumble in the bogs.h3m
+games/Heroes3/maps/rumble in the bogsa.h3m
+games/Heroes3/maps/search for the grail.h3m
+games/Heroes3/maps/serpents treasure.h3m
+games/Heroes3/maps/southern cross.h3m
+games/Heroes3/maps/the five rings.h3m
+games/Heroes3/maps/the mandate of heaven.h3m
+games/Heroes3/maps/titans winter.h3m
+games/Heroes3/maps/tutorial.tut
+games/Heroes3/maps/unholy quest.h3m
+games/Heroes3/maps/vial of life.h3m
+games/Heroes3/maps/warlords.h3m
+games/Heroes3/maps/warlordsa.h3m
+games/Heroes3/maps/warmongers.h3m
+games/Heroes3/maps/when dragons clash.h3m
+games/Heroes3/maps/wings of war.h3m
+games/Heroes3/maps/xathras prize.h3m
+games/Heroes3/mp3/aitheme0.mp3
+games/Heroes3/mp3/aitheme1.mp3
+games/Heroes3/mp3/aitheme2.mp3
+games/Heroes3/mp3/campainmusic01.mp3
+games/Heroes3/mp3/campainmusic02.mp3
+games/Heroes3/mp3/campainmusic03.mp3
+games/Heroes3/mp3/campainmusic04.mp3
+games/Heroes3/mp3/campainmusic05.mp3
+games/Heroes3/mp3/campainmusic06.mp3
+games/Heroes3/mp3/campainmusic07.mp3
+games/Heroes3/mp3/campainmusic08.mp3
+games/Heroes3/mp3/campainmusic09.mp3
+games/Heroes3/mp3/combat01.mp3
+games/Heroes3/mp3/combat02.mp3
+games/Heroes3/mp3/combat03.mp3
+games/Heroes3/mp3/combat04.mp3
+games/Heroes3/mp3/cstletown.mp3
+games/Heroes3/mp3/defend castle.mp3
+games/Heroes3/mp3/dirt.mp3
+games/Heroes3/mp3/dungeon.mp3
+games/Heroes3/mp3/eviltheme.mp3
+games/Heroes3/mp3/fortresstown.mp3
+games/Heroes3/mp3/goodtheme.mp3
+games/Heroes3/mp3/grass.mp3
+games/Heroes3/mp3/infernotown.mp3
+games/Heroes3/mp3/lava.mp3
+games/Heroes3/mp3/looplepr.mp3
+games/Heroes3/mp3/lose campain.mp3
+games/Heroes3/mp3/losecastle.mp3
+games/Heroes3/mp3/losecombat.mp3
+games/Heroes3/mp3/mainmenu.mp3
+games/Heroes3/mp3/necrotown.mp3
+games/Heroes3/mp3/neutraltheme.mp3
+games/Heroes3/mp3/rampart.mp3
+games/Heroes3/mp3/retreat battle.mp3
+games/Heroes3/mp3/rough.mp3
+games/Heroes3/mp3/sand.mp3
+games/Heroes3/mp3/secrettheme.mp3
+games/Heroes3/mp3/snow.mp3
+games/Heroes3/mp3/stronghold.mp3
+games/Heroes3/mp3/surrender battle.mp3
+games/Heroes3/mp3/swamp.mp3
+games/Heroes3/mp3/towertown.mp3
+games/Heroes3/mp3/ultimatelose.mp3
+games/Heroes3/mp3/underground.mp3
+games/Heroes3/mp3/water.mp3
+games/Heroes3/mp3/win battle.mp3
+games/Heroes3/mp3/win scenario.mp3
+ at dirrmtry games/Heroes3/mp3
+ at dirrmtry games/Heroes3/maps
+ at dirrm games/Heroes3/data/video
+ at dirrm games/Heroes3/data
+ at dirrm games/Heroes3/bin
+ at dirrm games/Heroes3
+ at dirrmtry games
+
More information about the svn-ports-head
mailing list