svn commit: r353638 - in head/games: numptyphysics numptyphysics-npcomplete
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun May 11 01:40:06 UTC 2014
Author: amdmi3
Date: Sun May 11 01:40:05 2014
New Revision: 353638
URL: http://svnweb.freebsd.org/changeset/ports/353638
QAT: https://qat.redports.org/buildarchive/r353638/
Log:
- Support staging
- Convert USE_BZIP2 to USES
Modified:
head/games/numptyphysics-npcomplete/Makefile
head/games/numptyphysics-npcomplete/pkg-plist
head/games/numptyphysics/Makefile
Modified: head/games/numptyphysics-npcomplete/Makefile
==============================================================================
--- head/games/numptyphysics-npcomplete/Makefile Sun May 11 01:39:40 2014 (r353637)
+++ head/games/numptyphysics-npcomplete/Makefile Sun May 11 01:40:05 2014 (r353638)
@@ -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>
Modified: head/games/numptyphysics-npcomplete/pkg-plist
==============================================================================
--- head/games/numptyphysics-npcomplete/pkg-plist Sun May 11 01:39:40 2014 (r353637)
+++ head/games/numptyphysics-npcomplete/pkg-plist Sun May 11 01:40:05 2014 (r353638)
@@ -90,3 +90,4 @@
%%DATADIR%%/ship.nph
%%DATADIR%%/surfs_up.nph
%%DATADIR%%/szymanowski1.nph
+ at dirrmtry %%DATADIR%%
Modified: head/games/numptyphysics/Makefile
==============================================================================
--- head/games/numptyphysics/Makefile Sun May 11 01:39:40 2014 (r353637)
+++ head/games/numptyphysics/Makefile Sun May 11 01:40:05 2014 (r353638)
@@ -12,7 +12,7 @@ MASTER_SITES= http://mirror.amdmi3.ru/di
MAINTAINER= amdmi3 at 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 -DINST
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>
More information about the svn-ports-all
mailing list