freebsd-ports/editors/winefish/Makefile

58 lines
1.4 KiB
Makefile
Raw Normal View History

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= winefish
DISTVERSION= 1.3.3
2014-12-21 01:07:32 +01:00
PORTREVISION= 15
CATEGORIES= editors print
2015-03-30 22:55:29 +02:00
MASTER_SITES= SF/winefish.berlios
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= LaTeX editor based on BlueFish
2014-08-13 10:37:19 +02:00
LICENSE= GPLv2
LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell \
libpcre.so:${PORTSDIR}/devel/pcre
RUN_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos \
gv:${PORTSDIR}/print/gv \
tidy:${PORTSDIR}/www/tidy-lib \
xpdf:${PORTSDIR}/graphics/xpdf
2014-09-19 23:37:56 +02:00
CONFIGURE_ARGS= --with-freedesktop_org-menu=${GNOME_LOCALSTATEDIR}/applications \
--with-icon-path=${GNOME_LOCALSTATEDIR}/pixmaps --disable-update-databases
GNU_CONFIGURE= yes
2014-08-13 10:37:19 +02:00
USES= gmake pkgconfig desktop-file-utils shared-mime-info
2014-12-21 01:07:32 +01:00
USE_GNOME= libgnomeui
USE_TEX= latex
OPTIONS_DEFINE= CONTEXT VNTEX UNIKEY_GTK NLS DOCS
CONTEXT_DESC= ConTexT support (Experimental)
VNTEX_DESC= Vietnamese TeX user
UNIKEY_GTK_DESC= Vietname Tex user with UnikeyGTK input method
2014-08-13 10:37:19 +02:00
CONTEXT_CONFIGURE_WITH= context
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB= IFNLS=
# vietnamese support
.if ${PORT_OPTIONS:MUNIKEY_GTK} && !${PORT_OPTIONS:MVNTEX}
PORT_OPTIONS+= VNTEX
.endif
.if ${PORT_OPTIONS:MVNTEX}
CONFIGURE_ARGS+= --with-vntex
.if ${PORT_OPTIONS:MUNIKEY_GTK}
CONFIGURE_ARGS+= --with-unikey-gtk
.endif
.endif
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= IFNLS="@comment "
.endif
.include <bsd.port.mk>