From owner-svn-ports-head@FreeBSD.ORG  Wed May 14 03:16:58 2014
Return-Path: <owner-svn-ports-head@FreeBSD.ORG>
Delivered-To: svn-ports-head@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 50F1E7DB;
 Wed, 14 May 2014 03:16:58 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3E32B2F4E;
 Wed, 14 May 2014 03:16:58 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4E3GwhN067185;
 Wed, 14 May 2014 03:16:58 GMT (envelope-from amdmi3@svn.freebsd.org)
Received: (from amdmi3@localhost)
 by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4E3GvX3067183;
 Wed, 14 May 2014 03:16:57 GMT (envelope-from amdmi3@svn.freebsd.org)
Message-Id: <201405140316.s4E3GvX3067183@svn.freebsd.org>
From: Dmitry Marakasov <amdmi3@FreeBSD.org>
Date: Wed, 14 May 2014 03:16:57 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r354017 - head/games/secretmaryochronicles
X-SVN-Group: ports-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-head@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: SVN commit messages for the ports tree for head
 <svn-ports-head.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-ports-head>,
 <mailto:svn-ports-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-head/>
List-Post: <mailto:svn-ports-head@freebsd.org>
List-Help: <mailto:svn-ports-head-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-ports-head>,
 <mailto:svn-ports-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 14 May 2014 03:16:58 -0000

Author: amdmi3
Date: Wed May 14 03:16:57 2014
New Revision: 354017
URL: http://svnweb.freebsd.org/changeset/ports/354017
QAT: https://qat.redports.org/buildarchive/r354017/

Log:
  - Update to 20140514 snapshot (development continues in github.com/Quintus/SMC)
  - Support staging
  - Add LICENSE
  - Switch to dynamic plist
  - Remain BROKEN: although the port compiles with cegui-0.8, it still doesn't run; I expect to unbreak it soon as cegui-0.8 support is finished upstream

Deleted:
  head/games/secretmaryochronicles/pkg-plist
Modified:
  head/games/secretmaryochronicles/Makefile
  head/games/secretmaryochronicles/distinfo

Modified: head/games/secretmaryochronicles/Makefile
==============================================================================
--- head/games/secretmaryochronicles/Makefile	Wed May 14 03:16:24 2014	(r354016)
+++ head/games/secretmaryochronicles/Makefile	Wed May 14 03:16:57 2014	(r354017)
@@ -2,59 +2,46 @@
 # $FreeBSD$
 
 PORTNAME=	secretmaryochronicles
-PORTVERSION=	1.10.git20120512
-PORTREVISION=	6
+PORTVERSION=	1.10.git20140514
 CATEGORIES=	games
 MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/
-#		SF/smclone/Secret%20Maryo%20Chronicles/${PORTVERSION}
+# it could use github.com/Quintus/SMC, but it needs to be packaged
+# by hand as it uses submodules
 DISTNAME=	smc-${PORTVERSION}
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Secret Maryo Chronicles two-dimensional platform game
 
-BROKEN=		Does not compile with graphics/cegui 0.8.3.
+BROKEN=		does not run, cegui 0.8 support still in development
+
+LICENSE=	GPLv3
 
 LIB_DEPENDS=	libCEGUIBase-0.so:${PORTSDIR}/graphics/cegui \
 		libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
-		libpng15.so:${PORTSDIR}/graphics/png
+		libpng15.so:${PORTSDIR}/graphics/png \
+		libpcre.so:${PORTSDIR}/devel/pcre \
+		libfreeimage.so:${PORTSDIR}/graphics/freeimage \
+		libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26
+BUILD_DEPENDS=	rake:${PORTSDIR}/devel/rubygem-rake \
+		bison:${PORTSDIR}/devel/bison
 
-USE_BZIP2=	yes
-USE_AUTOTOOLS=	aclocal:env autoheader:env autoconf:env automake:env
-GNU_CONFIGURE=	yes
+USES=		tar:bzip2 cmake:outsource gettext pkgconfig compiler:c++11-lib
 USE_SDL=	sdl image mixer ttf
-USE_GL=		gl glu
-USES=		gettext gmake pkgconfig
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-CXXFLAGS+=	-DBOOST_FILESYSTEM_VERSION=3
-LDFLAGS+=	-L${LOCALBASE}/lib
+USE_GL=		gl
 
 DATADIR=	${PREFIX}/share/smc
 
-WRKSRC=		${WRKDIR}/smc
+WRKSRC=		${WRKDIR}/SMC
 
-PORTDOCS=	controls.html history.html style.css
+CMAKE_SOURCE_PATH=${WRKSRC}/smc
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/smc
+PORTDATA=	*
+PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/autogen.sh
-
-run-autotools:
-	cd ${WRKSRC} && ${SH} ./autogen.sh
-	@${REINPLACE_CMD} -e '/^LIBS =/ s|$$|$$(INTLLIBS)|' \
-		${WRKSRC}/src/Makefile.in
-
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
-.  for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
-.  endfor
-.endif
+	cd ${WRKSRC}/smc/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/secretmaryochronicles/distinfo
==============================================================================
--- head/games/secretmaryochronicles/distinfo	Wed May 14 03:16:24 2014	(r354016)
+++ head/games/secretmaryochronicles/distinfo	Wed May 14 03:16:57 2014	(r354017)
@@ -1,2 +1,2 @@
-SHA256 (smc-1.10.git20120512.tar.bz2) = 7931a514803ed1106cfc309bc69ca5c61b2a763137d83db6df3659b4ceb903f8
-SIZE (smc-1.10.git20120512.tar.bz2) = 71501879
+SHA256 (smc-1.10.git20140514.tar.bz2) = bd5b4a80f30f5c302a26c25dd8ecd81d55160ea2ef6d7b5fda1f9c9996c3964f
+SIZE (smc-1.10.git20140514.tar.bz2) = 128534675