2013-03-28 12:13:32 +00:00
|
|
|
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
|
2008-05-29 09:24:46 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= yzis
|
2009-04-30 13:09:41 +00:00
|
|
|
PORTVERSION= 1.0.a.1
|
2014-03-14 20:59:20 +00:00
|
|
|
PORTREVISION= 11
|
2008-05-29 09:24:46 +00:00
|
|
|
CATEGORIES= editors
|
2009-04-30 13:09:41 +00:00
|
|
|
MASTER_SITES= http://labs.freehackers.org/attachments/download/45/ \
|
2010-09-07 15:52:18 +00:00
|
|
|
http://contribs.martymac.org/FreeBSD-ports/distfiles/
|
2009-04-30 13:09:41 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a.1/-alpha1/}
|
2008-05-29 09:24:46 +00:00
|
|
|
|
2010-09-27 12:08:23 +00:00
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
2008-05-29 09:24:46 +00:00
|
|
|
COMMENT= Vi-like editor
|
|
|
|
|
2010-11-17 09:38:01 +00:00
|
|
|
LICENSE= GPLv2 LGPL21
|
2012-06-11 07:16:05 +00:00
|
|
|
LICENSE_COMB= multi
|
2010-11-17 09:38:01 +00:00
|
|
|
|
2014-03-14 20:59:20 +00:00
|
|
|
USES= cmake gettext perl5
|
2008-05-29 09:24:46 +00:00
|
|
|
USE_BZIP2= yes
|
2009-04-30 13:09:41 +00:00
|
|
|
USE_XORG= x11 xext ice
|
|
|
|
USE_LUA= 5.1
|
2008-05-29 09:24:46 +00:00
|
|
|
LUA_COMPS= lua
|
2012-06-06 06:44:37 +00:00
|
|
|
USE_QT4= qtestlib qmake_build rcc_build uic_build moc_build gui xml
|
2009-04-30 13:09:41 +00:00
|
|
|
CMAKE_ARGS+= -DLOCALBASE:STRING="${LOCALBASE}" \
|
2009-06-08 11:58:16 +00:00
|
|
|
-DLUA_INCDIR:STRING="${LUA_INCDIR}" \
|
|
|
|
-DLUA_LIBDIR:STRING="${LUA_LIBDIR}" \
|
2009-04-30 13:09:41 +00:00
|
|
|
-DENABLE_QYZIS:BOOL=ON \
|
|
|
|
-DENABLE_LIBYZISRUNNER:BOOL=OFF \
|
|
|
|
-DENABLE_TESTS:BOOL=OFF
|
2013-12-03 14:08:04 +00:00
|
|
|
USE_GCC= any
|
2008-05-29 09:24:46 +00:00
|
|
|
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
USE_LDCONFIG= yes
|
2012-06-11 07:16:05 +00:00
|
|
|
|
2013-12-03 14:08:04 +00:00
|
|
|
OPTIONS_DEFINE= KYZIS NYZIS DOCS
|
|
|
|
OPTIONS_SUB= yes
|
2012-06-11 07:16:05 +00:00
|
|
|
KYZIS_DESC= Build kyzis and Yzis kpart
|
2013-12-03 14:08:04 +00:00
|
|
|
KYZIS_USE= KDE4=kdehier,kdeprefix,kdelibs,automoc4 QT4=phonon
|
|
|
|
KYZIS_CMAKE_ON= -DENABLE_KYZIS:BOOL=ON -DENABLE_KPART_YZIS:BOOL=ON
|
|
|
|
KYZIS_CMAKE_OFF= -DENABLE_KYZIS:BOOL=OFF -DENABLE_KPART_YZIS:BOOL=OFF
|
2012-06-11 07:16:05 +00:00
|
|
|
NYZIS_DESC= Build nyzis (ncurses frontend)
|
2013-12-03 14:08:04 +00:00
|
|
|
NYZIS_CPPFLAGS= -D_XOPEN_SOURCE_EXTENDED
|
|
|
|
NYZIS_CMAKE_ON= -DENABLE_NYZIS:BOOL=ON
|
|
|
|
NYZIS_CMAKE_OFF= -DENABLE_NYZIS:BOOL=OFF
|
|
|
|
DOCS_BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
|
|
|
|
doxygen:${PORTSDIR}/devel/doxygen
|
|
|
|
DOCS_CMAKE_ON= -DENABLE_DOCUMENTATION:BOOL=ON
|
|
|
|
DOCS_CMAKE_OFF= -DENABLE_DOCUMENTATION:BOOL=OFF
|
2009-04-30 13:09:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-06-11 07:16:05 +00:00
|
|
|
.if ${PORT_OPTIONS:MKYZIS}
|
2013-12-03 14:08:04 +00:00
|
|
|
PLIST_SUB+= QYZIS="@comment "
|
2008-05-29 09:24:46 +00:00
|
|
|
.else
|
2013-12-03 14:08:04 +00:00
|
|
|
PLIST_SUB+= QYZIS=""
|
2008-05-29 09:24:46 +00:00
|
|
|
.endif
|
|
|
|
|
2013-12-03 14:08:04 +00:00
|
|
|
.include <bsd.port.mk>
|