aboutsummaryrefslogtreecommitdiff
path: root/games/wanderer
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-23 16:06:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-23 16:06:05 +0000
commitcc283f84b121a0c49e94fc4a6f76d92079b72cf4 (patch)
tree3f29b1200b98897bbb2e253088200858e1f030b8 /games/wanderer
parent60880dc81ea1f497ad1c55285f752c2fc988fa12 (diff)
downloadports-cc283f84b121a0c49e94fc4a6f76d92079b72cf4.tar.gz
ports-cc283f84b121a0c49e94fc4a6f76d92079b72cf4.zip
Notes
Diffstat (limited to 'games/wanderer')
-rw-r--r--games/wanderer/Makefile20
-rw-r--r--games/wanderer/pkg-descr2
-rw-r--r--games/wanderer/pkg-plist124
3 files changed, 76 insertions, 70 deletions
diff --git a/games/wanderer/Makefile b/games/wanderer/Makefile
index 6951bf2b0a6c..7c011580887f 100644
--- a/games/wanderer/Makefile
+++ b/games/wanderer/Makefile
@@ -5,19 +5,23 @@ PORTNAME= wanderer
PORTVERSION= 3.2
CATEGORIES= games
MASTER_SITES= http://www.e271.net/~marina/ \
- http://www.surferz.net/~marina/
+ http://www.steveshipway.org/software/wanderer/
MAINTAINER= ports@FreeBSD.org
COMMENT= Rogue like adventure game
-MAN6= wanderer.6
-WRKSRC= ${WRKDIR}/wanderer-3.2
-ALL_TARGET= all
-MAKE_ENV+= DOCSDIR="${DOCSDIR}" MKDIR="${MKDIR}" CHOWN="${CHOWN}" \
- CHGRP="${CHGRP}" CHMOD="${CHMOD}" TOUCH="${TOUCH}"
+LICENSE= GPLv2 # (or later)
+
+MAKE_ENV= MKDIR="${MKDIR}"
+
+CFLAGS+= -Wno-return-type
-NO_STAGE= yes
post-patch:
- @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e \
+ 's|-o root -g games|| ; \
+ s|install -m 0755 -d|$${MKDIR}| ; \
+ s|install -m 0644|$${BSD_INSTALL_DATA}| ; \
+ s|install -m 2755|$${BSD_INSTALL_PROGRAM}| ; \
+ s|/usr/local|$${PREFIX}|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/games/wanderer/pkg-descr b/games/wanderer/pkg-descr
index c5f32aa33db8..8a3caead004c 100644
--- a/games/wanderer/pkg-descr
+++ b/games/wanderer/pkg-descr
@@ -4,3 +4,5 @@ The hiscore table holds only 15 scores, and the name displayed is
taken from the environment variable NAME. If you wish to have a
different alias without changing this variable, you can set the
variable NEWNAME before playing.
+
+WWW: http://www.steveshipway.org/software/wanderer/f_wanderer.html
diff --git a/games/wanderer/pkg-plist b/games/wanderer/pkg-plist
index d0bbb0b099b5..04df527d52ca 100644
--- a/games/wanderer/pkg-plist
+++ b/games/wanderer/pkg-plist
@@ -3,65 +3,65 @@
bin/wanderer
@group
@mode
-share/wanderer/screens/credits
-share/wanderer/screens/screen.1
-share/wanderer/screens/screen.10
-share/wanderer/screens/screen.11
-share/wanderer/screens/screen.12
-share/wanderer/screens/screen.13
-share/wanderer/screens/screen.14
-share/wanderer/screens/screen.15
-share/wanderer/screens/screen.16
-share/wanderer/screens/screen.17
-share/wanderer/screens/screen.18
-share/wanderer/screens/screen.19
-share/wanderer/screens/screen.2
-share/wanderer/screens/screen.20
-share/wanderer/screens/screen.21
-share/wanderer/screens/screen.22
-share/wanderer/screens/screen.23
-share/wanderer/screens/screen.24
-share/wanderer/screens/screen.25
-share/wanderer/screens/screen.26
-share/wanderer/screens/screen.27
-share/wanderer/screens/screen.28
-share/wanderer/screens/screen.29
-share/wanderer/screens/screen.3
-share/wanderer/screens/screen.30
-share/wanderer/screens/screen.31
-share/wanderer/screens/screen.32
-share/wanderer/screens/screen.33
-share/wanderer/screens/screen.34
-share/wanderer/screens/screen.35
-share/wanderer/screens/screen.36
-share/wanderer/screens/screen.37
-share/wanderer/screens/screen.38
-share/wanderer/screens/screen.39
-share/wanderer/screens/screen.4
-share/wanderer/screens/screen.40
-share/wanderer/screens/screen.41
-share/wanderer/screens/screen.42
-share/wanderer/screens/screen.43
-share/wanderer/screens/screen.44
-share/wanderer/screens/screen.45
-share/wanderer/screens/screen.46
-share/wanderer/screens/screen.47
-share/wanderer/screens/screen.48
-share/wanderer/screens/screen.49
-share/wanderer/screens/screen.5
-share/wanderer/screens/screen.50
-share/wanderer/screens/screen.51
-share/wanderer/screens/screen.52
-share/wanderer/screens/screen.53
-share/wanderer/screens/screen.54
-share/wanderer/screens/screen.55
-share/wanderer/screens/screen.56
-share/wanderer/screens/screen.57
-share/wanderer/screens/screen.58
-share/wanderer/screens/screen.59
-share/wanderer/screens/screen.6
-share/wanderer/screens/screen.60
-share/wanderer/screens/screen.61
-@dirrm share/wanderer/screens
-@dirrm share/wanderer
-@cwd /var/games
+man/man6/wanderer.6.gz
+%%DATADIR%%/screens/credits
+%%DATADIR%%/screens/screen.1
+%%DATADIR%%/screens/screen.10
+%%DATADIR%%/screens/screen.11
+%%DATADIR%%/screens/screen.12
+%%DATADIR%%/screens/screen.13
+%%DATADIR%%/screens/screen.14
+%%DATADIR%%/screens/screen.15
+%%DATADIR%%/screens/screen.16
+%%DATADIR%%/screens/screen.17
+%%DATADIR%%/screens/screen.18
+%%DATADIR%%/screens/screen.19
+%%DATADIR%%/screens/screen.2
+%%DATADIR%%/screens/screen.20
+%%DATADIR%%/screens/screen.21
+%%DATADIR%%/screens/screen.22
+%%DATADIR%%/screens/screen.23
+%%DATADIR%%/screens/screen.24
+%%DATADIR%%/screens/screen.25
+%%DATADIR%%/screens/screen.26
+%%DATADIR%%/screens/screen.27
+%%DATADIR%%/screens/screen.28
+%%DATADIR%%/screens/screen.29
+%%DATADIR%%/screens/screen.3
+%%DATADIR%%/screens/screen.30
+%%DATADIR%%/screens/screen.31
+%%DATADIR%%/screens/screen.32
+%%DATADIR%%/screens/screen.33
+%%DATADIR%%/screens/screen.34
+%%DATADIR%%/screens/screen.35
+%%DATADIR%%/screens/screen.36
+%%DATADIR%%/screens/screen.37
+%%DATADIR%%/screens/screen.38
+%%DATADIR%%/screens/screen.39
+%%DATADIR%%/screens/screen.4
+%%DATADIR%%/screens/screen.40
+%%DATADIR%%/screens/screen.41
+%%DATADIR%%/screens/screen.42
+%%DATADIR%%/screens/screen.43
+%%DATADIR%%/screens/screen.44
+%%DATADIR%%/screens/screen.45
+%%DATADIR%%/screens/screen.46
+%%DATADIR%%/screens/screen.47
+%%DATADIR%%/screens/screen.48
+%%DATADIR%%/screens/screen.49
+%%DATADIR%%/screens/screen.5
+%%DATADIR%%/screens/screen.50
+%%DATADIR%%/screens/screen.51
+%%DATADIR%%/screens/screen.52
+%%DATADIR%%/screens/screen.53
+%%DATADIR%%/screens/screen.54
+%%DATADIR%%/screens/screen.55
+%%DATADIR%%/screens/screen.56
+%%DATADIR%%/screens/screen.57
+%%DATADIR%%/screens/screen.58
+%%DATADIR%%/screens/screen.59
+%%DATADIR%%/screens/screen.6
+%%DATADIR%%/screens/screen.60
+%%DATADIR%%/screens/screen.61
+@dirrm %%DATADIR%%/screens
+@dirrm %%DATADIR%%