summaryrefslogtreecommitdiff
path: root/www/erwn/Makefile
blob: 6abc6ec486fb8aa0e3033b3a35c1c9e4cb7105a9 (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
# Created by: Jim Mock <jimFreeBSD.org>
# $FreeBSD$

PORTNAME=	erwn
PORTVERSION=	0.8
PORTREVISION=	12
CATEGORIES=	www editors
MASTER_SITES=	http://lisas.de/erwin/
DISTNAME=	erwin-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple GTK+-2 HTML editor

LICENSE=	GPLv2 # or later
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		pathfix pkgconfig gmake
USE_GNOME=	gnomeprefix gtksourceview gtkhtml3
GNU_CONFIGURE=	yes

OPTIONS_DEFINE= DOCS

post-patch:
	@${REINPLACE_CMD} -e "s|gtkhtml-3.6|gtkhtml-3.14|g" \
		${WRKSRC}/configure

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>