aboutsummaryrefslogtreecommitdiffstats
path: root/www/ashe/Makefile
blob: 3fa636aae9e0edf3a0f2b42096525157e1b1c33b (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
# New ports collection makefile for:    ashe
# Date created:     16 October 1995
# Whom:         pst
#
# $FreeBSD$
#

PORTNAME=   ashe
PORTVERSION=    1.3
CATEGORIES= www
MASTER_SITES=   ftp://ftp.cs.rpi.edu/pub/puninj/ASHE/ASHE-1.3/%SUBDIR%/
MASTER_SITE_SUBDIR= src libcci libhtmlw-2.7
DISTFILES=  xhtml-1.3.tar.Z cci.tar.Z libhtmlw.tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    A simple HTML editor

NO_WRKSUBDIR=   yes
CONFIGURE_WRKSRC=   ${WRKDIR}/src
INSTALL_WRKSRC=     ${WRKDIR}/src

USE_REINPLACE=  yes
USE_MOTIF=  yes
USE_IMAKE=  yes
MAN1=       xhtml.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=     "Does not compile"
.endif

post-patch:
    @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/XHTML.ad

do-build:
.for dir in libhtmlw-2.7b3 libcci src
    @(cd ${WRKDIR}/${dir}; ${SETENV} ${MAKE_ENV} \
        ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
.endfor

.include <bsd.port.post.mk>