aboutsummaryrefslogtreecommitdiff
path: root/games/xgalaga-sdl
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-09 16:08:56 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-09 16:08:56 +0000
commit2d83a73fa12f23249cdb24275a6b1cfe93128481 (patch)
treee4471b1b2e750e0e62032a9023e573ee6dc32747 /games/xgalaga-sdl
parente49063fa134990715eac271105aa555a196f5c53 (diff)
downloadports-2d83a73fa12f23249cdb24275a6b1cfe93128481.tar.gz
ports-2d83a73fa12f23249cdb24275a6b1cfe93128481.zip
- Switch to USES=localbase
- Switch to options helpers Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=472060
Diffstat (limited to 'games/xgalaga-sdl')
-rw-r--r--games/xgalaga-sdl/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/xgalaga-sdl/Makefile b/games/xgalaga-sdl/Makefile
index c5ae0f1c2ba3..a0b69c56c3d7 100644
--- a/games/xgalaga-sdl/Makefile
+++ b/games/xgalaga-sdl/Makefile
@@ -19,14 +19,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-sdl
-USES= tar:bzip2
+USES= localbase:ldflags tar:bzip2
USE_SDL= sdl gfx image mixer ttf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR}
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
PORTDOCS= CREDITS README
OPTIONS_DEFINE= DOCS
@@ -41,6 +38,8 @@ post-patch:
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}