Try to prepare freebsd port for 0.9.2. Not finished yet.
authorunc0rr
Wed, 30 Jan 2008 18:41:01 +0000
changeset 778 4b83b38066c8
parent 777 86177328b094
child 779 cb18225a150a
Try to prepare freebsd port for 0.9.2. Not finished yet.
misc/fbsd-port/Makefile
misc/fbsd-port/distinfo
misc/fbsd-port/pkg-descr
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/fbsd-port/Makefile	Wed Jan 30 18:41:01 2008 +0000
@@ -0,0 +1,40 @@
+# Ports collection makefile for:  hedgewars
+# Date created:			  30 January 2008
+# Whom:				  Andrey Korotaev <unC0Rr@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	hedgewars
+PORTVERSION=	0.9.2
+PORTREVISION=	1
+CATEGORIES=	games
+MASTER_SITES=	http://www.hedgewars.org/download/
+DISTNAME=	${PORTNAME}-src-${PORTVERSION}
+
+MAINTAINER=	unC0Rr@gmail.com
+COMMENT=	Turn-based Worms-like strategy game
+
+USE_BZIP2=	yes
+USE_SDL=	sdl image ttf mixer net
+USE_QT_VER=	4
+QT_COMPONENTS=	gui corelib network xml svg moc_build rcc_build
+
+BUILD_DEPENDS+=	fpc:${PORTSDIR}/lang/fpc \
+		${CMAKE}:${PORTSDIR}/devel/cmake
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+PLIST_FILES=	bin/hedgewars bin/hwengine
+
+HAS_CONFIGURE=	yes
+
+CMAKE?=		${LOCALBASE}/bin/cmake
+CMAKE_ARGS=	-DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
+		-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
+		-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}"
+
+do-configure:
+	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} .
+
+.include <bsd.port.mk>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/fbsd-port/distinfo	Wed Jan 30 18:41:01 2008 +0000
@@ -0,0 +1,3 @@
+MD5 (hedgewars-src-0.9.2.tar.bz2) = 5df47ec046bca92e48c1100eec7a7745
+SHA256 (hedgewars-src-0.9.2.tar.bz2) = a9a13e36ebeded37e3ad1b7c757d73ac4de13d6bf739ca33784a674f0ae90b7a
+SIZE (hedgewars-src-0.9.2.tar.bz2) = 4909748
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/fbsd-port/pkg-descr	Wed Jan 30 18:41:01 2008 +0000
@@ -0,0 +1,3 @@
+ 
+
+WWW: http://www.hedgewars.org/