blob: 2f238242c9d12bc248e72ae0f46739cf8adb840e (
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
|
# Created by: Koop Mast <einekoai@chello.nl>
# $FreeBSD$
PORTNAME= bluefish
PORTVERSION= 2.2.7
CATEGORIES= www editors
MASTER_SITES= http://www.bennewitz.com/bluefish/stable/source/ \
http://bluefish.mrball.net/stable/source/ \
SF
MAINTAINER= ports@FreeBSD.org
COMMENT= HTML editor designed for the experienced web designer
LICENSE= GPLv2
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
libenchant.so:${PORTSDIR}/textproc/enchant
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
USES= gmake pkgconfig desktop-file-utils shared-mime-info \
tar:bzip2 libtool
USE_GNOME= gnomeprefix gtk20 gnomevfs2 gnomemimedata
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
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DEBUG NLS TIDY WEBLINT EXAMPLES
DEBUG_DESC= Enable debugging output
TIDY_DESC= Include Tidy HTML cleanup program
WEBLINT_DESC= Include Weblint syntax and style checker
OPTIONS_DEFAULT=WEBLINT
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
DEBUG_CONFIGURE_ON= --with-debugging-output
LIBGNOME_USE= GNOME=libgnomeui
TIDY_RUN_DEPENDS= tidy4:${PORTSDIR}/www/tidy
WEBLINT_RUN_DEPENDS= weblint:${PORTSDIR}/www/weblint
post-patch:
@${REINPLACE_CMD} -e '/^bflangsampledir = /s|$$(docdir)/bflang|${EXAMPLESDIR}|' \
${WRKSRC}/data/bflang/Makefile.in
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime
.include <bsd.port.mk>
|