summaryrefslogtreecommitdiffstats
path: root/games/phlipple
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
commit816503d0c5051e291b1c9d153597bec2c0d90e3e (patch)
tree713942325bda393305edb21d46cd7f38d213aebc /games/phlipple
parent422d267e1126322ee1278071a404f04be2383f95 (diff)
downloadFreeBSD-ports-816503d0c5051e291b1c9d153597bec2c0d90e3e.zip
FreeBSD-ports-816503d0c5051e291b1c9d153597bec2c0d90e3e.tar.gz
- 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
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 1dc7920..14a136a 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 18f2eb3..2899d63 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
OpenPOWER on IntegriCloud