aboutsummaryrefslogtreecommitdiffstats
path: root/math/gnubc/Makefile
blob: f1bfcce18ec2ac1d12de28d47d0bcb4e83ab0ba2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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>