Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 16:06:05 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345745 - head/games/wanderer
Message-ID:  <201402231606.s1NG65B8008677@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Feb 23 16:06:05 2014
New Revision: 345745
URL: http://svnweb.freebsd.org/changeset/ports/345745
QAT: https://qat.redports.org/buildarchive/r345745/

Log:
  - Fix build with clang
  - Update MASTER_SITES and WWW: line
  - Add license
  - Stage support
  
  PR:		186741
  Submitted by:	Ports Fury

Modified:
  head/games/wanderer/Makefile
  head/games/wanderer/pkg-descr
  head/games/wanderer/pkg-plist

Modified: head/games/wanderer/Makefile
==============================================================================
--- head/games/wanderer/Makefile	Sun Feb 23 16:04:51 2014	(r345744)
+++ head/games/wanderer/Makefile	Sun Feb 23 16:06:05 2014	(r345745)
@@ -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>

Modified: head/games/wanderer/pkg-descr
==============================================================================
--- head/games/wanderer/pkg-descr	Sun Feb 23 16:04:51 2014	(r345744)
+++ head/games/wanderer/pkg-descr	Sun Feb 23 16:06:05 2014	(r345745)
@@ -4,3 +4,5 @@ The hiscore table holds only 15 scores, 
 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

Modified: head/games/wanderer/pkg-plist
==============================================================================
--- head/games/wanderer/pkg-plist	Sun Feb 23 16:04:51 2014	(r345744)
+++ head/games/wanderer/pkg-plist	Sun Feb 23 16:06:05 2014	(r345745)
@@ -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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402231606.s1NG65B8008677>