blob: 9a0e5e289190f598acc016d3275b647ea8986b82 (
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
|
# $NetBSD: Makefile,v 1.29 2000/07/13 15:48:47 agc Exp $
#
DISTNAME= xosview-1.7.0.b
CATEGORIES= sysutils
MASTER_SITES= http://www.ece.utexas.edu/~bgrayson/xosview/ \
http://lore.ece.utexas.edu/~bgrayson/xosview/
MAINTAINER= bgrayson@netbsd.org
HOMEPAGE= http://lore.ece.utexas.edu/~bgrayson/xosview.html
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
USE_X11BASE= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
BUILD_DEFS= UVM
.elif ${OPSYS} == "SunOS"
DEPENDS+= xpm-*:../../graphics/xpm
BUILD_DEPENDS+= ${LOCALBASE}/egcs/bin/g++:../../lang/egcs
CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include"
CONFIGURE_ENV+= LIBS="${LIBS} -lsocket -lnsl"
USE_GMAKE= yes
.endif
.include "../../mk/bsd.pkg.mk"
|