# New ports collection makefile for: bc # Date created: 21 Januar 2010 # Whom: Gabor Kovesdan # # $FreeBSD$ # PORTNAME= bc PORTVERSION= 1.06 PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMEPREFIX= gnu MAINTAINER= gabor@FreeBSD.org COMMENT= The GNU bc/dc calculator GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-libedit MAN1= bc.1 \ dc.1 INFO= bc \ dc PLIST_FILES= bin/bc \ bin/dc PORTEXAMPLES= ckbook.b \ pi.b \ primes.b \ twins.b post-install: .if !defined(NOPORTEXAMPLES) ${MKDIR} ${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/Examples/${f} ${EXAMPLESDIR} .endfor .endif .include