From owner-svn-ports-head@FreeBSD.ORG Fri Nov 22 11:51:21 2013 Return-Path: Delivered-To: svn-ports-head@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 D8812BA6; Fri, 22 Nov 2013 11:51:21 +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 C7FD52F2A; Fri, 22 Nov 2013 11:51:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAMBpL8q062982; Fri, 22 Nov 2013 11:51:21 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAMBpLnH062981; Fri, 22 Nov 2013 11:51:21 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201311221151.rAMBpLnH062981@svn.freebsd.org> From: Boris Samorodov Date: Fri, 22 Nov 2013 11:51:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334575 - 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-head@freebsd.org X-Mailman-Version: 2.1.16 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: Fri, 22 Nov 2013 11:51:21 -0000 Author: bsam Date: Fri Nov 22 11:51:21 2013 New Revision: 334575 URL: http://svnweb.freebsd.org/changeset/ports/334575 Log: . support STAGE; . remove desktop-file-utils from USES (no mime file types); . convert USE_DOS2UNIX -> USES=dos2unix; . get use INSTALLS_ICONS=yes; . use REINPLACE_CMD macro instaed of ${SED}. Modified: head/textproc/goldendict/Makefile Modified: head/textproc/goldendict/Makefile ============================================================================== --- head/textproc/goldendict/Makefile Fri Nov 22 11:43:19 2013 (r334574) +++ head/textproc/goldendict/Makefile Fri Nov 22 11:51:21 2013 (r334575) @@ -20,15 +20,16 @@ LIB_DEPENDS= libhunspell-1.3.so:${PORTSD USE_BZIP2= yes NO_WRKSUBDIR= yes HAS_CONFIGURE= yes -USES= desktop-file-utils pkgconfig -USE_DOS2UNIX= processwrapper.cc # is needed only to apply a patch to this file +USES= dos2unix pkgconfig +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} +INSTALLS_ICONS= yes -NO_STAGE= yes post-patch: - @${SED} -I.bak -e "s:/usr:${PREFIX}:" ${WRKSRC}/redist/goldendict.desktop + @${REINPLACE_CMD} 's:/usr:${PREFIX}:' ${WRKSRC}/redist/goldendict.desktop do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ @@ -36,7 +37,8 @@ do-configure: LIBS+=-L${LOCALBASE}/lib ${PORTNAME}.pro post-install: - @${MKDIR} ${DATADIR}/locale - ${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${DATADIR}/locale/ + @${MKDIR} ${STAGEDIR}${DATADIR}/locale + ${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include