blob: 799b88b553f5e2c6c8d17adbb6af26c504c8d84e (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
PORTNAME= libosmocore
PORTVERSION= 1.2.0
CATEGORIES= devel
MASTER_SITES= http://git.osmocom.org/libosmocore/snapshot/
MAINTAINER= ports@FreeBSD.org
COMMENT= Common library for all Osmocom projects
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgnutls.so:security/gnutls \
libpcsclite.so:devel/pcsc-lite \
libtalloc.so:devel/talloc
USES= alias autoreconf gmake libtool pathfix pkgconfig python:2.7 \
shebangfix
GNU_CONFIGURE= yes
LDFLAGS+= -lexecinfo
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
PORTDOCS= *
SHEBANG_FILES= utils/conv_codes_gsm.py utils/conv_gen.py
python_OLD_CMD= /usr/bin/python2
CFLAGS+= -fcommon
OPTIONS_DEFINE= DOCS DOXYGEN
DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \
doxygen:devel/doxygen
DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_path_DOXYGEN=false
post-patch:
${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
@${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \
${WRKSRC}/src/application.c \
${WRKSRC}/src/gb/gprs_bssgp.c \
${WRKSRC}/src/gb/gprs_bssgp_bss.c
@${REINPLACE_CMD} -e 's/python2/${PYTHON_VERSION}/' \
-e 's,(AM_V_GEN)python ,(AM_V_GEN)${PYTHON_VERSION} ,' \
${WRKSRC}/include/Makefile.am \
${WRKSRC}/src/gsm/Makefile.am \
${WRKSRC}/tests/Makefile.am
.include <bsd.port.mk>
|