summaryrefslogtreecommitdiff
path: root/www/mMosaic/Makefile
blob: dbb9bc2fa7706d0ba6e32213e9d87e543e6d05e1 (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
# $NetBSD: Makefile,v 1.9 2005/04/11 21:47:54 tv Exp $
#

DISTNAME=	mMosaic-3.7.2
PKGREVISION=	1
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.enst.fr/pub/mbone/mMosaic/

MAINTAINER=	fredb@NetBSD.org
HOMEPAGE=	http://perso.enst.fr/~dauphin/mMosaic/
COMMENT=	Modern derivative of NCSA XMosaic

WRKSRC=		${WRKDIR}/mMosaic-src-3.7.2
USE_X11=	YES

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/mMosaic ${PREFIX}/bin/

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "NetBSD"
MAKEFLAGS+=	sysconfigflags='-DNETBSD -DMOTIF1_2'

.elif ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
MAKEFLAGS+=	sysconfigflags='-DFreeBSD -DMOTIF1_2'

.elif ${OPSYS} == "Linux"
MAKEFLAGS+=	sysconfigflags='-DLINUX -Dlinux -DMOTIF1_2'

.elif ${OPSYS:MIRIX*} != ""
MAKEFLAGS+=	sysconfigflags='-DSVR4 -DIRIX -DMOTIF1_2'

.endif

.include "../../mk/bsd.pkg.mk"