2008-05-29 09:24:46 +00:00
|
|
|
# New ports collection makefile for: yzis
|
|
|
|
# Date created: Tue May 20 19:00:00 UTC 2008
|
2010-09-07 15:52:18 +00:00
|
|
|
# Whom: 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
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 8
|
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_COMB= multi
|
|
|
|
LICENSE= GPLv2 LGPL21
|
|
|
|
|
2008-05-29 09:24:46 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GETTEXT= 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
|
2009-04-30 13:09:41 +00:00
|
|
|
USE_QT_VER= 4
|
2009-05-24 14:36:36 +00:00
|
|
|
QT_COMPONENTS= qtestlib qmake_build rcc_build uic_build moc_build gui xml
|
2009-04-30 13:09:41 +00:00
|
|
|
USE_PERL5= yes
|
2008-05-29 09:24:46 +00:00
|
|
|
|
2009-04-30 13:09:41 +00:00
|
|
|
USE_CMAKE= yes
|
|
|
|
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
|
2008-05-29 09:24:46 +00:00
|
|
|
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
USE_LDCONFIG= yes
|
2009-04-30 13:09:41 +00:00
|
|
|
OPTIONS= KYZIS "Build Kyzis and Yzis kpart" off \
|
|
|
|
NYZIS "Build nyzis (ncurses frontend)" off
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_KYZIS)
|
|
|
|
USE_KDE4= kdehier kdeprefix kdelibs automoc4
|
2009-09-11 12:31:04 +00:00
|
|
|
QT_COMPONENTS+= phonon
|
2009-04-30 13:09:41 +00:00
|
|
|
.endif
|
2008-05-29 09:24:46 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-04-30 13:09:41 +00:00
|
|
|
.if defined(WITH_NYZIS)
|
|
|
|
CPPFLAGS+= -D_XOPEN_SOURCE_EXTENDED # ncurses/widec support
|
|
|
|
CMAKE_ARGS+= -DENABLE_NYZIS:BOOL=ON
|
|
|
|
PLIST_SUB+= PL_NYZIS=""
|
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DENABLE_NYZIS:BOOL=OFF
|
|
|
|
PLIST_SUB+= PL_NYZIS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_KYZIS)
|
|
|
|
CMAKE_ARGS+= -DENABLE_KYZIS:BOOL=ON \
|
|
|
|
-DENABLE_KPART_YZIS:BOOL=ON
|
|
|
|
PLIST_SUB+= PL_KYZIS=""
|
|
|
|
PLIST_SUB+= PL_QYZIS="@comment "
|
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DENABLE_KYZIS:BOOL=OFF \
|
|
|
|
-DENABLE_KPART_YZIS:BOOL=OFF
|
|
|
|
PLIST_SUB+= PL_KYZIS="@comment "
|
|
|
|
PLIST_SUB+= PL_QYZIS=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz \
|
|
|
|
doxygen:${PORTSDIR}/devel/doxygen
|
|
|
|
CMAKE_ARGS+= -DENABLE_DOCUMENTATION:BOOL=ON
|
2008-05-29 09:24:46 +00:00
|
|
|
.else
|
2009-04-30 13:09:41 +00:00
|
|
|
CMAKE_ARGS+= -DENABLE_DOCUMENTATION:BOOL=OFF
|
2008-05-29 09:24:46 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|