diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-18 15:08:34 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-18 15:08:34 +0000 |
commit | b247a8c78f57c38bc2212c56df474720b22084d3 (patch) | |
tree | efa3fcb3d5bb54d5ae7baeed283be6241ecb9535 /games/inform/Makefile | |
parent | security/revealrk: stagify and respect CC (diff) |
- Add stage support
- Put Makefile variables in order
Notes
Notes:
svn path=/head/; revision=334206
Diffstat (limited to 'games/inform/Makefile')
-rw-r--r-- | games/inform/Makefile | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/games/inform/Makefile b/games/inform/Makefile index 04c519b01fcb..3f1279b54fd0 100644 --- a/games/inform/Makefile +++ b/games/inform/Makefile @@ -5,13 +5,11 @@ PORTNAME= inform PORTVERSION= 6.32 CATEGORIES= games MASTER_SITES= ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/source/ \ - ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/library/:lib + ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/library/:lib \ + ftp://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 -DISTFILES= inform${PORTVERSION:S/.//}_source.zip inform_library611.zip:lib -.if !defined(NOPORTDOCS) -MASTER_SITES+= ftp://ftp.ifarchive.org/if-archive/infocom/compilers/inform6/manuals/:doc -DISTFILES+= designers_manual_4.zip:doc -.endif EXTRACT_ONLY= inform${PORTVERSION:S/.//}_source.zip MAINTAINER= ports@FreeBSD.org @@ -24,27 +22,17 @@ NO_WRKSUBDIR= yes USE_ZIP= yes MAKEFILE= ${FILESDIR}/Makefile.inform -# Install the library files in ${PREFIX}/share/inform, and install -# documentation if appropriate. - -NO_STAGE= yes post-install: - @${MKDIR} ${DATADIR} - (cd ${DATADIR} && \ + @${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} ${DATADIR}/${file} - ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DATADIR}/${file} + ${CHMOD} ${SHAREMODE} ${STAGEDIR}${DATADIR}/${file} .endfor -.if defined(NOPORTDOCS) - @${RM} ${DATADIR}/readme.txt -.else - @${MKDIR} ${DOCSDIR} - (umask 222 && ${UNZIP_CMD} -qq -o -d ${DOCSDIR} \ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (umask 222 && ${UNZIP_CMD} -qq -o -d ${STAGEDIR}${DOCSDIR} \ ${DISTDIR}/${DIST_SUBDIR}/designers_manual_4.zip) - @${MV} ${DATADIR}/readme.txt ${DOCSDIR} - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} -.endif + @${MV} ${STAGEDIR}${DATADIR}/readme.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |