1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/math/cddlib/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

31 lines
792 B
Makefile

PORTNAME= cddlib
PORTVERSION= 0.94l
CATEGORIES= math
MASTER_SITES= https://github.com/cddlib/cddlib/releases/download/${DISTVERSION}/
MAINTAINER= moritz@schmi.tt
COMMENT= C-library implementation of the Double Description Method
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgmp.so:math/gmp
USES= autoreconf gmake libtool:build localbase:ldflags
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_SUB= yes
DOCS_DESC= Install cddlib user manual
EXAMPLES_DESC= Install cddlib examples
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
${RLN} ${STAGEDIR}${PREFIX}/include/cddlib ${STAGEDIR}${PREFIX}/include/cdd
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${MV} ${STAGEDIR}${DOCSDIR}/example* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>