1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/math/gnubc/Makefile

38 lines
657 B
Makefile

# Created by: Gabor Kovesdan <gabor@FreeBSD.org>
# $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
NO_STAGE= yes
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/Examples/${f} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>