- Support staging

- Convert USE_GMAKE to USES
This commit is contained in:
Dmitry Marakasov 2013-10-17 00:01:16 +00:00
parent 1fa3a0e344
commit 5baa5eb700
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330576

View File

@ -13,17 +13,15 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Logic word puzzle game set inside a series of mazes
USE_BZIP2= yes
USE_GMAKE= yes
USES= gmake
USE_SDL= sdl image
USE_GL= glu
ALL_TARGET= ${PORTNAME}
MKE_JOBS_SAFE= yes
PORTDOCS= README
PORTDATA= *
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
DESKTOP_ENTRIES="XorGramana" \
"Logic word puzzle game set inside a series of mazes" \
@ -32,23 +30,16 @@ DESKTOP_ENTRIES="XorGramana" \
"Game;LogicGame;" \
false
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "data GFX" ${DATADIR}
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "data GFX" ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>