aboutsummaryrefslogtreecommitdiff
path: root/devel/universalindentgui/Makefile
blob: b188babaaa1f7a111a9820834aaea21f2f3f8a3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:	universalindentgui
# Date created:		2009-09-30
# Whom:			Andriy Gapon <avg@icyb.net.ua>
#
# $FreeBSD$
#

PORTNAME=	universalindentgui
PORTVERSION=	1.1.0
CATEGORIES=	devel
MASTER_SITES=	SF/universalindent/universalindent/UniversalIndentGUI_${PORTVERSION}

MAINTAINER=	avg@icyb.net.ua
COMMENT=	Graphical UI for multiple source code indent/format/beautify tools

LIB_DEPENDS=	qscintilla2.5:${PORTSDIR}/devel/qscintilla2

USE_QT_VER=	4
QT_COMPONENTS=	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}

post-patch:
	@${REINPLACE_CMD} -e 's#/usr/#${PREFIX}/#g' -e 's#/share/man/#/man/#g' \
		${WRKSRC}/UniversalIndentGUI.pro

do-configure:
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
		${QMAKE} ${QMAKE_ARGS}

post-install:
	@${ECHO_MSG}
	@${CAT} ${PKGMESSAGE}
	@${ECHO_MSG}

.include <bsd.port.mk>