# $OpenBSD$ COMMENT = cross-platform real-time strategy game engine V = 2.2.6 DISTNAME = stratagus_${V}.orig PKGNAME = stratagus-${V} CATEGORIES = games x11 HOMEPAGE = http://stratagus.sourceforge.net/ MAINTAINER = Ryan Freeman # GPLv2 PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes WANTLIB = X11 c m pthread stdc++ z ogg BUILD_DEPENDS = archivers/bzip2 LIB_DEPENDS = devel/sdl \ lang/lua \ audio/libvorbis \ audio/libmikmod \ graphics/png #MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=stratagus/} MASTER_SITES = https://launchpad.net/stratagus/trunk/2.2.6/+download/ #USE_X11 = Yes #USE_GMAKE = Yes MODULES = devel/cmake #CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include/libpng" \ # CFLAGS+="-I${LOCALBASE}/include" \ # CPPFLAGS="-I${LOCALBASE}/include/libpng" \ # CPPFLAGS+="-I${LOCALBASE}/include" \ # LDFLAGS="-L${LOCALBASE}/lib -lm" #CONFIGURE_STYLE = cmake #post-extract: # @mv ${WRKDIR}/${PKGNAME} ${WRKDIR}/${DISTNAME} # @perl -MExtUtils::Command -e dos2unix ${WRKSRC} # chmod 0755 ${WRKSRC}/configure #post-install: # ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ # ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stratagus/ # ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stratagus/scripts/ #.for i in doc/ChangeLog.html doc/development.html doc/faq.html \ # doc/gpl.html doc/guichan-copyright.txt doc/index.html \ # doc/install.html doc/media.html doc/metaserver_protocol.txt \ # doc/graphics/*.png doc/graphics/*.* \ # doc/scripts/*.html doc/scripts/*.py README # ${INSTALL_DATA} ${WRKBUILD}/$i ${PREFIX}/share/doc/stratagus/ #.endfor .include