[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / mMosaic

File: [cvs.NetBSD.org] / pkgsrc / www / mMosaic / Makefile (download)

Revision 1.31, Fri Feb 26 10:57:46 2016 UTC (3 years, 9 months ago) by jperkin
Branch: MAIN
Changes since 1.30: +11 -22 lines

Use OPSYSVARS.

# $NetBSD: Makefile,v 1.31 2016/02/26 10:57:46 jperkin Exp $
#

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

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://perso.telecom-paristech.fr/~dauphin/mMosaic/
COMMENT=	Modern derivative of NCSA XMosaic

MAKE_JOBS_SAFE=		no

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

INSTALLATION_DIRS=	bin

OPSYSVARS+=		MAKEFLAGS
MAKEFLAGS.DragonFly+=	sysconfigflags='-DFreeBSD -DMOTIF1_2'
MAKEFLAGS.FreeBSD+=	sysconfigflags='-DFreeBSD -DMOTIF1_2'
MAKEFLAGS.IRIX+=	sysconfigflags='-DSVR4 -DIRIX -DMOTIF1_2'
MAKEFLAGS.Linux+=	sysconfigflags='-DLINUX -Dlinux -DMOTIF1_2'
MAKEFLAGS.NetBSD+=	sysconfigflags='-DNETBSD -DMOTIF1_2'

BUILDLINK_TRANSFORM.Darwin+=	opt:-shared:-c

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

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"