blob: f980b2f0457d49a9a0fe87a9e29ccf5650776b71 (
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
38
39
40
|
# New ports collection makefile for: bc
# Date created: 21 Januar 2010
# Whom: 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
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/Examples/${f} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>
|