1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/inform/Makefile
John Marino a24c0f3e9e games/inform: Remove redundant dependency on unzip
USES=zip:infozip is set, so the explicit dependency is unnecessary.
2016-08-04 03:52:50 +00:00

43 lines
1.3 KiB
Makefile

# Created by: Matthew Hunt <mph@FreeBSD.org>
# $FreeBSD$
PORTNAME= inform
PORTVERSION= 6.32
CATEGORIES= games
MASTER_SITES= http://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/source/old/ \
http://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/library/old/:lib \
http://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/manuals/:doc
DISTFILES= inform${PORTVERSION:S/.//}_source.zip inform_library611.zip:lib \
designers_manual_4.zip:doc
DIST_SUBDIR= inform
EXTRACT_ONLY= inform${PORTVERSION:S/.//}_source.zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Compiler for producing text adventure games
NO_WRKSUBDIR= yes
USES= zip:infozip
MAKEFILE= ${FILESDIR}/Makefile.inform
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${STAGEDIR}${DATADIR} && \
${UNZIP_CMD} -qq -o ${DISTDIR}/${DIST_SUBDIR}/inform_library611.zip)
.for file in English.h Grammar.h Parser.h VerbLib.h infix.h linklpa.h \
linklv.h parserm.h verblibm.h
${CHMOD} ${SHAREMODE} ${STAGEDIR}${DATADIR}/${file}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(umask 222 && ${UNZIP_CMD} -qq -o -d ${STAGEDIR}${DOCSDIR} \
${DISTDIR}/${DIST_SUBDIR}/designers_manual_4.zip)
@${MV} ${STAGEDIR}${DATADIR}/readme.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>