2001-02-08 16:59:53 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2001/02/08 15:59:53 wiz Exp $
|
2001-02-08 11:25:54 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= calc-2.11.4t2
|
|
|
|
PKGNAME= capc-${DISTNAME:S/t/./}
|
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://www.isthe.com/chongo/src/calc/ \
|
2001-02-08 16:59:53 +01:00
|
|
|
ftp://ftp.batnet.com/wombats/noll/ftp/pub/calc/
|
2001-02-08 11:25:54 +01:00
|
|
|
|
|
|
|
MAINTAINER= wiz@netbsd.org
|
|
|
|
HOMEPAGE= http://www.isthe.com/chongo/tech/comp/calc/
|
|
|
|
|
|
|
|
NO_CONFIGURE= # defined
|
|
|
|
|
2001-02-08 16:50:20 +01:00
|
|
|
.if exists(/usr/include/readline.h) && !exists(/usr/include/readline/readline.h)
|
|
|
|
post-patch:
|
|
|
|
${SED} -e "s|readline/readline.h|readline.h|" \
|
|
|
|
-e "s|readline/history.h|history.h|" ${WRKSRC}/hist.c > \
|
|
|
|
${WRKSRC}/hist.c.new && \
|
2001-02-08 16:59:53 +01:00
|
|
|
${MV} -f ${WRKSRC}/hist.c.new ${WRKSRC}/hist.c
|
2001-02-08 16:50:20 +01:00
|
|
|
.endif
|
|
|
|
|
2001-02-08 11:25:54 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|