diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-12-24 22:36:46 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-12-24 22:36:46 +0000 |
commit | b8b77c5b31f442a2d85340d08c96bf7f5933015a (patch) | |
tree | 6f711ef5a78c0c0b2f5ea0d41fc3c57486f30440 | |
parent | - Fix build with clang (diff) |
- Support staging
- Convert USE_GMAKE to USES
Notes
Notes:
svn path=/head/; revision=337393
-rw-r--r-- | games/powder/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/games/powder/Makefile b/games/powder/Makefile index ba81983e3ecd..0dceb2e15208 100644 --- a/games/powder/Makefile +++ b/games/powder/Makefile @@ -12,18 +12,16 @@ DISTNAME= ${PORTNAME}${PORTVERSION}_src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Graphical dungeon crawling game -USE_GMAKE= yes +USES= gmake USE_SDL= sdl MAKE_JOBS_UNSAFE=yes BUILD_WRKSRC= ${WRKSRC}/port/linux PLIST_FILES= bin/powder - PORTDOCS= README.TXT LICENSE.TXT CREDITS.TXT -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|bin/bash|bin/sh|' \ @@ -33,12 +31,10 @@ post-patch: ${BUILD_WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/powder ${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/powder ${STAGEDIR}${PREFIX}/bin/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor -.endif .include <bsd.port.mk> |