From owner-svn-ports-all@FreeBSD.ORG Tue Oct 8 16:03:49 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 13080BE4; Tue, 8 Oct 2013 16:03:49 +0000 (UTC) (envelope-from makc@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 DADCD2D43; Tue, 8 Oct 2013 16:03:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r98G3mcS007231; Tue, 8 Oct 2013 16:03:48 GMT (envelope-from makc@svn.freebsd.org) Received: (from makc@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r98G3mLO007230; Tue, 8 Oct 2013 16:03:48 GMT (envelope-from makc@svn.freebsd.org) Message-Id: <201310081603.r98G3mLO007230@svn.freebsd.org> From: Max Brazhnikov Date: Tue, 8 Oct 2013 16:03:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329804 - head/editors/texmaker 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: Tue, 08 Oct 2013 16:03:49 -0000 Author: makc Date: Tue Oct 8 16:03:48 2013 New Revision: 329804 URL: http://svnweb.freebsd.org/changeset/ports/329804 Log: - Convert to USES=qmake - Allow staging - Use options helpers - Use new LIB_DEPENDS syntax Modified: head/editors/texmaker/Makefile Modified: head/editors/texmaker/Makefile ============================================================================== --- head/editors/texmaker/Makefile Tue Oct 8 16:03:13 2013 (r329803) +++ head/editors/texmaker/Makefile Tue Oct 8 16:03:48 2013 (r329804) @@ -10,46 +10,35 @@ MASTER_SITES= http://www.xm1math.net/tex MAINTAINER= makc@FreeBSD.org COMMENT= LaTeX Development Environment -LIB_DEPENDS= poppler:${PORTSDIR}/graphics/poppler \ - poppler-qt4:${PORTSDIR}/graphics/poppler-qt4 +LIB_DEPENDS= libpoppler.so:${PORTSDIR}/graphics/poppler \ + libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4 RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme +USES= qmake USE_BZIP2= yes USE_GHOSTSCRIPT=yes USE_QT4= gui network xml webkit \ moc_build qmake_build rcc_build uic_build USE_TEX= latex dvipsk -HAS_CONFIGURE= yes -QMAKE_ARGS= PREFIX=${PREFIX} ICONDIR=${PREFIX}/share/pixmaps \ +QMAKE_ARGS= ICONDIR=${PREFIX}/share/pixmaps \ DESKTOPDIR=${DESKTOPDIR} OPTIONS_DEFINE= GV XDVI + GV_DESC= View ps files with gv +GV_RUN_DEPENDS+= gv:${PORTSDIR}/print/gv + XDVI_DESC= View dvi files with xdvi +XDVI_RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik STRIP_FILES= bin/texmaker -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MXDVI} -RUN_DEPENDS+= xdvi:${PORTSDIR}/print/xdvik -.endif - -.if ${PORT_OPTIONS:MGV} -RUN_DEPENDS+= gv:${PORTSDIR}/print/gv -.endif - pre-configure: ${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,g' \ -e 's,/usr/lib,${LOCALBASE}/lib,g' \ ${WRKSRC}/texmaker.pro -do-configure: - @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ - ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} texmaker.pro - post-install: - ${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,} + ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,} .include