aboutsummaryrefslogtreecommitdiff
path: root/games/phlipple
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
commitdaffe00d4a57c0ef6a21947a8121b8d233d8d3a5 (patch)
tree713942325bda393305edb21d46cd7f38d213aebc /games/phlipple
parent51498efaebaad1106dcf0d3f70c8feaa14c411ee (diff)
downloadports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.tar.gz
ports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.zip
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS - OptionsNG - Pet portlint - Switch to dynamic plist where useful - Canonicalize patch names - Fix DOS line endings in patch files
Notes
Notes: svn path=/head/; revision=322840
Diffstat (limited to 'games/phlipple')
-rw-r--r--games/phlipple/Makefile14
-rw-r--r--games/phlipple/pkg-descr2
2 files changed, 7 insertions, 9 deletions
diff --git a/games/phlipple/Makefile b/games/phlipple/Makefile
index 1dc792003016..14a136ad5778 100644
--- a/games/phlipple/Makefile
+++ b/games/phlipple/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: phlipple
-# Date created: 01 Nov 2011
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= phlipple
PORTVERSION= 0.8.5
@@ -14,8 +10,8 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Flipping squares will never be the same
LIB_DEPENDS= ogg:${PORTSDIR}/audio/libogg \
- vorbis.4:${PORTSDIR}/audio/libvorbis \
- GLEW.1:${PORTSDIR}/graphics/glew
+ vorbis:${PORTSDIR}/audio/libvorbis \
+ GLEW:${PORTSDIR}/graphics/glew
GNU_CONFIGURE= yes
USE_SDL= sdl mixer image
@@ -27,9 +23,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/*.c
-.if defined(NOPORTDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/install-data-am:/ s|install-dist_docDATA||' \
${WRKSRC}/Makefile.in
.endif
diff --git a/games/phlipple/pkg-descr b/games/phlipple/pkg-descr
index 18f2eb38cb18..2899d631a734 100644
--- a/games/phlipple/pkg-descr
+++ b/games/phlipple/pkg-descr
@@ -6,4 +6,4 @@ It starts off relatively easy to teach the basics just to later on
serve hours of brain tickling fun. It's a great way to train memory
as well as orientation in 3D.
-WWW: http://phuzzboxmedia.com/games/phlipple
+WWW: http://phuzzboxmedia.com/games/phlipple