1 # $NetBSD: Makefile,v 1.28 2000/06/27 08:17:46 tron Exp $
4 DISTNAME= xosview-1.7.0.b
6 MASTER_SITES= http://www.ece.utexas.edu/~bgrayson/xosview/ \
7 http://lore.ece.utexas.edu/~bgrayson/xosview/
9 MAINTAINER= bgrayson@netbsd.org
10 HOMEPAGE= http://lore.ece.utexas.edu/~bgrayson/xosview.html
13 CONFIGURE_ARGS+= --prefix=${PREFIX}
16 .include "../../mk/bsd.prefs.mk"
18 .if ${OPSYS} == "NetBSD"
20 .elif ${OPSYS} == "SunOS"
21 DEPENDS+= xpm-*:../../graphics/xpm
22 BUILD_DEPENDS+= ${LOCALBASE}/egcs/bin/g++:../../lang/egcs
23 CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++
24 CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include"
25 CONFIGURE_ENV+= LIBS="${LIBS} -lsocket -lnsl"
29 .include "../../mk/bsd.pkg.mk"