svn commit: r334592 - head/textproc/goldendict
Boris Samorodov
bsam at FreeBSD.org
Fri Nov 22 13:34:34 UTC 2013
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
More information about the svn-ports-all
mailing list