opnsense-ports/math/gnubc/Makefile
Franco Fichtner 5be31714e5 */*: sync with upstream
Taken from: HardenedBSD
2018-06-19 07:18:01 +02:00

38 lines
683 B
Makefile

# Created by: Gabor Kovesdan <gabor@FreeBSD.org>
# $FreeBSD$
PORTNAME= bc
DISTVERSION= 1.07.1
CATEGORIES= math
MASTER_SITES= GNU
PKGNAMEPREFIX= gnu
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU bc/dc calculator
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
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
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/Examples/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>