=================================================================== RCS file: /cvs/ports/games/violetland/Makefile,v retrieving revision 1.2 retrieving revision 1.5 diff -u -r1.2 -r1.5 --- ports/games/violetland/Makefile 2011/05/10 14:31:41 1.2 +++ ports/games/violetland/Makefile 2011/06/26 19:11:14 1.5 @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2011/05/10 14:31:41 yason Exp $ +# $OpenBSD: Makefile,v 1.5 2011/06/26 19:11:14 yason Exp $ -COMMENT = ??? +COMMENT = game similar to Crimsonland -DISTNAME = violetland-v0.3.2-src -PKGNAME = violetland-0.3.2 +DISTNAME = violetland-v0.4.2-src +PKGNAME = violetland-0.4.2 CATEGORIES = games @@ -18,21 +18,29 @@ PERMIT_DISTFILES_FTP = Yes WANTLIB += GL GLU ICE SDL SDL_image SDL_mixer SDL_ttf SM X11 Xext -WANTLIB += c m pthread stdc++ +WANTLIB += boost_filesystem-mt boost_system-mt c intl m pthread stdc++ MASTER_SITES = http://violetland.googlecode.com/files/ EXTRACT_SUFX = .zip MODULES = devel/cmake -LIB_DEPENDS = devel/sdl-image \ +LIB_DEPENDS = devel/boost \ + devel/gettext \ + devel/sdl-image \ devel/sdl-mixer \ - devel/sdl-ttf \ - textproc/intltool - + devel/sdl-ttf +RUN_DEPENDS = devel/desktop-file-utils + +CONFIGURE_ARGS += -DDATA_INSTALL_DIR="${PREFIX}/share/violetland" + SEPARATE_BUILD = concurrent NO_REGRESS = Yes WRKDIST = ${WRKDIR}/${DISTNAME:S/-src//} + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/violetland.desktop ${PREFIX}/share/applications .include