summaryrefslogtreecommitdiffstats
path: root/www/bluefish/Makefile
blob: 1563b2a694a13ce5dc13a1d054f44e675fe51dc4 (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
# New ports collection makefile for:   bluefish
# Date created:			25 July 1999
# Whom:				Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	bluefish
PORTVERSION=	0.7
PORTREVISION=	2
CATEGORIES=	www editors
MASTER_SITES=	http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/ \
		ftp://bluefish.advancecreations.com/pub/bluefish/downloads/ \
		http://bluefish.mrball.net/downloads/ \
		ftp://ftp.ratisbona.com/pub/bluefish/downloads/ \
		http://bluefish.shellhung.org/downloads/

MAINTAINER=	kwm@rainbow-runner.nl
COMMENT=	HTML editor designed for the experienced web designer

RUN_DEPENDS=	weblint:${PORTSDIR}/www/weblint

CONFLICTS=	bluefish-0.1*

USE_GMAKE=	yes
USE_BZIP2=	yes
USE_PERL5_BUILD=yes
USE_X_PREFIX=	yes
USE_GNOME=	imlib
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-install-location="${X11BASE}/lib/bluefish"

.include <bsd.port.pre.mk>

.if defined(WITH_AUTO_COMPLETE)
CONFIGURE_ARGS+=	--with-autocomplet
.endif

MANCOMPRESSED=	no
MAN1=		bluefish.1

post-patch:
	@${PERL} -pi -e 's|gtk-config|${GTK_CONFIG}|g;' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
	@${ECHO} "===>   Installing bluefish docs in ${PREFIX}/share/doc/bluefish"
	@${ECHO} "===>   A manual is available online at http://bluefish.linuxbox.com/manual/"
	@${MKDIR} ${PREFIX}/share/doc/bluefish && ${CHMOD} a+rx ${PREFIX}/share/doc/bluefish
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bluefish
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud