1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/editors/yzis/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

72 lines
1.9 KiB
Makefile

# New ports collection makefile for: yzis
# Date created: Tue May 20 19:00:00 UTC 2008
# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
#
# $FreeBSD$
#
PORTNAME= yzis
PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://yzis.org.free.fr/releases/ \
http://contribs.martymac.com/FreeBSD-ports/distfiles/
DISTNAME= ${PORTNAME}-M3
MAINTAINER= ganael.laplanche@martymac.com
COMMENT= Vi-like editor
LIB_DEPENDS= audio:${PORTSDIR}/audio/nas \
expat:${PORTSDIR}/textproc/expat2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
jpeg:${PORTSDIR}/graphics/jpeg \
lcms:${PORTSDIR}/graphics/lcms \
mng:${PORTSDIR}/graphics/libmng \
png:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff \
ungif:${PORTSDIR}/graphics/libungif \
ps:${PORTSDIR}/print/pslib
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
doxygen:${PORTSDIR}/devel/doxygen
USE_BZIP2= yes
USE_FAM= yes
USE_FREETYPE= yes
USE_GETTEXT= yes
USE_ICONV= yes
USE_LUA= 5.0
LUA_COMPS= lua
USE_KDELIBS_VER= 3
USE_XORG= xrender xext sm ice x11 xau xdmcp xt xi \
xrandr xcursor xinerama xft xfixes
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
CPPFLAGS= -I${LOCALBASE}/include -I${LUA_INCDIR}
LDFLAGS= -L${LOCALBASE}/lib -L${LUA_LIBDIR}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
F77="${F77}" FFLAGS="${FFLAGS}"
CONFIGURE_ARGS= --with-lua-includes=${LUA_INCDIR} \
--with-lua-libraries=${LUA_LIBDIR}
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
OPTIONS= NCURSES "Build nyzis (ncurses frontend - buggy)" off
.include <bsd.port.pre.mk>
.if defined(WITH_NCURSES)
CONFIGURE_ARGS+= --enable-nyzis
PLIST_SUB+= PL_NCURSES=""
# Define_XOPEN_SOURCE_EXTENDED for ncurses/widec support
CPPFLAGS+= -D_XOPEN_SOURCE_EXTENDED
.else
CONFIGURE_ARGS+= --disable-nyzis
PLIST_SUB+= PL_NCURSES="@comment "
.endif
.include <bsd.port.post.mk>