mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
e2a4b4186b
Add missing OPTIONS_DEFINE
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# Created by: Lars Engels <lme@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= aribas
|
|
PORTVERSION= 1.64
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://ftp.mathematik.uni-muenchen.de/pub/forster/aribas/UNIX_LINUX/ \
|
|
http://bsd-geek.de/FreeBSD/distfiles/
|
|
|
|
MAINTAINER= lme@FreeBSD.org
|
|
COMMENT= Interpreter for big integer/multi-precision floating point arithmetic
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
PLIST_FILES= bin/aribas man/man1/aribas.1.gz
|
|
PORTDOCS= README aribas.doc aribas.man aribas.tut
|
|
PORTEXAMPLES= README factor.ari pi.ari queens.ari
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^CC/d;' \
|
|
-e '/^CFLAGS/{s/=/+=/;s/-O -v//;}' \
|
|
-e 's/CC) -o/CC) $$(CFLAGS) -o/' ${BUILD_WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/aribas ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1/
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|