diff options
Diffstat (limited to 'games/phlipple/Makefile')
-rw-r--r-- | games/phlipple/Makefile | 14 |
1 files changed, 6 insertions, 8 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 |