From 97b91f3fd18883805d37aa1e36d72555ed613f73 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 4 Oct 2013 02:15:48 +0000 Subject: [PATCH] - Support staging - Use new LIB_DEPENDS syntax --- games/zaz/Makefile | 16 +++--- games/zaz/pkg-plist | 119 -------------------------------------------- 2 files changed, 7 insertions(+), 128 deletions(-) diff --git a/games/zaz/Makefile b/games/zaz/Makefile index 4673f943b6c3..b0932d62cf74 100644 --- a/games/zaz/Makefile +++ b/games/zaz/Makefile @@ -10,10 +10,10 @@ MASTER_SITES= SF/${PORTNAME} MAINTAINER= amdmi3@FreeBSD.org COMMENT= A puzzle game where the player has to arrange balls in triplets -LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \ - theora:${PORTSDIR}/multimedia/libtheora \ - vorbis:${PORTSDIR}/audio/libvorbis \ - ftgl:${PORTSDIR}/graphics/ftgl +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ + libtheora.so:${PORTSDIR}/multimedia/libtheora \ + libvorbis.so:${PORTSDIR}/audio/libvorbis \ + libftgl.so:${PORTSDIR}/graphics/ftgl USE_BZIP2= yes GNU_CONFIGURE= yes @@ -26,8 +26,10 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} CONFIGURE_ARGS= --with-icondir="${PREFIX}/share/pixmaps" PORTDOCS= * +PORTDATA= * + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include # Unconditially disable NLS for now: the game segfaults with 8bit locales @@ -42,9 +44,5 @@ PLIST_SUB+= NLS="@comment " post-patch: @${REINPLACE_CMD} -e '/^zazdocdir =/ s|$${prefix}/doc|$${prefix}/share/doc|' \ ${WRKSRC}/Makefile.in -.if ! ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docDATA||' \ - ${WRKSRC}/Makefile.in -.endif .include diff --git a/games/zaz/pkg-plist b/games/zaz/pkg-plist index 9433e8b612d3..1d326ab88cd4 100644 --- a/games/zaz/pkg-plist +++ b/games/zaz/pkg-plist @@ -9,123 +9,4 @@ share/applications/zaz.desktop %%NLS%%share/locale/ru/LC_MESSAGES/zaz.mo %%NLS%%share/locale/tr/LC_MESSAGES/zaz.mo share/pixmaps/zaz.xpm -%%DATADIR%%/FreeMonoBold.ttf -%%DATADIR%%/FreeSans.ttf -%%DATADIR%%/balls1.png -%%DATADIR%%/balls2.png -%%DATADIR%%/bonus.ogg -%%DATADIR%%/bonus1.png -%%DATADIR%%/bonus2.png -%%DATADIR%%/bonus3.png -%%DATADIR%%/bonus4.png -%%DATADIR%%/bonus5.png -%%DATADIR%%/cb.png -%%DATADIR%%/combo.ogg -%%DATADIR%%/copyright.txt -%%DATADIR%%/easy.set -%%DATADIR%%/eliminate.ogg -%%DATADIR%%/explosion.png -%%DATADIR%%/extraball.ogg -%%DATADIR%%/extralife.ogg -%%DATADIR%%/failedlevel.ogg -%%DATADIR%%/font1.ttf -%%DATADIR%%/gpl3.png -%%DATADIR%%/level1.jpg -%%DATADIR%%/level1.lvl -%%DATADIR%%/level10.jpg -%%DATADIR%%/level10.lvl -%%DATADIR%%/level10_thumb.jpg -%%DATADIR%%/level11.jpg -%%DATADIR%%/level11.lvl -%%DATADIR%%/level11_thumb.jpg -%%DATADIR%%/level12.jpg -%%DATADIR%%/level12.lvl -%%DATADIR%%/level12_overlay.png -%%DATADIR%%/level12_thumb.jpg -%%DATADIR%%/level13.jpg -%%DATADIR%%/level13.lvl -%%DATADIR%%/level13_overlay.png -%%DATADIR%%/level13_thumb.jpg -%%DATADIR%%/level14.jpg -%%DATADIR%%/level14.lvl -%%DATADIR%%/level14_overlay.png -%%DATADIR%%/level14_thumb.jpg -%%DATADIR%%/level15.jpg -%%DATADIR%%/level15.lvl -%%DATADIR%%/level15_thumb.jpg -%%DATADIR%%/level16.jpg -%%DATADIR%%/level16.lvl -%%DATADIR%%/level16_overlay.png -%%DATADIR%%/level16_thumb.jpg -%%DATADIR%%/level17.jpg -%%DATADIR%%/level17.lvl -%%DATADIR%%/level17_overlay.png -%%DATADIR%%/level17_thumb.jpg -%%DATADIR%%/level18.jpg -%%DATADIR%%/level18.lvl -%%DATADIR%%/level18_thumb.jpg -%%DATADIR%%/level19.jpg -%%DATADIR%%/level19.lvl -%%DATADIR%%/level19_overlay.png -%%DATADIR%%/level19_thumb.jpg -%%DATADIR%%/level1_thumb.jpg -%%DATADIR%%/level2.jpg -%%DATADIR%%/level2.lvl -%%DATADIR%%/level20.jpg -%%DATADIR%%/level20.lvl -%%DATADIR%%/level20_overlay.png -%%DATADIR%%/level20_thumb.jpg -%%DATADIR%%/level21.jpg -%%DATADIR%%/level21.lvl -%%DATADIR%%/level21_overlay.png -%%DATADIR%%/level21_thumb.jpg -%%DATADIR%%/level22.jpg -%%DATADIR%%/level22.lvl -%%DATADIR%%/level22_thumb.jpg -%%DATADIR%%/level23.jpg -%%DATADIR%%/level23.lvl -%%DATADIR%%/level23_overlay.png -%%DATADIR%%/level23_thumb.jpg -%%DATADIR%%/level2_thumb.jpg -%%DATADIR%%/level3.jpg -%%DATADIR%%/level3.lvl -%%DATADIR%%/level3_thumb.jpg -%%DATADIR%%/level4.jpg -%%DATADIR%%/level4.lvl -%%DATADIR%%/level4_thumb.jpg -%%DATADIR%%/level5.jpg -%%DATADIR%%/level5.lvl -%%DATADIR%%/level5_thumb.jpg -%%DATADIR%%/level6.jpg -%%DATADIR%%/level6.lvl -%%DATADIR%%/level6_thumb.jpg -%%DATADIR%%/level7.jpg -%%DATADIR%%/level7.lvl -%%DATADIR%%/level7_thumb.jpg -%%DATADIR%%/level8.jpg -%%DATADIR%%/level8.lvl -%%DATADIR%%/level8_thumb.jpg -%%DATADIR%%/level9.jpg -%%DATADIR%%/level9.lvl -%%DATADIR%%/level9_thumb.jpg -%%DATADIR%%/levels.list -%%DATADIR%%/logo.png -%%DATADIR%%/menu.lvl -%%DATADIR%%/mus1.ogg -%%DATADIR%%/mus2.ogg -%%DATADIR%%/mus3.ogg -%%DATADIR%%/mus4.ogg -%%DATADIR%%/newcolor.ogg -%%DATADIR%%/ouch.ogg -%%DATADIR%%/phbx_logo.png -%%DATADIR%%/phbx_logo_overlay.png -%%DATADIR%%/phbx_snd.ogg -%%DATADIR%%/player.png -%%DATADIR%%/pro.set -%%DATADIR%%/ptr.png -%%DATADIR%%/pull.ogg -%%DATADIR%%/push.ogg -%%DATADIR%%/roll.ogg -%%DATADIR%%/timebonus.wav -@dirrm %%DATADIR%% @dirrmtry share/applications