freebsd-ports/games/inform7/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

59 lines
1.8 KiB
Makefile

# Created by: Andy Kosela <akosela@andykosela.com>
# $FreeBSD$
PORTNAME= inform7
PORTVERSION= 6L38
CATEGORIES= games
MASTER_SITES= http://ftp.ifarchive.org/if-archive/infocom/compilers/inform7/executables/ \
http://ifarchive.heanet.ie/if-archive/infocom/compilers/inform7/executables/
DISTNAME= I7_6L38_FreeBSD
MAINTAINER= akosela@andykosela.com
COMMENT= Inform 7 programming language (CLI edition)
RUN_DEPENDS= frotz:games/frotz
ONLY_FOR_ARCHS= i386 amd64
USES= zip
SUB_FILES= i7.sh
.include <bsd.port.pre.mk>
do-build:
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/i7.sh ${STAGEDIR}${PREFIX}/bin/i7
@${MKDIR} ${STAGEDIR}${DATADIR}
@${CP} -R ${WRKSRC}/Internal ${STAGEDIR}${DATADIR}
@${INSTALL_MAN} ${FILESDIR}/i7.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
.if ${ARCH} == "i386"
@${INSTALL_PROGRAM} ${WRKSRC}/ni.i386 ${STAGEDIR}${PREFIX}/bin/ni
@${INSTALL_PROGRAM} ${WRKSRC}/inform6.i386 \
${STAGEDIR}${PREFIX}/bin/inform6
@${INSTALL_PROGRAM} ${WRKSRC}/cBlorb.i386 \
${STAGEDIR}${PREFIX}/bin/cBlorb
@${INSTALL_PROGRAM} ${WRKSRC}/dumb-frotz.i386 \
${STAGEDIR}${PREFIX}/bin/dumb-frotz
@${INSTALL_PROGRAM} ${WRKSRC}/dumb-git.i386 \
${STAGEDIR}${PREFIX}/bin/dumb-git
@${INSTALL_PROGRAM} ${WRKSRC}/dumb-glulxe.i386 \
${STAGEDIR}${PREFIX}/bin/dumb-glulxe
.else
@${INSTALL_PROGRAM} ${WRKSRC}/ni.amd64 ${STAGEDIR}${PREFIX}/bin/ni
@${INSTALL_PROGRAM} ${WRKSRC}/inform6.amd64 \
${STAGEDIR}${PREFIX}/bin/inform6
@${INSTALL_PROGRAM} ${WRKSRC}/cBlorb.amd64 \
${STAGEDIR}${PREFIX}/bin/cBlorb
@${INSTALL_PROGRAM} ${WRKSRC}/dumb-frotz.amd64 \
${STAGEDIR}${PREFIX}/bin/dumb-frotz
@${INSTALL_PROGRAM} ${WRKSRC}/dumb-git.amd64 \
${STAGEDIR}${PREFIX}/bin/dumb-git
@${INSTALL_PROGRAM} ${WRKSRC}/dumb-glulxe.amd64 \
${STAGEDIR}${PREFIX}/bin/dumb-glulxe
.endif
.include <bsd.port.post.mk>