From owner-svn-ports-head@FreeBSD.ORG Thu Aug 21 09:36:18 2014 Return-Path: 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 71B6628E; Thu, 21 Aug 2014 09:36:18 +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 5302F3DCB; Thu, 21 Aug 2014 09:36:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7L9aIdH063942; Thu, 21 Aug 2014 09:36:18 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7L9aIgh063941; Thu, 21 Aug 2014 09:36:18 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201408210936.s7L9aIgh063941@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Thu, 21 Aug 2014 09:36:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365538 - head/games/adonthell 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-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2014 09:36:18 -0000 Author: marino Date: Thu Aug 21 09:36:17 2014 New Revision: 365538 URL: http://svnweb.freebsd.org/changeset/ports/365538 QAT: https://qat.redports.org/buildarchive/r365538/ Log: Stage games/adonthell and unbreak on FreeBSD 10+ PR: 192793 Submitted by: Ports Fury Modified: head/games/adonthell/Makefile Modified: head/games/adonthell/Makefile ============================================================================== --- head/games/adonthell/Makefile Thu Aug 21 09:05:29 2014 (r365537) +++ head/games/adonthell/Makefile Thu Aug 21 09:36:17 2014 (r365538) @@ -4,7 +4,7 @@ PORTNAME= adonthell PORTVERSION= 0.3.5 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= SAVANNAH DISTFILES= ${PORTNAME}-src-${PORTVERSION}${EXTRACT_SUFX} \ @@ -19,42 +19,43 @@ LICENSE_DISTFILES= ${DISTFILES} LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \ libfreetype.so:${PORTSDIR}/print/freetype2 +USES= gettext gmake python USE_SDL= mixer ttf sdl -USE_PYTHON= yes -USES= gettext gmake +USE_GCC= any GNU_CONFIGURE= yes CONFIGURE_ENV= PYPACKAGE="${PYTHON_CMD}" ac_cv_path_P_SWIG=no CONFIGURE_ARGS= --disable-py-debug -PLIST_SUB= VERSION="${PORTVERSION:R}" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +PLIST_SUB= VERSION="${PORTVERSION:R}" -WEDGE_VERSION= 0.3.5 +BROKEN_sparc64= Does not build on sparc64 -NO_STAGE= yes -.include +DESKTOP_ENTRIES="Adonthell" "" "" "adonthell" "" "" -.if ${ARCH} == "sparc64" -BROKEN= Does not build on sparc64 -.endif +WEDGE_VERSION= 0.3.5 post-patch: @cd ${WRKSRC} && ${REINPLACE_CMD} -e \ 's|-g -Wall|$$CFLAGS -Wall|g ; \ - s|-lpthread|${PTHREAD_LIBS}|g' configure + s|-lpthread|-pthread|g' configure + @cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \ + 's|@adonthell_binary@|${PREFIX}/bin/adonthell|' Makefile.in @cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \ - 's/test $$adonthell_major_ver -eq 0 .*/true ;/' configure + 's|test $$adonthell_major_ver -eq 0 .*|true ;|' configure @cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \ - 's/^[[:space:]]*_//' scripts/modules/player_text.py + 's|^[[:space:]]*_||' scripts/modules/player_text.py post-install: cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} \ && ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} \ - --with-adonthell-binary=${PREFIX}/bin/${PORTNAME} \ + --with-adonthell-binary=${STAGEDIR}${PREFIX}/bin/adonthell \ ${CONFIGURE_TARGET} - cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${MAKE_CMD} - cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${MAKE_CMD} install + cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${SETENV} HOME=${WRKDIR} \ + ${MAKE_CMD} + cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${SETENV} HOME=${WRKDIR} \ + ${MAKE_CMD} ${MAKE_ARGS} ${INSTALL_TARGET} -.include +.include