summaryrefslogtreecommitdiff
path: root/www/Mosaic/Makefile
blob: a8edb2dcfb9fe5d6cd8733f9bd039b2c0a06e600 (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
# New ports collection makefile for:    Mosaic browser
# Date created:         7 August 1995
# Whom:                 torstenb
#
# $FreeBSD$
#

PORTNAME=	mosaic
PORTVERSION=	2.7b5
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.ncsa.uiuc.edu/Web/Mosaic/Unix/source/
DISTNAME=	Mosaic-src-2.7b5

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.5:${PORTSDIR}/graphics/png

NO_CDROM=	"http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/License/LicenseInfo.html"
NO_PACKAGE=	${NO_CDROM}
USE_MOTIF=	yes
WRKSRC=		${WRKDIR}/Mosaic-src
ALL_TARGET=	bsdi
USE_REINPLACE=	yes
USE_X_PREFIX=	yes
USE_XPM=	yes

pre-patch:
	@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
	${WRKSRC}/libXmx/Xmx.h ${WRKSRC}/libdtm/dtm.c \
	${WRKSRC}/libdtm/dtm.c ${WRKSRC}/libdtm/dtm.c \
	${WRKSRC}/libdtm/dtm.c ${WRKSRC}/libdtm/dtminit.c \
	${WRKSRC}/libdtm/dtminit.c ${WRKSRC}/libdtm/dtminit.c \
	${WRKSRC}/libdtm/dtminit.c ${WRKSRC}/libdtm/dtmnserv.c \
	${WRKSRC}/libdtm/dtmnserv.c ${WRKSRC}/libhtmlw/HTML-PSformat.c \
	${WRKSRC}/libhtmlw/HTML-PSformat.c ${WRKSRC}/libwww2/HTUtils.h \
	${WRKSRC}/libwww2/HTUtils.h ${WRKSRC}/src/mosaic.h \
	${WRKSRC}/src/mosaic.h ${WRKSRC}/src/proxy-dialogs.c \
	${WRKSRC}/src/proxy-dialogs.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/Mosaic ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/app-defaults.color ${PREFIX}/lib/X11/app-defaults/Mosaic

.include <bsd.port.mk>