summaryrefslogtreecommitdiff
path: root/misc/siag/Makefile
blob: 43d8f4584134f5cfb2fa0f45c778cceab464f5e8 (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
# $NetBSD: Makefile,v 1.9 1999/08/25 13:37:36 agc Exp $

DISTNAME=       siag-3.1.20
CATEGORIES=     misc textproc math
MASTER_SITES=   ftp://ftp.edu.stockholm.se/pub/siag/

MAINTAINER=     packages@netbsd.org
HOMEPAGE=       http://www.edu.stockholm.se/siag/

DEPENDS+=	gv-3.5.8:../../print/gv
DEPENDS+=	gnuplot-3.7:../../graphics/gnuplot
DEPENDS+=	guile-1.3:../../lang/guile
DEPENDS+=	ncurses-4.2:../../devel/ncurses

CONFIGURE_ARGS=	--with-x --with-guile --includedir=${PREFIX}/include
GNU_CONFIGURE=  yes
USE_GMAKE=	yes
USE_X11=	yes
USE_XAW=	yes

CFLAGS+=	-Dunix
LDFLAGS+=	-Wl,-R${X11BASE}/lib
STRIPFLAG=

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

XAW_TYPE?=	3d

post-install:
	${MV} ${PREFIX}/doc/siag ${PREFIX}/share/doc/siag
	${RMDIR} ${PREFIX}/doc

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