aboutsummaryrefslogtreecommitdiff
path: root/games/HeroesOfMightAndMagic
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-09-30 10:32:21 +0000
committerRene Ladan <rene@FreeBSD.org>2014-09-30 10:32:21 +0000
commitd47921cdeedf2ca26cafabdcec212f95e781d4bd (patch)
tree176268a0ddf7d9596efbe9a2fbff8d02ed376a0c /games/HeroesOfMightAndMagic
parent0c13b687d4c89f9c07014a8bd79b58117b552622 (diff)
downloadports-d47921cdeedf2ca26cafabdcec212f95e781d4bd.tar.gz
ports-d47921cdeedf2ca26cafabdcec212f95e781d4bd.zip
- Change NO_PACKAGE / NO_CDROM to RESTRICTED
- Change a chmod command in Makefile to the corresponding pkg-plist directives and remove @dirrm* lines from pkg-plist while there. Approved by: mva (maintainer)
Notes
Notes: svn path=/head/; revision=369579
Diffstat (limited to 'games/HeroesOfMightAndMagic')
-rw-r--r--games/HeroesOfMightAndMagic/Makefile4
-rw-r--r--games/HeroesOfMightAndMagic/pkg-plist10
2 files changed, 3 insertions, 11 deletions
diff --git a/games/HeroesOfMightAndMagic/Makefile b/games/HeroesOfMightAndMagic/Makefile
index 9abb4d8f2172..4066ca6bb6ba 100644
--- a/games/HeroesOfMightAndMagic/Makefile
+++ b/games/HeroesOfMightAndMagic/Makefile
@@ -14,8 +14,7 @@ COMMENT= BSD Installation of the Linux game "Heroes of Might and Magic III"
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
NO_WRKSUBDIR= yes
-NO_CDROM= Software is commercial
-NO_PACKAGE= Software is commercial
+RESTRICTED= Software is commercial
GAMESUBDIR= games/Heroes3
GAMEDIR= ${STAGEDIR}${PREFIX}/${GAMESUBDIR}
@@ -37,7 +36,6 @@ do-install:
.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
diff --git a/games/HeroesOfMightAndMagic/pkg-plist b/games/HeroesOfMightAndMagic/pkg-plist
index 8ae49c21ba38..c4545385277b 100644
--- a/games/HeroesOfMightAndMagic/pkg-plist
+++ b/games/HeroesOfMightAndMagic/pkg-plist
@@ -5,7 +5,9 @@ games/Heroes3/data/h3bitmap.lod
games/Heroes3/data/h3sprite.lod
games/Heroes3/data/heroes3.snd
games/Heroes3/data/heroes3cd.snd
+@mode 666
games/Heroes3/data/hiscore.dat
+@mode
games/Heroes3/data/video/3dologo.mpg
games/Heroes3/data/video/cevil1.mjpg
games/Heroes3/data/video/cevil2.mjpg
@@ -161,11 +163,3 @@ games/Heroes3/mp3/underground.mp3
games/Heroes3/mp3/water.mp3
games/Heroes3/mp3/win battle.mp3
games/Heroes3/mp3/win scenario.mp3
-@dirrmtry games/Heroes3/mp3
-@dirrmtry games/Heroes3/maps
-@dirrm games/Heroes3/data/video
-@dirrm games/Heroes3/data
-@dirrm games/Heroes3/bin
-@dirrm games/Heroes3
-@dirrmtry games
-