1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/piklab/Makefile
Baptiste Daroussin 9f1de9b900 Convert USE_NCURSES by USES=ncurses
Convert USE_READLINE by USES=readline
2013-05-06 15:34:17 +00:00

57 lines
1.2 KiB
Makefile

# Created by: Michael Nottebrock <lofi@kiste>
# $FreeBSD$
PORTNAME= piklab
PORTVERSION= 0.16.2
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= KDE IDE for microcontroller development
LICENSE= GPLv2 # (or later)
OPTIONS_DEFINE= KDE4
OPTIONS_DEFAULT=KDE4
USE_BZIP2= yes
USE_DOS2UNIX= Piklab.cmake
USE_QT4= corelib gui qt3support qtestlib xml \
moc_build qmake_build rcc_build uic_build
USES= cmake gettext readline
MAKE_JOBS_SAFE= yes
MAN1= piklab-hex.1 piklab-prog.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MKDE4}
USE_KDE4= automoc4 kdehier kdelibs kdeprefix sharedmime
INSTALLS_ICONS= yes
MAN1+= piklab.1x
PLIST_SUB+= KDE4=""
.else
CMAKE_ARGS+= -DQT_ONLY:BOOL=ON \
-DLOCALE_INSTALL_DIR:STRING="${PREFIX}/share/locale"
PLIST_SUB+= KDE4="@comment "
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
post-patch:
@${REINPLACE_CMD} -e \
'/man/s|^|#| ; \
/install/s|^|#|' ${WRKSRC}/CMakeLists.txt
post-install:
${INSTALL_MAN} ${WRKSRC}/man/piklab-*.1 ${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MKDE4}
${INSTALL_MAN} ${WRKSRC}/man/piklab.1x ${MANPREFIX}/man/man1
.endif
.include <bsd.port.post.mk>