aboutsummaryrefslogtreecommitdiffstats
path: root/www/august/Makefile
blob: 4047bc25b405bd27dbb25041ec09e6456e3f6c0b (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
# New ports collection makefile for:    august
# Date created:             2000-12-31
# Whom:                 trevor
#
# based on the OpenBSD port by Kevin Lo <kevlo@openbsd.org>
# $OpenBSD: Makefile,v 1.6 2000/12/10 15:00:14 kevlo Exp $
# $FreeBSD$
#

PORTNAME=   august
PORTVERSION=    0.63b
PORTREVISION=   3
CATEGORIES= www editors
MASTER_SITES=   http://www.bostream.nu/johanb/august/
DISTNAME=   ${PORTNAME}${PORTVERSION}.src

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

RUN_DEPENDS=    weblint:${PORTSDIR}/www/weblint \
        identify:${PORTSDIR}/graphics/ImageMagick \
        wish8.4:${PORTSDIR}/x11-toolkits/tk84

NO_BUILD=   yes
PLIST=      ${WRKDIR}/pkg-plist

do-patch:
    ${MV} ${WRKSRC}/august ${WRKSRC}/august.orig
    ${SED} -e "s:/usr/bin/wish:${PREFIX}/bin/wish8.4:g" \
        < ${WRKSRC}/august.orig > ${WRKSRC}/august

pre-install:
    ${ECHO_CMD} bin/august > ${PLIST}
.if !defined(NOPORTDOCS)
    ${ECHO_CMD} share/doc/august/specchars.txt >> ${PLIST}
    ${ECHO_CMD} @dirrm share/doc/august >> ${PLIST}
.endif

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/august ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/august
    ${INSTALL_DATA} ${WRKSRC}/specchars.txt ${PREFIX}/share/doc/august
.endif

.include <bsd.port.mk>