2002-03-21 16:09:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2002/03/21 21:09:18 espie Exp $
|
1999-11-11 11:40:11 -05:00
|
|
|
#
|
|
|
|
|
2001-05-05 21:58:40 -04:00
|
|
|
COMMENT= "C-style arbitrary precision calculator"
|
|
|
|
|
2000-04-12 16:43:21 -04:00
|
|
|
DISTNAME= calc-2.11.1t3.0
|
1999-11-11 11:40:11 -05:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://ftp.uu.net/pub/calc/ \
|
2000-04-12 16:43:21 -04:00
|
|
|
ftp://reality.sgi.com/chongo/src/calc/
|
2002-03-21 16:09:16 -05:00
|
|
|
NEED_VERSION= 1.515
|
1999-11-11 11:40:11 -05:00
|
|
|
|
2000-04-12 16:43:21 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
|
|
|
HOMEPAGE= http://reality.sgi.com/chongo/calc
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Niels Provos <provos@openbsd.org>
|
2000-04-12 16:43:21 -04:00
|
|
|
MAKE_FLAGS=BINDIR='$${DESTDIR}${PREFIX}/bin' \
|
|
|
|
TOPDIR='$${DESTDIR}${PREFIX}/lib' \
|
|
|
|
INCDIR='$${DESTDIR}${PREFIX}/include' \
|
|
|
|
MANDIR='$${DESTDIR}${PREFIX}/man/man1' \
|
|
|
|
USE_READLINE=-DUSE_READLINE \
|
|
|
|
READLINE_LIB='-lreadline -lcurses' \
|
|
|
|
CFLAGS='${CFLAGS} $${CCWARN} $${CCOPT} $${CCMISC}'
|
|
|
|
|
|
|
|
FAKE_FLAGS=${MAKE_FLAGS}
|
1999-11-11 11:40:11 -05:00
|
|
|
|
2002-01-30 05:14:54 -05:00
|
|
|
# XXX workaround sparc64 gcc optimization bug
|
|
|
|
.if ${MACHINE_ARCH:Msparc64}
|
|
|
|
PATCH_LIST= gcc-* patch-*
|
|
|
|
.endif
|
1999-11-11 11:40:11 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|