diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-01-18 00:28:13 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-01-18 00:28:13 +0000 |
commit | 0540456a45d76e7b984f6b01b217bcbbb4a16b03 (patch) | |
tree | 13a51ff66625a964d1b4e5df8aab793214b0c2cd /games/numptyphysics | |
parent | ae612d21d2bdae129818c1c1a5a57e4fbee968ee (diff) | |
download | ports-0540456a45d76e7b984f6b01b217bcbbb4a16b03.tar.gz ports-0540456a45d76e7b984f6b01b217bcbbb4a16b03.zip |
Notes
Diffstat (limited to 'games/numptyphysics')
-rw-r--r-- | games/numptyphysics/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/numptyphysics/Makefile b/games/numptyphysics/Makefile index 963e7f167aff..834e7316daab 100644 --- a/games/numptyphysics/Makefile +++ b/games/numptyphysics/Makefile @@ -7,6 +7,7 @@ PORTNAME= numptyphysics DISTVERSION= 0.3.r20090104 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/ @@ -23,9 +24,15 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ WRKSRC= ${WRKDIR}/${PORTNAME} +OPTIONS= MOREFPS "More FPS for smoother graphics" on + .include <bsd.port.pre.mk> post-patch: +.if !defined(WITHOUT_MOREFPS) + @${REINPLACE_CMD} -e '/define RENDER_RATE/ s|20|60|' \ + ${WRKSRC}/Config.h +.endif @${CHMOD} a+x ${WRKSRC}/install-sh @${REINPLACE_CMD} -e 's|\(desktopentrydir=\).*|\1${PREFIX}/share/applications|' \ ${WRKSRC}/configure ${WRKSRC}/configure.in @@ -33,6 +40,6 @@ post-patch: ${WRKSRC}/data/${PORTNAME}.desktop post-install: - ${STRIP_CMD} ${PREFIX}/bin/${PORTNAME} + @${STRIP_CMD} ${PREFIX}/bin/${PORTNAME} .include <bsd.port.post.mk> |