aboutsummaryrefslogtreecommitdiffstats
path: root/www/ashe/Makefile
blob: 6da7f19be1ae8d058f4c57ad45f25685f29c7fe5 (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
# 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

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

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

post-patch:
    @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/XHTML.ad
    @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" \
        ${WRKSRC}/libhtmlw-2.7b3/HTML-PSformat.c

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.mk>