summaryrefslogtreecommitdiffstats
path: root/devel/piklab/Makefile
blob: 253ac1e66926764e2ce70c37414f1791acd888b6 (plain)
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
# Created by: Michael Nottebrock <lofi@kiste>
# $FreeBSD$

PORTNAME=	piklab
PORTVERSION=	0.16.2
PORTREVISION=	1
CATEGORIES=	devel kde
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	KDE/Qt IDE for microcontroller development

LICENSE=	GPLv2 # (or later)

USE_BZIP2=	yes
DOS2UNIX_FILES=	cmake/Piklab.cmake
USE_QT4=	corelib gui qt3support qtestlib xml \
		moc_build qmake_build rcc_build uic_build
USES=		cmake gettext readline dos2unix

OPTIONS_DEFINE=	KDE4
OPTIONS_DEFAULT=	KDE4
OPTIONS_SUB=	yes

KDE4_USES=	shared-mime-info
KDE4_USE=	KDE4=automoc4,kdehier,kdelibs,kdeprefix
KDE4_CMAKE_OFF=	-DQT_ONLY:BOOL=ON \
		-DLOCALE_INSTALL_DIR:STRING="${PREFIX}/share/locale"

BROKEN_sparc64=		does not compile on sparc64

post-patch:
	@${REINPLACE_CMD} -e \
		'/install/s|^|#|' ${WRKSRC}/CMakeLists.txt
	@${REINPLACE_CMD} -e \
		's,share/man,man,' ${WRKSRC}/man/CMakeLists.txt

.include <bsd.port.mk>
OpenPOWER on IntegriCloud