aboutsummaryrefslogtreecommitdiff
path: root/games/meandmyshadow
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-06-18 11:46:51 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-06-18 11:46:51 +0000
commit3037cb61c7f1ac5ae9a15cee2365daa2d4036028 (patch)
treee391a5b5894d27043bb95bd6680b03174979f810 /games/meandmyshadow
parent28eb882aa04c420b3fe972dd8748b80c90c5cd82 (diff)
downloadports-3037cb61c7f1ac5ae9a15cee2365daa2d4036028.tar.gz
ports-3037cb61c7f1ac5ae9a15cee2365daa2d4036028.zip
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS - OptionsNG - Pet portlint - Switch to dynamic plist where useful
Notes
Notes: svn path=/head/; revision=321181
Diffstat (limited to 'games/meandmyshadow')
-rw-r--r--games/meandmyshadow/Makefile14
-rw-r--r--games/meandmyshadow/pkg-descr2
2 files changed, 7 insertions, 9 deletions
diff --git a/games/meandmyshadow/Makefile b/games/meandmyshadow/Makefile
index 91fa46d61cb0..49487716bb47 100644
--- a/games/meandmyshadow/Makefile
+++ b/games/meandmyshadow/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: meandmyshadow
-# Date created: 15 Jan 2012
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= meandmyshadow
PORTVERSION= 0.4
@@ -15,7 +11,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Me and My Shadow puzzle/platform game
-LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
USES= cmake
USE_SDL= sdl ttf image mixer image gfx
@@ -32,15 +28,17 @@ DESKTOP_ENTRIES="Me and My Shadow" \
"Game;LogicGame;" \
false
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/Modules/FindSDL_gfx.cmake
post-install:
- ${MKDIR} -p ${PREFIX}/share/pixmaps/
+ ${MKDIR} ${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/icons/64x64/meandmyshadow.png \
${PREFIX}/share/pixmaps/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in AUTHORS ChangeLog docs/*
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
diff --git a/games/meandmyshadow/pkg-descr b/games/meandmyshadow/pkg-descr
index 3a31216141df..246fdda90f42 100644
--- a/games/meandmyshadow/pkg-descr
+++ b/games/meandmyshadow/pkg-descr
@@ -2,4 +2,4 @@ Me and My Shadow is a puzzle/platform game written by Luka Horvat.
The author has given us permission to gpl the game, and develop it
further. It has an interesting concept and rather unique gameplay.
-WWW: http://meandmyshadow.sourceforge.net/
+WWW: http://meandmyshadow.sourceforge.net/