Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 02:57:24 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330837 - head/games/phlipple
Message-ID:  <201310190257.r9J2vO5r009228@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Oct 19 02:57:23 2013
New Revision: 330837
URL: http://svnweb.freebsd.org/changeset/ports/330837

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax

Deleted:
  head/games/phlipple/pkg-plist
Modified:
  head/games/phlipple/Makefile

Modified: head/games/phlipple/Makefile
==============================================================================
--- head/games/phlipple/Makefile	Sat Oct 19 02:57:17 2013	(r330836)
+++ head/games/phlipple/Makefile	Sat Oct 19 02:57:23 2013	(r330837)
@@ -9,9 +9,9 @@ MASTER_SITES=	SF/${PORTNAME}
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Flipping squares will never be the same
 
-LIB_DEPENDS=	ogg:${PORTSDIR}/audio/libogg \
-		vorbis:${PORTSDIR}/audio/libvorbis \
-		GLEW:${PORTSDIR}/graphics/glew
+LIB_DEPENDS=	libogg.so:${PORTSDIR}/audio/libogg \
+		libvorbis.so:${PORTSDIR}/audio/libvorbis \
+		libGLEW.so:${PORTSDIR}/graphics/glew
 
 GNU_CONFIGURE=	yes
 USES=		pkgconfig
@@ -21,16 +21,17 @@ USE_GL=		gl glu
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+PLIST_FILES=	bin/${PORTNAME} \
+		share/applications/${PORTNAME}.desktop \
+		share/pixmaps/${PORTNAME}.png
+PLIST_DIRSTRY=	share/applications
 PORTDOCS=	*
+PORTDATA=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/*.c
-.if ! ${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} -e '/install-data-am:/ s|install-dist_docDATA||' \
-		${WRKSRC}/Makefile.in
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310190257.r9J2vO5r009228>