mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
abaea7ff90
These programs have been used in a number of other projects over many years and they are highly portable and heavily tested. Obtained from: Gavin Howard <gavin.d.howard@gmail.com> Approved by: antoine (mentor)
44 lines
796 B
Makefile
44 lines
796 B
Makefile
# Created by: Gabor Kovesdan <gabor@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bc
|
|
DISTVERSION= 1.07.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= GNU
|
|
PKGNAMEPREFIX= gnu
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GNU bc/dc calculator
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_powerpc64= fails to build: tests fail with error code 2
|
|
|
|
USES= libedit makeinfo
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-libedit
|
|
INFO= bc \
|
|
dc
|
|
PLIST_FILES= bin/bc \
|
|
bin/dc \
|
|
man/man1/bc.1.gz \
|
|
man/man1/dc.1.gz
|
|
PORTEXAMPLES= ckbook.b \
|
|
pi.b \
|
|
primes.b \
|
|
twins.b
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
CONFLICTS_INSTALL= gh-bc-[0-9]*
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
.for f in ${PORTEXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/Examples/${f} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|