Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2014 19:47:20 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355736 - head/games/dungeon
Message-ID:  <201405291947.s4TJlKm7080904@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu May 29 19:47:19 2014
New Revision: 355736
URL: http://svnweb.freebsd.org/changeset/ports/355736
QAT: https://qat.redports.org/buildarchive/r355736/

Log:
  games/dungeon: Add stage support

Modified:
  head/games/dungeon/Makefile

Modified: head/games/dungeon/Makefile
==============================================================================
--- head/games/dungeon/Makefile	Thu May 29 19:44:48 2014	(r355735)
+++ head/games/dungeon/Makefile	Thu May 29 19:47:19 2014	(r355736)
@@ -5,11 +5,11 @@ PORTNAME=	dungeon
 PORTVERSION=	3.2
 CATEGORIES=	games
 MASTER_SITES=	ftp://ftp.ifarchive.org/if-archive/games/source/:source \
-	ftp://ftp.ifarchive.com/if-archive/games/source/:source \
-	http://mirror.ifarchive.org/if-archive/games/source/:source \
-	ftp://ftp.funet.fi/pub/misc/ifarchive/games/source/:source \
-	http://ifarchive.flavorplex.com/if-archive/games/source/:source \
-	http://eblong.com/zarf/glk/:glkterm
+		ftp://ftp.ifarchive.com/if-archive/games/source/:source \
+		http://mirror.ifarchive.org/if-archive/games/source/:source \
+		ftp://ftp.funet.fi/pub/misc/ifarchive/games/source/:source \
+		http://ifarchive.flavorplex.com/if-archive/games/source/:source \
+		http://eblong.com/zarf/glk/:glkterm
 DISTFILES=	dungn27s.zip:source \
 		dungn32b.zip:source \
 		dungeon-gdt-glk.tar.gz:source \
@@ -34,8 +34,6 @@ PORTDOCS=	HISTORY MANIFEST README
 MAKE_FLAGS+=	DATADIR=${DATADIR}
 MAKE_ENV+=	GDT_FLAG=-DHAVE_GDT
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
@@ -49,17 +47,20 @@ pre-patch:
 
 do-build:
 	@(cd ${WRKSRC}/glkterm && ${MAKE})
-	@(cd ${WRKSRC}/dungeon-gdt/ && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS})
+	@(cd ${WRKSRC}/dungeon-gdt/ && \
+		${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS})
 
 do-install:
-	@${MKDIR} ${DATADIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/dungeon-gdt/dungeon ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/dungeon-gdt/dundat ${DATADIR}
-	${INSTALL_MAN} ${WRKSRC}/DUNGEON.6 ${MAN6PREFIX}/man/man6/dungeon.6
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/dungeon-gdt/dungeon \
+		${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/dungeon-gdt/dundat ${STAGEDIR}${DATADIR}
+	${INSTALL_MAN} ${WRKSRC}/DUNGEON.6 \
+		${STAGEDIR}${MAN6PREFIX}/man/man6/dungeon.6
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/dungn32b.zip ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DISTDIR}/dungn32b.zip ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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