1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/audio/umurmur/Makefile
Yuri Victorovich 2615879be7 audio/umurmur: Update to 0.2.17
Maintainer's timeout expired ayu@commun.jp

Additional port changes:
* Changed to DISTVERSION
* Moved BROKEN_xx to a proper place
* Grouped USExx
* Added USES=localbase instead of CPPFLAGS/LDFLAGS
* Updated port description
* Updated WWW

PR:		225051
Requested by:	El Goretto <el.goretto@free.fr>
Approved by:	portmgr (maintainer timeout, 14 days)
Approved by:	tcberner (mentor, implicit)
2018-02-25 00:53:01 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Ayumi Mitsui <ayu@commun.jp>
# $FreeBSD$
PORTNAME= umurmur
DISTVERSION= 0.2.17
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
BROKEN_SSL= openssl-devel
BROKEN_SSL_REASON_openssl-devel= configure: error: could not find libcrypto
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>