2004-12-27 02:16:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2004/12/27 07:16:44 alek Exp $
|
1999-11-11 11:40:11 -05:00
|
|
|
#
|
|
|
|
|
2001-05-05 21:58:40 -04:00
|
|
|
COMMENT= "C-style arbitrary precision calculator"
|
|
|
|
|
2003-04-21 20:36:35 -04:00
|
|
|
DISTNAME= calc-2.11.7
|
1999-11-11 11:40:11 -05:00
|
|
|
CATEGORIES= math
|
2003-04-21 20:36:35 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=calc/} \
|
|
|
|
ftp://ftp.uu.net/pub/calc/ \
|
|
|
|
ftp://reality.sgi.com/chongo/src/calc/
|
1999-11-11 11:40:11 -05:00
|
|
|
|
2002-08-01 21:50:34 -04:00
|
|
|
# LGPL
|
2000-04-12 16:43:21 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2004-12-27 02:16:44 -05:00
|
|
|
WANTLIB= c curses readline
|
2000-04-12 16:43:21 -04:00
|
|
|
|
2002-08-01 21:50:34 -04:00
|
|
|
HOMEPAGE= http://www.isthe.com/chongo/tech/comp/calc
|
|
|
|
MAINTAINER= Wilbern Cobb <wcobb@openbsd.org>
|
|
|
|
|
|
|
|
MAKE_FLAGS=\
|
|
|
|
BINDIR='$${DESTDIR}${PREFIX}/bin' \
|
|
|
|
LIBDIR='$${DESTDIR}${PREFIX}/lib' \
|
2000-04-12 16:43:21 -04:00
|
|
|
INCDIR='$${DESTDIR}${PREFIX}/include' \
|
|
|
|
MANDIR='$${DESTDIR}${PREFIX}/man/man1' \
|
2002-08-01 21:50:34 -04:00
|
|
|
CALC_SHAREDIR='$${DESTDIR}${PREFIX}/share/calc' \
|
|
|
|
USE_READLINE='-DUSE_READLINE' \
|
2000-04-12 16:43:21 -04:00
|
|
|
READLINE_LIB='-lreadline -lcurses' \
|
2002-08-01 21:50:34 -04:00
|
|
|
LCC=${CC} \
|
|
|
|
CFLAGS='${CFLAGS} -DCALC_SRC $${CCWARN}'
|
2000-04-12 16:43:21 -04:00
|
|
|
|
|
|
|
FAKE_FLAGS=${MAKE_FLAGS}
|
1999-11-11 11:40:11 -05:00
|
|
|
|
2002-08-01 21:50:34 -04:00
|
|
|
REGRESS_TARGET= check
|
|
|
|
|
1999-11-11 11:40:11 -05:00
|
|
|
.include <bsd.port.mk>
|