aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2014-09-30 18:32:21 +0800
committerrene <rene@FreeBSD.org>2014-09-30 18:32:21 +0800
commite153f4dd26edd390c5a3625de26fb890863a965d (patch)
tree176268a0ddf7d9596efbe9a2fbff8d02ed376a0c /games
parent45da6f9ba6c16316e23f3b74d446b041a062f306 (diff)
downloadfreebsd-ports-gnome-e153f4dd26edd390c5a3625de26fb890863a965d.tar.gz
freebsd-ports-gnome-e153f4dd26edd390c5a3625de26fb890863a965d.tar.zst
freebsd-ports-gnome-e153f4dd26edd390c5a3625de26fb890863a965d.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)
Diffstat (limited to 'games')
-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
-