openbsd-ports/math/calc/Makefile

38 lines
934 B
Makefile
Raw Normal View History

2004-12-27 02:16:44 -05:00
# $OpenBSD: Makefile,v 1.15 2004/12/27 07:16:44 alek Exp $
#
COMMENT= "C-style arbitrary precision calculator"
2003-04-21 20:36:35 -04:00
DISTNAME= calc-2.11.7
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/
# LGPL
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
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' \
INCDIR='$${DESTDIR}${PREFIX}/include' \
MANDIR='$${DESTDIR}${PREFIX}/man/man1' \
CALC_SHAREDIR='$${DESTDIR}${PREFIX}/share/calc' \
USE_READLINE='-DUSE_READLINE' \
READLINE_LIB='-lreadline -lcurses' \
LCC=${CC} \
CFLAGS='${CFLAGS} -DCALC_SRC $${CCWARN}'
FAKE_FLAGS=${MAKE_FLAGS}
REGRESS_TARGET= check
.include <bsd.port.mk>