54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
|
# New ports collection makefile for: winefish
|
||
|
# Date created: 2005-09-09
|
||
|
# Whom: Nicola Vitale <nivit@email.it>
|
||
|
#
|
||
|
# $FreeBSD$
|
||
|
#
|
||
|
|
||
|
PORTNAME= winefish
|
||
|
DISTVERSION= 1.3.2-5
|
||
|
CATEGORIES= editors print
|
||
|
MASTER_SITES= http://download.berlios.de/winefish/
|
||
|
EXTRACT_SUFX= .tgz
|
||
|
|
||
|
MAINTAINER= nivit@email.it
|
||
|
COMMENT= A LaTeX editor based on BlueFish
|
||
|
|
||
|
LIB_DEPENDS= aspell.16:${PORTSDIR}/textproc/aspell \
|
||
|
pcre.0:${PORTSDIR}/devel/pcre
|
||
|
RUN_DEPENDS= dos2unix:${PORTSDIR}/converters/unix2dos \
|
||
|
gv:${PORTSDIR}/print/gv \
|
||
|
latex:${PORTSDIR}/print/teTeX \
|
||
|
tidy:${PORTSDIR}/www/tidy \
|
||
|
xpdf:${PORTSDIR}/graphics/xpdf
|
||
|
|
||
|
GNU_CONFIGURE= yes
|
||
|
USE_GCC= 3.3+
|
||
|
USE_GMAKE= yes
|
||
|
USE_GNOME= libgnomeui
|
||
|
USE_X_PREFIX= yes
|
||
|
|
||
|
OPTIONS= CONTEXT "Enable ConTexT support (Experimental)" off \
|
||
|
VNTEX "Vietnamese TeX user" off \
|
||
|
UNIKEY_GTK "Vietname Tex user with UnikeyGTK input method" off
|
||
|
|
||
|
.include <bsd.port.pre.mk>
|
||
|
|
||
|
.if defined (WITH_CONTEXT)
|
||
|
CONFIGURE_ARGS+= --with-context
|
||
|
.endif
|
||
|
|
||
|
# vietnamese support
|
||
|
.if defined (WITH_UNIKEY_GTK) && !defined (WITH_VNTEX)
|
||
|
WITH_VNTEX=true
|
||
|
.endif
|
||
|
|
||
|
.if defined (WITH_VNTEX)
|
||
|
CONFIGURE_ARGS+= --with-vntex
|
||
|
.if defined (WITH_UNIKEY_GTK)
|
||
|
CONFIGURE_ARGS+= --with-unikey-gtk
|
||
|
.endif
|
||
|
.endif
|
||
|
|
||
|
.include <bsd.port.post.mk>
|