summaryrefslogtreecommitdiff
path: root/misc/siag/Makefile
blob: 8ba197be77047945bb22ac357cccecfa00cd62c5 (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
# $NetBSD: Makefile,v 1.2 1998/12/25 21:41:29 hubertf Exp $

DISTNAME=       siag-3.1.2
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+=	Xaw3d-1.5:../../x11/Xaw3d
DEPENDS+=	gv-3.5.8:../../print/gv
DEPENDS+=	gnuplot-3.5:../../graphics/gnuplot
DEPENDS+=	guile-1.3:../../lang/guile

GNU_CONFIGURE=  yes
USE_GMAKE=	yes

CFLAGS+=	-Dunix
STRIPFLAG=

pre-configure:
	cd ${WRKSRC} ; \
	[ -f topdir.mk.BAK ] || ${MV} topdir.mk topdir.mk.BAK ; \
	${SED} \
		-e 's|^\(SIAG_HOME\)=.*$$|\1="${PREFIX}/lib/siag"|g' \
		-e 's|^\(SIAG_DOCS\)=.*$$|\1=${PREFIX}/share/siag|g' \
		-e 's|^\(CURSES\)=.*$$|\1=-lcurses -ltermcap|g' \
		<topdir.mk.BAK >topdir.mk

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