summaryrefslogtreecommitdiffstats
path: root/www/Mosaic/Makefile
blob: f5651712b3c633b14e07bd6515bfbf0e6c76b3ba (plain)
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
47
48
49
50
51
52
# 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
COMMENT=	A World Wide Web browser

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

.include <bsd.port.pre.mk>

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

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.post.mk>
OpenPOWER on IntegriCloud