License changed from public domain to WTFPL Upsteam code changes are mostly bug fixes. Port changes are: * switch to GH_* infrastructure (-bzip2 bdep, no WRKDIST fixing) * drop PDF manual (which doesn't add much to comments in headers) * tests are no longer interactive OK sthen@
31 lines
600 B
Makefile
31 lines
600 B
Makefile
# $OpenBSD: Makefile,v 1.5 2016/03/04 10:38:48 czarkoff Exp $
|
|
|
|
COMMENT = number theoretic multiple-precision integer library
|
|
CATEGORIES = math
|
|
HOMEPAGE = http://libtom.net/
|
|
|
|
MAINTAINER = Dmitrij D. Czarkoff <czarkoff@openbsd.org>
|
|
|
|
GH_ACCOUNT = libtom
|
|
GH_PROJECT = libtommath
|
|
GH_TAGNAME = v1.0
|
|
|
|
# WTFPL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MAKE_FLAGS = IGNORE_SPEED=Yes \
|
|
V=1 \
|
|
PREFIX=
|
|
FAKE_FLAGS = DESTDIR=${WRKINST}${PREFIX} \
|
|
LIBPATH=/lib \
|
|
INCPATH=/include
|
|
USE_GMAKE = Yes
|
|
MAKE_FILE = makefile
|
|
|
|
ALL_TARGET = default
|
|
TEST_TARGET = coverage
|
|
|
|
CFLAGS += -fPIC
|
|
|
|
.include <bsd.port.mk>
|