Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 13:34:33 +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: r334592 - head/textproc/goldendict
Message-ID:  <201311221334.rAMDYXjb099092@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311221334.rAMDYXjb099092>