freebsd-ports/editors/winefish/Makefile

70 lines
1.6 KiB
Makefile
Raw Normal View History

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= winefish
DISTVERSION= 1.3.3
PORTREVISION= 13
CATEGORIES= editors print
MASTER_SITES= http://download.berlios.de/winefish/ \
http://nivi.interfree.it/distfiles/winefish/
EXTRACT_SUFX= .tgz
MAINTAINER= nivit@FreeBSD.org
COMMENT= A LaTeX editor based on BlueFish
LIB_DEPENDS= aspell.16:${PORTSDIR}/textproc/aspell \
pcre.3:${PORTSDIR}/devel/pcre
RUN_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos \
gv:${PORTSDIR}/print/gv \
tidy:${PORTSDIR}/www/tidy-lib \
xpdf:${PORTSDIR}/graphics/xpdf
MAN1= winefish.1
MANCOMPRESSED= no
CONFIGURE_ARGS+= --with-freedesktop_org-menu=${GNOME_LOCALSTATEDIR}/applications --with-icon-path=${GNOME_LOCALSTATEDIR}/pixmaps
GNU_CONFIGURE= yes
2013-09-06 14:12:00 +02:00
USES= gmake pkgconfig
USE_GNOME= libgnomeui desktopfileutils gnomehier
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
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCONTEXT}
CONFIGURE_ARGS+= --with-context
.endif
.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
post-install:
-@update-desktop-database
.if ! ${PORT_OPTIONS:MDOCS}
${RM} ${DOCSDIR}/${PORTNAME}.html
${RMDIR} ${DOCSDIR}
.endif
.include <bsd.port.mk>