From 6632afa1f5119eae9230da883975cd525d0b436c Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Thu, 17 Oct 2013 23:52:24 +0000 Subject: - Support staging - Convert USE_GMAKE to USES --- games/reminiscence/Makefile | 20 ++++++++++---------- games/reminiscence/pkg-plist | 4 ---- 2 files changed, 10 insertions(+), 14 deletions(-) delete mode 100644 games/reminiscence/pkg-plist diff --git a/games/reminiscence/Makefile b/games/reminiscence/Makefile index 407cf59847e4..86510585e99f 100644 --- a/games/reminiscence/Makefile +++ b/games/reminiscence/Makefile @@ -12,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= A rewritten engine for Flashback USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake USE_SDL= sdl ALL_TARGET= rs @@ -21,19 +21,19 @@ SUB_FILES= pkg-message PORTDOCS= README -NO_STAGE= yes -.include +PLIST_FILES= bin/remin +PLIST_DIRSTRY= %%DATADIR%%/data %%DATADIR%% + +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS post-patch: @${REINPLACE_CMD} -e 's|DATA|${DATADIR}/data|' ${WRKSRC}/main.cpp do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rs ${PREFIX}/bin/remin - ${MKDIR} ${DATADIR}/data -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ -.endif - @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} + ${INSTALL_PROGRAM} ${WRKSRC}/rs ${STAGEDIR}${PREFIX}/bin/remin + ${MKDIR} ${STAGEDIR}${DATADIR}/data + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/reminiscence/pkg-plist b/games/reminiscence/pkg-plist deleted file mode 100644 index 6a6b9017860e..000000000000 --- a/games/reminiscence/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/remin -@exec mkdir -p %D/share/REminiscence/data -@dirrm %%DATADIR%%/data -@dirrm %%DATADIR%% -- cgit