Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 02:44:53 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333471 - head/games/tads
Message-ID:  <201311110244.rAB2irCC039634@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Nov 11 02:44:52 2013
New Revision: 333471
URL: http://svnweb.freebsd.org/changeset/ports/333471

Log:
  - Add stage support

Modified:
  head/games/tads/Makefile
  head/games/tads/pkg-plist

Modified: head/games/tads/Makefile
==============================================================================
--- head/games/tads/Makefile	Mon Nov 11 02:40:42 2013	(r333470)
+++ head/games/tads/Makefile	Mon Nov 11 02:44:52 2013	(r333471)
@@ -5,8 +5,7 @@ PORTNAME=	tads
 PORTVERSION=	2.5.9
 CATEGORIES=	games lang
 MASTER_SITES=	${MASTER_SITE_LOCAL}
-#		http://www.ifarchive.org/if-archive/programming/tads2/source/
-MASTER_SITE_SUBDIR=kris
+MASTER_SITE_SUBDIR=	kris
 DISTNAME=	tads23-unix
 
 MAINTAINER=	ports@FreeBSD.org
@@ -15,15 +14,15 @@ COMMENT=	TADS compiler/interpreter for i
 CONFLICTS=	frobtads-1.*
 
 WRKSRC=		${WRKDIR}/tads-3.0.8/tads2
+DATADIR=	share/tads2
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${PREFIX}/share/tads2
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/tads2
 .for i in tadsc tadsr tdb
-	${INSTALL_PROGRAM} ${WRKSRC}/$i ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/$i ${STAGEDIR}${PREFIX}/bin
 .endfor
 .for i in adv.t std.t gameinfo.t
-	${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/tads2
+	${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${PREFIX}/share/tads2
 .endfor
 
 .include <bsd.port.mk>

Modified: head/games/tads/pkg-plist
==============================================================================
--- head/games/tads/pkg-plist	Mon Nov 11 02:40:42 2013	(r333470)
+++ head/games/tads/pkg-plist	Mon Nov 11 02:44:52 2013	(r333471)
@@ -1,7 +1,7 @@
 bin/tadsc
 bin/tadsr
 bin/tdb
-share/tads2/adv.t
-share/tads2/std.t
-share/tads2/gameinfo.t
-@dirrm share/tads2/
+%%DATADIR%%/adv.t
+%%DATADIR%%/std.t
+%%DATADIR%%/gameinfo.t
+@dirrm %%DATADIR%%



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