diff options
-rw-r--r-- | games/xgalaga-sdl/Makefile | 7 |
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} |