=================================================================== RCS file: /cvs/ports/games/ufoai/Attic/Makefile,v retrieving revision 1.3 retrieving revision 1.15 diff -u -r1.3 -r1.15 --- ports/games/ufoai/Attic/Makefile 2009/06/18 21:32:53 1.3 +++ ports/games/ufoai/Attic/Makefile 2011/04/18 09:30:55 1.15 @@ -1,50 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2009/06/18 20:32:53 yason Exp $ +# $OpenBSD: Makefile,v 1.15 2011/04/18 09:30:55 yason Exp $ -COMMENT = squad-based tactical strategy game +SUBDIR = +SUBDIR += base +SUBDIR += data -DISTNAME = ufoai-2.2.1-source -PKGNAME = ufoai-2.2.1 +.include -CATEGORIES = games x11 - -HOMEPAGE = http://ufoai.sourceforge.net/ - -MAINTAINER = Kirill Bychkov - -# GPLv2 -PERMIT_PACKAGE_CDROM = Yes -PERMIT_PACKAGE_FTP = Yes -PERMIT_DISTFILES_CDROM =Yes -PERMIT_DISTFILES_FTP = Yes - -WANTLIB = c curses iconv intl m pthread z - -MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ufoai/} -EXTRACT_SUFX = .tar.bz2 - -LIB_DEPENDS = SDL::devel/sdl \ - SDL_mixer::devel/sdl-mixer \ - SDL_ttf::devel/sdl-ttf \ - jpeg::graphics/jpeg \ - png::graphics/png \ - curl::net/curl - -USE_X11 = Yes -USE_GMAKE = Yes -CONFIGURE_STYLE = gnu -CONFIGURE_ARGS += --enable-release=yes \ - --datadir=${PREFIX}/share/ufoai -CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -liconv -pthread" - -post-build: - cd ${WRKSRC} && gmake lang - -do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/ufoai/base -.for i in ufo ufo2map ufoded - ${INSTALL_PROGRAM} ${WRKSRC}/$i ${PREFIX}/share/ufoai/ -.endfor - ${INSTALL_DATA} ${WRKSRC}/base/game.so ${PREFIX}/share/ufoai/base - -.include