Changeset View
Changeset View
Standalone View
Standalone View
games/openra/Makefile
Show All 22 Lines | |||||
USES= gmake lua:51,run mono openal:soft | USES= gmake lua:51,run mono openal:soft | ||||
USE_SDL= sdl2 | USE_SDL= sdl2 | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
MAKE_ENV= prefix="${PREFIX}" | MAKE_ENV= prefix="${PREFIX}" | ||||
MAKE_ARGS= VERSION="${GH_TAGNAME}" | MAKE_ARGS= VERSION="${GH_TAGNAME}" | ||||
INSTALL_TARGET= install-all install-linux-shortcuts | INSTALL_TARGET= install-all install-linux-shortcuts | ||||
DATADIR= ${PREFIX}/lib/${PORTNAME} | DATADIR= ${PREFIX}/lib/${PORTNAME} | ||||
PORTDATA= * | PORTDATA= * | ||||
PORTDOCS= * | PORTDOCS= *.html | ||||
OPTIONS_DEFINE= DOCS TEST ZENITY | OPTIONS_DEFINE= DOCS TEST ZENITY | ||||
OPTIONS_DEFAULT=ZENITY | OPTIONS_DEFAULT=ZENITY | ||||
DOCS_BUILD_DEPENDS=markdown:${PORTSDIR}/textproc/markdown | DOCS_BUILD_DEPENDS=markdown:${PORTSDIR}/textproc/markdown | ||||
DOCS_ALL_TARGET=docs | DOCS_ALL_TARGET=docs | ||||
TEST_MAKE_ENV= HOME="${WRKDIR}" | TEST_MAKE_ENV= HOME="${WRKDIR}" | ||||
Show All 27 Lines | .if ${PORT_OPTIONS:MDOCS} | ||||
@for f in ${WRKSRC}/*.md; do \ | @for f in ${WRKSRC}/*.md; do \ | ||||
markdown $$f >$${f%.md}.html; \ | markdown $$f >$${f%.md}.html; \ | ||||
done | done | ||||
.endif | .endif | ||||
post-install: | post-install: | ||||
.if ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCS} | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${INSTALL_MAN} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} | ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} | ||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |