From 75990fc5dcc20b7cae75cd6c82fdff5b9d06fad4 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sat, 19 Oct 2013 02:57:23 +0000 Subject: [PATCH] - Support staging - Use new LIB_DEPENDS syntax --- games/phlipple/Makefile | 19 +++--- games/phlipple/pkg-plist | 131 --------------------------------------- 2 files changed, 10 insertions(+), 140 deletions(-) delete mode 100644 games/phlipple/pkg-plist diff --git a/games/phlipple/Makefile b/games/phlipple/Makefile index b4cfed83e482..70c0b47af43b 100644 --- a/games/phlipple/Makefile +++ b/games/phlipple/Makefile @@ -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 +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 diff --git a/games/phlipple/pkg-plist b/games/phlipple/pkg-plist deleted file mode 100644 index e4dbcf141df7..000000000000 --- a/games/phlipple/pkg-plist +++ /dev/null @@ -1,131 +0,0 @@ -bin/phlipple -share/applications/phlipple.desktop -%%DATADIR%%/audiooff.png -%%DATADIR%%/audioon.png -%%DATADIR%%/click.ogg -%%DATADIR%%/click2.ogg -%%DATADIR%%/copyright.txt -%%DATADIR%%/failure.ogg -%%DATADIR%%/glitch.ogg -%%DATADIR%%/leftright.png -%%DATADIR%%/level001 -%%DATADIR%%/level002 -%%DATADIR%%/level003 -%%DATADIR%%/level004 -%%DATADIR%%/level005 -%%DATADIR%%/level006 -%%DATADIR%%/level007 -%%DATADIR%%/level008 -%%DATADIR%%/level009 -%%DATADIR%%/level010 -%%DATADIR%%/level011 -%%DATADIR%%/level012 -%%DATADIR%%/level013 -%%DATADIR%%/level014 -%%DATADIR%%/level015 -%%DATADIR%%/level016 -%%DATADIR%%/level017 -%%DATADIR%%/level018 -%%DATADIR%%/level019 -%%DATADIR%%/level020 -%%DATADIR%%/level021 -%%DATADIR%%/level022 -%%DATADIR%%/level023 -%%DATADIR%%/level024 -%%DATADIR%%/level025 -%%DATADIR%%/level026 -%%DATADIR%%/level027 -%%DATADIR%%/level028 -%%DATADIR%%/level029 -%%DATADIR%%/level030 -%%DATADIR%%/level031 -%%DATADIR%%/level032 -%%DATADIR%%/level033 -%%DATADIR%%/level034 -%%DATADIR%%/level035 -%%DATADIR%%/level036 -%%DATADIR%%/level037 -%%DATADIR%%/level038 -%%DATADIR%%/level039 -%%DATADIR%%/level040 -%%DATADIR%%/level041 -%%DATADIR%%/level042 -%%DATADIR%%/level043 -%%DATADIR%%/level044 -%%DATADIR%%/level045 -%%DATADIR%%/level046 -%%DATADIR%%/level047 -%%DATADIR%%/level048 -%%DATADIR%%/level049 -%%DATADIR%%/level050 -%%DATADIR%%/level051 -%%DATADIR%%/level052 -%%DATADIR%%/level053 -%%DATADIR%%/level054 -%%DATADIR%%/level055 -%%DATADIR%%/level056 -%%DATADIR%%/level057 -%%DATADIR%%/level058 -%%DATADIR%%/level059 -%%DATADIR%%/level060 -%%DATADIR%%/level061 -%%DATADIR%%/level062 -%%DATADIR%%/level063 -%%DATADIR%%/level064 -%%DATADIR%%/level065 -%%DATADIR%%/level066 -%%DATADIR%%/level067 -%%DATADIR%%/level068 -%%DATADIR%%/level069 -%%DATADIR%%/level070 -%%DATADIR%%/level071 -%%DATADIR%%/level072 -%%DATADIR%%/level073 -%%DATADIR%%/level074 -%%DATADIR%%/level075 -%%DATADIR%%/level076 -%%DATADIR%%/level077 -%%DATADIR%%/level078 -%%DATADIR%%/level079 -%%DATADIR%%/level080 -%%DATADIR%%/level081 -%%DATADIR%%/level082 -%%DATADIR%%/level083 -%%DATADIR%%/level084 -%%DATADIR%%/level085 -%%DATADIR%%/level086 -%%DATADIR%%/level087 -%%DATADIR%%/level088 -%%DATADIR%%/level089 -%%DATADIR%%/level090 -%%DATADIR%%/level091 -%%DATADIR%%/level092 -%%DATADIR%%/level093 -%%DATADIR%%/level094 -%%DATADIR%%/level095 -%%DATADIR%%/level096 -%%DATADIR%%/level097 -%%DATADIR%%/level098 -%%DATADIR%%/level099 -%%DATADIR%%/level100 -%%DATADIR%%/levels.txt -%%DATADIR%%/logo.png -%%DATADIR%%/menu.png -%%DATADIR%%/next.png -%%DATADIR%%/pause.png -%%DATADIR%%/phlip.ogg -%%DATADIR%%/quit.png -%%DATADIR%%/reset.png -%%DATADIR%%/start.png -%%DATADIR%%/success.ogg -%%DATADIR%%/support_android.png -%%DATADIR%%/support_apple.png -%%DATADIR%%/theme.ogg -%%DATADIR%%/tut1.png -%%DATADIR%%/tut2.png -%%DATADIR%%/tut3.png -%%DATADIR%%/ubuntu.fnt -%%DATADIR%%/ubuntu_0.png -share/pixmaps/phlipple.png -@dirrm %%DATADIR%% -@dirrmtry share/applications