2013-04-26 18:39:14 +02:00
|
|
|
# Created by: Nicola Vitale <nivit@email.it>
|
2005-09-11 14:46:24 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= winefish
|
2006-04-19 05:23:32 +02:00
|
|
|
DISTVERSION= 1.3.3
|
2012-12-10 20:11:11 +01:00
|
|
|
PORTREVISION= 13
|
2005-09-11 14:46:24 +02:00
|
|
|
CATEGORIES= editors print
|
2006-02-13 14:34:37 +01:00
|
|
|
MASTER_SITES= http://download.berlios.de/winefish/ \
|
|
|
|
http://nivi.interfree.it/distfiles/winefish/
|
2005-09-11 14:46:24 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2005-09-11 14:46:24 +02:00
|
|
|
COMMENT= A LaTeX editor based on BlueFish
|
|
|
|
|
|
|
|
LIB_DEPENDS= aspell.16:${PORTSDIR}/textproc/aspell \
|
2012-12-10 20:11:11 +01:00
|
|
|
pcre.3:${PORTSDIR}/devel/pcre
|
2005-09-11 14:46:24 +02:00
|
|
|
RUN_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos \
|
|
|
|
gv:${PORTSDIR}/print/gv \
|
2011-11-24 06:40:55 +01:00
|
|
|
tidy:${PORTSDIR}/www/tidy-lib \
|
2005-09-11 14:46:24 +02:00
|
|
|
xpdf:${PORTSDIR}/graphics/xpdf
|
|
|
|
|
2006-02-13 14:34:37 +01:00
|
|
|
MAN1= winefish.1
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
2006-12-15 20:42:32 +01:00
|
|
|
CONFIGURE_ARGS+= --with-freedesktop_org-menu=${GNOME_LOCALSTATEDIR}/applications --with-icon-path=${GNOME_LOCALSTATEDIR}/pixmaps
|
2005-09-11 14:46:24 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-06 14:12:00 +02:00
|
|
|
USES= gmake pkgconfig
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_GNOME= libgnomeui desktopfileutils gnomehier
|
2013-05-11 19:58:55 +02:00
|
|
|
USE_TEX= latex
|
2005-09-11 14:46:24 +02:00
|
|
|
|
2013-04-26 18:39:14 +02:00
|
|
|
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
|
2005-09-11 14:46:24 +02:00
|
|
|
|
2013-09-20 18:36:23 +02:00
|
|
|
NO_STAGE= yes
|
2013-04-26 18:39:14 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2005-09-11 14:46:24 +02:00
|
|
|
|
2013-04-26 18:39:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MCONTEXT}
|
2005-09-11 14:46:24 +02:00
|
|
|
CONFIGURE_ARGS+= --with-context
|
|
|
|
.endif
|
|
|
|
|
2013-04-26 18:39:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
USES+= gettext
|
2006-04-19 05:23:32 +02:00
|
|
|
PLIST_SUB= IFNLS=
|
2005-09-11 14:46:24 +02:00
|
|
|
# vietnamese support
|
2013-04-26 18:39:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MUNIKEY_GTK} && !${PORT_OPTIONS:MVNTEX}
|
|
|
|
PORT_OPTIONS+= VNTEX
|
2005-09-11 14:46:24 +02:00
|
|
|
.endif
|
|
|
|
|
2013-04-26 18:39:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MVNTEX}
|
2005-09-11 14:46:24 +02:00
|
|
|
CONFIGURE_ARGS+= --with-vntex
|
2013-04-26 18:39:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MUNIKEY_GTK}
|
2005-09-11 14:46:24 +02:00
|
|
|
CONFIGURE_ARGS+= --with-unikey-gtk
|
|
|
|
.endif
|
|
|
|
.endif
|
2006-04-19 05:23:32 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB= IFNLS="@comment "
|
|
|
|
.endif
|
2005-09-11 14:46:24 +02:00
|
|
|
|
2006-01-29 16:48:47 +01:00
|
|
|
post-install:
|
|
|
|
-@update-desktop-database
|
2013-04-26 18:39:14 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
2006-02-13 14:34:37 +01:00
|
|
|
${RM} ${DOCSDIR}/${PORTNAME}.html
|
|
|
|
${RMDIR} ${DOCSDIR}
|
|
|
|
.endif
|
2006-01-29 16:48:47 +01:00
|
|
|
|
2013-04-26 18:39:14 +02:00
|
|
|
.include <bsd.port.mk>
|