blob: 14e86c13c7b7ff6791452e8458def1e5259331ec (
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
|
PORTNAME= umurmur
DISTVERSION= 0.2.17
PORTREVISION= 2
CATEGORIES= audio net
MAINTAINER= ayu@commun.jp
COMMENT= Minimalistic Murmur (Mumble server)
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= fails to compile: fatal error: byteswap.h file not found
BROKEN_armv6= fails to compile: fatal error: byteswap.h file not found
LIB_DEPENDS= libconfig.so:devel/libconfig \
libprotobuf-c.so:devel/protobuf-c
USES= autoreconf gmake libtool localbase ssl
GNU_CONFIGURE= yes
USE_GITHUB= yes
CONFIGURE_ARGS= --with-ssl=openssl
USE_RC_SUBR= umurmur
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/conf.c
@${REINPLACE_CMD} \
-e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/umurmur.conf.example
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/umurmur
${INSTALL_DATA} ${WRKSRC}/umurmur.conf.example ${STAGEDIR}${PREFIX}/etc/umurmur/umurmur.conf.sample
.include <bsd.port.mk>
|