blob: 21b5a403ba7950df0771fb07b742750cd9875042 (
plain) (
blame)
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= libsmpp34
PORTVERSION= 1.10
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://chaosophia.net/downloads/osmocom/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide an implementation of SMPP-3.4 protocol for PDUs handling
WWW= http://c-open-smpp-34.sourceforge.net/
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libxml2.so:textproc/libxml2
USES= autoreconf libtool pathfix
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} 's|malloc.h|stdlib.h|' \
${WRKSRC}/src/smpp34_dumpBuf.c \
${WRKSRC}/src/smpp34_dumpPdu.c \
${WRKSRC}/src/smpp34_pack.c \
${WRKSRC}/src/smpp34_params.c \
${WRKSRC}/src/smpp34_structs.c \
${WRKSRC}/src/smpp34_unpack.c
@${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
.include <bsd.port.mk>
|