blob: 86196bd90ccde0f55c5f8054029c62d274a25eba (
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
72
73
74
75
76
77
78
79
80
81
82
|
# Created by: Koop Mast <einekoai@chello.nl>
# $FreeBSD$
PORTNAME= bluefish
PORTVERSION= 2.2.3
CATEGORIES= www editors
MASTER_SITES= http://www.bennewitz.com/bluefish/stable/source/ \
http://bluefish.mrball.net/stable/source/ \
SF
MAINTAINER= sylvio@FreeBSD.org
COMMENT= HTML editor designed for the experienced web designer
LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre \
enchant.1:${PORTSDIR}/textproc/enchant \
gucharmap.7:${PORTSDIR}/deskutils/gucharmap
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
USE_BZIP2= yes
USES= gmake pkgconfig
USE_GNOME= gnomeprefix gtk20 gnomevfs2 gnomemimedata desktopfileutils
WANT_GNOME= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-gtk2 \
--with-freedesktop_org-menu=${PREFIX}/share/applications \
--with-freedesktop_org-mime=${PREFIX}/share/mime \
--with-icon-path=${PREFIX}/share/pixmaps
MAN1= bluefish.1
OPTIONS_DEFINE= DEBUG TIDY WEBLINT
DEBUG_DESC= Enable debugging output
TIDY_DESC= Include Tidy HTML cleanup program
WEBLINT_DESC= Include Weblint syntax and style checker
OPTIONS_DEFAULT= WEBLINT
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+= --with-debugging-output
.endif
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MTIDY}
RUN_DEPENDS+= tidy4:${PORTSDIR}/www/tidy
.endif
.if ${PORT_OPTIONS:MWEBLINT}
RUN_DEPENDS+= weblint:${PORTSDIR}/www/weblint
.endif
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibgnomeui}!=""
USE_GNOME+= libgnomeui
.endif
pre-install:
@${MKDIR} ${PREFIX}/share/mime
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${DOCSDIR}/bflang
${INSTALL_DATA} ${WRKSRC}/data/bflang/sample.bflang2 ${DOCSDIR}/bflang
.endif
.include <bsd.port.post.mk>
|