aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-05-30 03:47:19 +0800
committermarino <marino@FreeBSD.org>2014-05-30 03:47:19 +0800
commitba6d8e93f72fb3aad25ed5fc8037e852108d6784 (patch)
tree20b756ad180e9c7cb1f1ffb824b0c37b9a7d657c /games
parentc5261dd1431b3d3170531fe5918213d5639a0cc5 (diff)
downloadfreebsd-ports-gnome-ba6d8e93f72fb3aad25ed5fc8037e852108d6784.tar.gz
freebsd-ports-gnome-ba6d8e93f72fb3aad25ed5fc8037e852108d6784.tar.zst
freebsd-ports-gnome-ba6d8e93f72fb3aad25ed5fc8037e852108d6784.zip
games/dungeon: Add stage support
Diffstat (limited to 'games')
-rw-r--r--games/dungeon/Makefile31
1 files changed, 16 insertions, 15 deletions
diff --git a/games/dungeon/Makefile b/games/dungeon/Makefile
index 3131c9371414..c096f015c557 100644
--- a/games/dungeon/Makefile
+++ b/games/dungeon/Makefile
@@ -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>