- Support staging

- Use new LIB_DEPENDS syntax
This commit is contained in:
Dmitry Marakasov 2013-10-04 02:15:48 +00:00
parent 7a74095bc4
commit 97b91f3fd1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329260
2 changed files with 7 additions and 128 deletions

View file

@ -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 <bsd.port.options.mk>
# 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 <bsd.port.mk>

View file

@ -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