blob: 5e926f33ae57fdfaabb661b46b1288c6a9ee252f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# New ports collection makefile for: winefish
# Date created: 2005-09-09
# Whom: Nicola Vitale <nivit@email.it>
#
# $FreeBSD$
#
PORTNAME= winefish
DISTVERSION= 1.3.3
CATEGORIES= editors print
MASTER_SITES= http://download.berlios.de/winefish/ \
http://nivi.interfree.it/distfiles/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
MAN1= winefish.1
MANCOMPRESSED= no
GNU_CONFIGURE= yes
USE_GCC= 3.3+
USE_GMAKE= yes
USE_GNOME= libgnomeui desktopfileutils
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
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB= IFNLS=
# 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
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= IFNLS="@comment "
.endif
post-install:
-@update-desktop-database
.if defined(NOPORTDOCS)
${RM} ${DOCSDIR}/${PORTNAME}.html
${RMDIR} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|