freebsd-ports/math/mprime/Makefile
Alexey Dokuchaev ddebd27959 - Resurrect `math/mprime' and unbreak (stagify)
- Update to version 26.6, the latest for the i386 binary
- Do not mangle version with `0.0.'-prefix, use official one
- Add missing LIB_DEPENDS against `misc/compat9x'
- Define DOCS option and use target helper target to install
- Make installation commands vocal (unmute them)
- Update and tidy up port description text while here
- Drop deprecated @dirrm entry from pkg-plist

TIMESTAMP (mprime266-FreeBSD.tar.gz) = 1302303090
2017-03-29 05:18:30 +00:00

32 lines
798 B
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= mprime
PORTVERSION= 26.6
CATEGORIES= math benchmarks net
MASTER_SITES= http://www.mersenne.org/ftp_root/gimps/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}-${OPSYS}
MAINTAINER= ports@FreeBSD.org
COMMENT= mersenne.org distributed Great Internet Mersenne Prime Search
LIB_DEPENDS= libcrypto.so.6:misc/compat9x
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
NO_WRKSUBDIR= yes
SUB_FILES= pkg-message wrapper.sh
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mprime ${STAGEDIR}${PREFIX}/bin/mprime-real
${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/mprime
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>