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

PORTNAME=	bluefish
PORTVERSION=	0.7
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=	jim@FreeBSD.org

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

USE_GMAKE=	yes
USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_IMLIB=	yes
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>