blob: 0ba358ea4df9996631f47dd4d51bbddd727a1450 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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>
|