From owner-svn-ports-all@FreeBSD.ORG Sat Jan 25 21:18:34 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E8E3FEE; Sat, 25 Jan 2014 21:18:34 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5A9AB1777; Sat, 25 Jan 2014 21:18:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0PLIYmc050688; Sat, 25 Jan 2014 21:18:34 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0PLIYKE050686; Sat, 25 Jan 2014 21:18:34 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401252118.s0PLIYKE050686@svn.freebsd.org> From: Baptiste Daroussin Date: Sat, 25 Jan 2014 21:18:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341107 - head/graphics/libgfx 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.17 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: Sat, 25 Jan 2014 21:18:34 -0000 Author: bapt Date: Sat Jan 25 21:18:33 2014 New Revision: 341107 URL: http://svnweb.freebsd.org/changeset/ports/341107 QAT: https://qat.redports.org/buildarchive/r341107/ Log: Support stage Modernize LIB_DEPENDS USE_GMAKE -> USES=gmake Modified: head/graphics/libgfx/Makefile Modified: head/graphics/libgfx/Makefile ============================================================================== --- head/graphics/libgfx/Makefile Sat Jan 25 21:15:01 2014 (r341106) +++ head/graphics/libgfx/Makefile Sat Jan 25 21:18:33 2014 (r341107) @@ -12,16 +12,16 @@ COMMENT= OpenGL/FLTK development LICENSE= MIT -LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk \ - tiff:${PORTSDIR}/graphics/tiff \ - png15:${PORTSDIR}/graphics/png \ - gzstream:${PORTSDIR}/devel/gzstream \ - jpeg:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk \ + libtiff.so:${PORTSDIR}/graphics/tiff \ + libpng15.so:${PORTSDIR}/graphics/png \ + libgzstream.so:${PORTSDIR}/devel/gzstream \ + libjpeg.so:${PORTSDIR}/graphics/jpeg BUILD_WRKSRC= ${WRKSRC}/src +USES= gmake USE_GL= glu -USE_GMAKE= yes USE_XORG= x11 xext xft xinerama GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gzstream --with-libtiff-lzw --with-x @@ -32,7 +32,6 @@ CFLAGS+= -fPIC CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ '/^CC /d ; \ @@ -45,8 +44,8 @@ post-patch: '/^FLTK_LIBS/s|"-lfltk"|"`fltk-config --ldflags`"|' ${WRKSRC}/configure do-install: - @(cd ${WRKSRC}/include/gfx && ${COPYTREE_SHARE} . ${PREFIX}/include/gfx) - ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}.so ${PREFIX}/lib - @${LN} -sf ${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}.so.0 + @(cd ${WRKSRC}/include/gfx && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/gfx) + ${INSTALL_LIB} ${WRKSRC}/src/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib + @${LN} -sf ${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0 .include