Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2013 16:52:43 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334683 - head/devel/universalindentgui
Message-ID:  <201311231652.rANGqhDh078802@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Sat Nov 23 16:52:43 2013
New Revision: 334683
URL: http://svnweb.freebsd.org/changeset/ports/334683

Log:
  - Convert to USES=qmake
  - Adjust USE_QT4 components
  - Add state support
  - Convert LIB_DEPENDS to new style
  
  Approved by:	portmgr (blanket approval)

Modified:
  head/devel/universalindentgui/Makefile
  head/devel/universalindentgui/pkg-plist   (contents, props changed)

Modified: head/devel/universalindentgui/Makefile
==============================================================================
--- head/devel/universalindentgui/Makefile	Sat Nov 23 16:52:29 2013	(r334682)
+++ head/devel/universalindentgui/Makefile	Sat Nov 23 16:52:43 2013	(r334683)
@@ -9,36 +9,18 @@ MASTER_SITES=	SF/universalindent/uigui/U
 MAINTAINER=	avg@icyb.net.ua
 COMMENT=	Graphical UI for multiple source code indent/format/beautify tools
 
-LIB_DEPENDS=	qscintilla2:${PORTSDIR}/devel/qscintilla2
+LIB_DEPENDS=	libqscintilla2.so:${PORTSDIR}/devel/qscintilla2
 
-USE_DOS2UNIX=	yes
-USE_QT4=	qmake_build moc_build uic_build rcc_build \
-		linguist network script gui
-HAS_CONFIGURE=	yes
-
-MAN1=		universalindentgui.1
-MANCOMPRESSED=	yes
-
-QMAKE_ARGS=	-unix PREFIX=${PREFIX}
+USES=		dos2unix qmake
+USE_QT4=	moc_build uic_build rcc_build \
+		linguist_build network script gui
 
 DESKTOP_ENTRIES="UniversalIndentGUI" "${COMMENT}" "" "${PORTNAME}" "" true
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's#/usr/#${PREFIX}/#g' -e 's#/share/man/#/man/#g' \
 		${WRKSRC}/UniversalIndentGUI.pro ${WRKSRC}/src/SettingsPaths.cpp
-
-do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
-		${QMAKE} ${QMAKE_ARGS}
-
-post-configure:
-	@${REINPLACE_CMD} 's|-pipe -O2|${CFLAGS}|' ${WRKSRC}/Makefile.Release
-	@${REINPLACE_CMD} 's|-pipe -g|${CFLAGS}|' ${WRKSRC}/Makefile.Debug
-
-post-install:
-	@${ECHO_MSG}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_MSG}
+	@${REINPLACE_CMD} -e 's#debug_and_release#release#g' \
+		${WRKSRC}/UniversalIndentGUI.pro
 
 .include <bsd.port.mk>

Modified: head/devel/universalindentgui/pkg-plist
==============================================================================
--- head/devel/universalindentgui/pkg-plist	Sat Nov 23 16:52:29 2013	(r334682)
+++ head/devel/universalindentgui/pkg-plist	Sat Nov 23 16:52:43 2013	(r334683)
@@ -1,4 +1,5 @@
 bin/universalindentgui
+man/man1/universalindentgui.1.gz
 share/universalindentgui/config/UiGuiSyntaxHighlightConfig.ini
 share/universalindentgui/indenters/JsDecoder.js
 share/universalindentgui/indenters/example.cbl



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