Date: Fri, 22 Nov 2013 11:51:21 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334575 - head/textproc/goldendict Message-ID: <201311221151.rAMBpLnH062981@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311221151.rAMBpLnH062981>