diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-18 01:20:16 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-18 01:20:16 +0000 |
commit | 7e548627c90ec4791d5c57dd3d94612aea1c42a4 (patch) | |
tree | c138675795d77581eafa1c6564cbfdb7edda800b /games/pachi/Makefile | |
parent | f110811263548fbe40664e62aaed340998b8c057 (diff) | |
download | ports-7e548627c90ec4791d5c57dd3d94612aea1c42a4.tar.gz ports-7e548627c90ec4791d5c57dd3d94612aea1c42a4.zip |
Notes
Diffstat (limited to 'games/pachi/Makefile')
-rw-r--r-- | games/pachi/Makefile | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/games/pachi/Makefile b/games/pachi/Makefile index 4bf8ffcf1e15..16eeb30a25ec 100644 --- a/games/pachi/Makefile +++ b/games/pachi/Makefile @@ -10,10 +10,10 @@ DISTNAME= pachi_source EXTRACT_SUFX= .tgz MAINTAINER= amdmi3@FreeBSD.org -COMMENT= A platforms game similar to Manic Miner +COMMENT= Platform game similar to Manic Miner USE_SDL= mixer sdl -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} @@ -24,7 +24,16 @@ WRKSRC= ${WRKDIR}/Pachi SCOREDIR= /var/games/pachi SCOREFILE= ${SCOREDIR}/scores.dat -NO_STAGE= yes +PLIST_FILES= bin/${PORTNAME} +PORTDATA= * + +DESKTOP_ENTRIES="Pachi el marciano" \ + "${COMMENT}" \ + "${DATADIR}/Tgfx/icon.bmp" \ + "${PORTNAME}" \ + "Game;ActionGame;" \ + "" + post-patch: @${REINPLACE_CMD} -e 's|/var/lib/games/$$PACKAGE|${SCOREDIR}|' \ ${WRKSRC}/configure @@ -36,13 +45,7 @@ post-patch: ${WRKSRC}/data/Makefile.in post-install: - ${CHGRP} games ${PREFIX}/bin/pachi - ${CHMOD} g+s ${PREFIX}/bin/pachi - ${MKDIR} ${SCOREDIR} -.if !exists(${SCOREFILE}) - ${INSTALL_DATA} ${WRKSRC}/data/scores.dat /var/games/pachi -.endif - ${CHGRP} -R games ${SCOREDIR} - ${CHMOD} g+w ${SCOREFILE} + ${CHGRP} games ${STAGEDIR}${PREFIX}/bin/pachi + ${CHMOD} g+s ${STAGEDIR}${PREFIX}/bin/pachi .include <bsd.port.mk> |