From owner-svn-ports-all@FreeBSD.ORG Thu Oct 17 23:51:13 2013 Return-Path: Delivered-To: svn-ports-all@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 ESMTP id 2155FA1C; Thu, 17 Oct 2013 23:51:13 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0E04F2B98; Thu, 17 Oct 2013 23:51:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9HNpCnK031824; Thu, 17 Oct 2013 23:51:12 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9HNpCcH031822; Thu, 17 Oct 2013 23:51:12 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201310172351.r9HNpCcH031822@svn.freebsd.org> From: Dmitry Marakasov Date: Thu, 17 Oct 2013 23:51:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330689 - head/devel/sdl_sge X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 23:51:13 -0000 Author: amdmi3 Date: Thu Oct 17 23:51:12 2013 New Revision: 330689 URL: http://svnweb.freebsd.org/changeset/ports/330689 Log: - Support staging - Convert USE_GMAKE to USES - Use new LIB_DEPENDS syntax Modified: head/devel/sdl_sge/Makefile head/devel/sdl_sge/pkg-plist Modified: head/devel/sdl_sge/Makefile ============================================================================== --- head/devel/sdl_sge/Makefile Thu Oct 17 23:51:02 2013 (r330688) +++ head/devel/sdl_sge/Makefile Thu Oct 17 23:51:12 2013 (r330689) @@ -15,19 +15,21 @@ COMMENT= A graphic library for the Simpl LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual -OPTIONS_DEFINE= SDL FREETYPE DOCS EXAMPLES -OPTIONS_DEFAULT= SDL FREETYPE -SDL_dESC= Enable support for SDL_image - +USES= gmake USE_SDL= sdl -USE_GMAKE= yes USE_LDCONFIG= yes -NO_STAGE= yes +PORTDOCS= * +PORTEXAMPLES= * + +OPTIONS_DEFINE= SDL FREETYPE DOCS EXAMPLES +OPTIONS_DEFAULT=SDL FREETYPE DOCS EXAMPLES +SDL_DESC= Enable support for SDL_image + .include .if ${PORT_OPTIONS:MFREETYPE} -LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 +LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2 MAKE_ARGS+= USE_FT=y .else MAKE_ARGS+= USE_FT=n @@ -42,18 +44,14 @@ MAKE_ARGS+= USE_IMG=n post-patch: @${REINPLACE_CMD} -e \ - 's|PREFIX =PREFIX|PREFIX =${PREFIX}|g ; \ - s|PREFIX_H =PREFIX_H|PREFIX_H =${PREFIX}/include/SDL|g ; \ + 's|PREFIX =PREFIX|PREFIX =${STAGEDIR}${PREFIX}|g ; \ + s|PREFIX_H =PREFIX_H|PREFIX_H =${STAGEDIR}${PREFIX}/include/SDL|g ; \ s|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/Makefile.conf post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/devel/sdl_sge/pkg-plist ============================================================================== --- head/devel/sdl_sge/pkg-plist Thu Oct 17 23:51:02 2013 (r330688) +++ head/devel/sdl_sge/pkg-plist Thu Oct 17 23:51:12 2013 (r330689) @@ -15,50 +15,4 @@ lib/libSGE.a lib/libSGE.so lib/libSGE.so.0 lib/libSGE.so.0.030809 -%%PORTDOCS%%%%DOCSDIR%%/blib.html -%%PORTDOCS%%%%DOCSDIR%%/bmf.html -%%PORTDOCS%%%%DOCSDIR%%/collision.html -%%PORTDOCS%%%%DOCSDIR%%/color.html -%%PORTDOCS%%%%DOCSDIR%%/figures.html -%%PORTDOCS%%%%DOCSDIR%%/guide.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/intro.html -%%PORTDOCS%%%%DOCSDIR%%/macros.html -%%PORTDOCS%%%%DOCSDIR%%/misc.html -%%PORTDOCS%%%%DOCSDIR%%/pixels.html -%%PORTDOCS%%%%DOCSDIR%%/rotate.html -%%PORTDOCS%%%%DOCSDIR%%/shape.html -%%PORTDOCS%%%%DOCSDIR%%/surface.html -%%PORTDOCS%%%%DOCSDIR%%/text_classes.html -%%PORTDOCS%%%%DOCSDIR%%/thanks.html -%%PORTDOCS%%%%DOCSDIR%%/toc.html -%%PORTDOCS%%%%DOCSDIR%%/ttf-input.html -%%PORTDOCS%%%%DOCSDIR%%/ttf-output.html -%%PORTDOCS%%%%DOCSDIR%%/ttf.html -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alpha.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basics.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basics_c.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bitmapfont.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/blib.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/blitting.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/collision.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fire.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/font.bmp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/font.ttf -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/input.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/inputdeluxe.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/poly.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rotate.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sfont.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sfont.png -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smiley.bmp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/speedtest.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sprite.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sprite2.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttf_readme -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tux.bmp -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry include/SDL