1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/math/gf2x/Makefile
2020-03-27 19:08:00 +00:00

39 lines
863 B
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= gf2x
PORTVERSION= 1.3.0
CATEGORIES= math
MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/38243/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Library for multiplying polynomials over the binary field
LICENSE= GPLv3 LGPL21
LICENSE_COMB= dual
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
TEST_TARGET= check
OPTIONS_RADIO= LIC
OPTIONS_RADIO_LIC= LIC_GPLV3 LIC_LGPL21
OPTIONS_DEFAULT= LIC_GPLV3
LIC_GPLV3_DESC= Choose the GPLv3 version
LIC_LGPL21_DESC= Choose the LGPL 2.1 version
.include <bsd.port.options.mk>
post-extract:
.if ${PORT_OPTIONS:MLIC_LGPL21}
${MV} ${WRKSRC}/toom-gpl.c ${WRKSRC}/toom-gpl.c.GPLv3
${MV} ${WRKSRC}/toom-gpl-placeholder.c ${WRKSRC}/toom-gpl.c
.endif
.include <bsd.port.mk>