summaryrefslogtreecommitdiff
path: root/math/bc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/bc/Makefile')
-rw-r--r--math/bc/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/math/bc/Makefile b/math/bc/Makefile
new file mode 100644
index 00000000000..d16dcf599ce
--- /dev/null
+++ b/math/bc/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/29 23:57:38 reed Exp $
+
+DISTNAME= bc-1.06
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GNU:=bc/}
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= http://www.gnu.org/software/bc/bc.html
+COMMENT= Arbitrary precision calculator language
+# this provides dc(1) which is essential for pkgsrc installations
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+INFO_FILES= bc.info dc.info
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !exists(/usr/bin/flex)
+BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex
+.endif
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../devel/readline/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"