Merge from vendor branch TNF:
[pkgsrc.git] / sysutils / xosview / Makefile
1 # $NetBSD: Makefile,v 1.26 1999/04/07 10:09:18 agc Exp $
2 #
3
4 DISTNAME=       xosview-1.7.0.b
5 CATEGORIES=     sysutils
6 MASTER_SITES=   http://www.ece.utexas.edu/~bgrayson/xosview/ \
7                 http://lore.ece.utexas.edu/~bgrayson/xosview/
8
9 MAINTAINER=     bgrayson@ece.utexas.edu
10 HOMEPAGE=       http://lore.ece.utexas.edu/~bgrayson/xosview.html
11
12 HAS_CONFIGURE=  yes
13 CONFIGURE_ARGS+= --prefix=${PREFIX}
14 USE_X11BASE=    yes
15
16 .include "../../mk/bsd.prefs.mk"
17
18 .if ${OPSYS} == "NetBSD"
19 BUILD_DEFS=     UVM
20
21 .elif ${OPSYS} == "SunOS"
22 DEPENDS+=       egcs-1.1.2:../../lang/egcs
23 CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++
24 USE_GMAKE=      yes
25 .endif
26
27 .include "../../mk/bsd.pkg.mk"