aboutsummaryrefslogtreecommitdiffstats
path: root/games/tads
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-11 10:44:52 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-11 10:44:52 +0800
commit44fbc235bfcc8d6f3758e7927f2442dd2dd01414 (patch)
treee87d2ccc0cdf4a2e53d2b2b016c2b72e02db925f /games/tads
parent24f94ce217f0797b62c17359948bcf23063cb529 (diff)
downloadfreebsd-ports-gnome-44fbc235bfcc8d6f3758e7927f2442dd2dd01414.tar.gz
freebsd-ports-gnome-44fbc235bfcc8d6f3758e7927f2442dd2dd01414.tar.zst
freebsd-ports-gnome-44fbc235bfcc8d6f3758e7927f2442dd2dd01414.zip
- Add stage support
Diffstat (limited to 'games/tads')
-rw-r--r--games/tads/Makefile11
-rw-r--r--games/tads/pkg-plist8
2 files changed, 9 insertions, 10 deletions
diff --git a/games/tads/Makefile b/games/tads/Makefile
index 0fde0599cd3d..cfcd89dbdae5 100644
--- a/games/tads/Makefile
+++ b/games/tads/Makefile
@@ -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 interactive fiction
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>
diff --git a/games/tads/pkg-plist b/games/tads/pkg-plist
index e8bc885e16ea..74aa69121d72 100644
--- a/games/tads/pkg-plist
+++ b/games/tads/pkg-plist
@@ -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%%