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

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

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

LICENSE=    GPLv2+
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-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>