From owner-svn-ports-all@FreeBSD.ORG Fri Nov 22 13:34:34 2013 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 190FC1C7; Fri, 22 Nov 2013 13:34: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 0905324E0; Fri, 22 Nov 2013 13:34: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 rAMDYX5B099093; Fri, 22 Nov 2013 13:34:33 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAMDYXjb099092; Fri, 22 Nov 2013 13:34:33 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201311221334.rAMDYXjb099092@svn.freebsd.org> From: Boris Samorodov Date: Fri, 22 Nov 2013 13:34:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334592 - head/textproc/goldendict 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.16 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: Fri, 22 Nov 2013 13:34:34 -0000 Author: bsam Date: Fri Nov 22 13:34:33 2013 New Revision: 334592 URL: http://svnweb.freebsd.org/changeset/ports/334592 Log: Adopt using qmake. Requested by: makc Modified: head/textproc/goldendict/Makefile Modified: head/textproc/goldendict/Makefile ============================================================================== --- head/textproc/goldendict/Makefile Fri Nov 22 13:18:12 2013 (r334591) +++ head/textproc/goldendict/Makefile Fri Nov 22 13:34:33 2013 (r334592) @@ -20,22 +20,16 @@ LIB_DEPENDS= libhunspell-1.3.so:${PORTSD USE_BZIP2= yes NO_WRKSUBDIR= yes HAS_CONFIGURE= yes -USES= dos2unix pkgconfig +USES= dos2unix pkgconfig qmake DOS2UNIX_FILES= processwrapper.cc USE_XORG= xtst USE_QT4= corelib gui webkit phonon \ - qmake_build linguist_build moc_build rcc_build script_build uic_build -MAKE_ENV+= INSTALL_ROOT=${STAGEDIR} + linguist_build moc_build rcc_build script_build uic_build INSTALLS_ICONS= yes post-patch: @${REINPLACE_CMD} 's:/usr:${PREFIX}:' ${WRKSRC}/redist/goldendict.desktop -do-configure: - @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ - ${QMAKE} -unix PREFIX=${PREFIX} INCLUDEPATH+=${LOCALBASE}/include \ - LIBS+=-L${LOCALBASE}/lib ${PORTNAME}.pro - post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/locale ${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale