aboutsummaryrefslogtreecommitdiffstats
path: root/www/august/Makefile
blob: b11a21b985872ab1798b92a66beee94727201a13 (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
# Created by: trevor
# $FreeBSD$

PORTNAME=   august
PORTVERSION=    0.63b
PORTREVISION=   5
CATEGORIES= www editors
MASTER_SITES=   http://fossies.org/unix/www/old/ \
        http://www.sourcefiles.org/Editors/HTML/ \
        http://www.erjobe.info/mainwiki/pmwiki/uploads/Main/August/
DISTNAME=   ${PORTNAME}${PORTVERSION}.src

MAINTAINER= ports@FreeBSD.org
COMMENT=    HTML editor for the experienced Web author

LICENSE=    GPLv2

OPTIONS_DEFINE= DOCS

USES+=      tk
RUN_DEPENDS=    identify:${PORTSDIR}/graphics/ImageMagick \
        weblint:${PORTSDIR}/www/weblint

NO_BUILD=   yes

PORTDOCS=   specchars.txt
PLIST_FILES=    bin/august

.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -e \
        's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/august

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/august ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/specchars.txt ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>