diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-05-11 01:40:05 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-05-11 01:40:05 +0000 |
commit | c35bfa00bb2e2084cc177208531962cfc0a41d4a (patch) | |
tree | 0a63f63d7d8ee3375427f52ec93e46b69bdf9257 /games | |
parent | e2f52ba444b36181a4420e2e5cbdbd7ee7a63b86 (diff) |
- Support staging
- Convert USE_BZIP2 to USES
Notes
Notes:
svn path=/head/; revision=353638
Diffstat (limited to 'games')
-rw-r--r-- | games/numptyphysics-npcomplete/Makefile | 7 | ||||
-rw-r--r-- | games/numptyphysics-npcomplete/pkg-plist | 1 | ||||
-rw-r--r-- | games/numptyphysics/Makefile | 10 |
3 files changed, 8 insertions, 10 deletions
diff --git a/games/numptyphysics-npcomplete/Makefile b/games/numptyphysics-npcomplete/Makefile index 5c8fc106fef4..d8373736813c 100644 --- a/games/numptyphysics-npcomplete/Makefile +++ b/games/numptyphysics-npcomplete/Makefile @@ -13,18 +13,17 @@ COMMENT= Level pack for Numpty Physics RUN_DEPENDS= numptyphysics:${PORTSDIR}/games/numptyphysics -USE_BZIP2= yes +USES= tar:bzip2 NO_BUILD= yes WRKSRC= ${WRKDIR}/npcomplete DATADIR= ${PREFIX}/share/numptyphysics -NO_STAGE= yes post-extract: # this level will crash the game @${RM} -f "${WRKSRC}/L02_bridge Gaps tut.nph" do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.nph ${DATADIR} + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.nph ${STAGEDIR}${DATADIR} .include <bsd.port.mk> diff --git a/games/numptyphysics-npcomplete/pkg-plist b/games/numptyphysics-npcomplete/pkg-plist index f510c8690b6d..c31856f5fd02 100644 --- a/games/numptyphysics-npcomplete/pkg-plist +++ b/games/numptyphysics-npcomplete/pkg-plist @@ -90,3 +90,4 @@ %%DATADIR%%/ship.nph %%DATADIR%%/surfs_up.nph %%DATADIR%%/szymanowski1.nph +@dirrmtry %%DATADIR%% diff --git a/games/numptyphysics/Makefile b/games/numptyphysics/Makefile index 9d9acc1350e9..9935df3637f2 100644 --- a/games/numptyphysics/Makefile +++ b/games/numptyphysics/Makefile @@ -12,7 +12,7 @@ MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ \ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Drawing physics-based puzzle game -USE_BZIP2= yes +USES= tar:bzip2 desktop-file-utils GNU_CONFIGURE= yes USE_SDL= sdl image INSTALLS_ICONS= yes @@ -24,11 +24,9 @@ CPPFLAGS+= -I${LOCALBASE}/include -DINSTALL_BASE_PATH=\"\\\"${DATADIR}\\\"\" WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= MOREFPS +OPTIONS_DEFAULT=MOREFPS MOREFPS_DESC= Smoother graphics support -OPTIONS_DEFAULT= MOREFPS - -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: @@ -42,7 +40,7 @@ post-patch: @${REINPLACE_CMD} -e 's|^Exec=.*|Exec=${PORTNAME}|; /^X-Icon-Path/ d' \ ${WRKSRC}/data/${PORTNAME}.desktop -post-install: - @${STRIP_CMD} ${PREFIX}/bin/${PORTNAME} +post-build: + ${STRIP_CMD} ${WRKSRC}/${PORTNAME} .include <bsd.port.mk> |