1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Support staging

- Use new LIB_DEPENDS syntax
This commit is contained in:
Dmitry Marakasov 2013-10-19 02:57:23 +00:00
parent 57be1d7c95
commit 75990fc5dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330837
2 changed files with 10 additions and 140 deletions

View File

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

View File

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