svn commit: r330837 - head/games/phlipple
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Oct 19 02:57:24 UTC 2013
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 at 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>
More information about the svn-ports-all
mailing list