mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
fcf8e750d0
- Bump dependent ports as .so version has changed Approved by: portmgr blanket
37 lines
942 B
Makefile
37 lines
942 B
Makefile
# Created by: Ayumi Mitsui <ayu@commun.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= umurmur
|
|
PORTVERSION= 0.2.13
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio net
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
MAINTAINER= ayu@commun.jp
|
|
COMMENT= Minimalistic Murmur (Mumble server)
|
|
|
|
LIB_DEPENDS= libconfig.so:${PORTSDIR}/devel/libconfig \
|
|
libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c
|
|
|
|
USES= gmake
|
|
GNU_CONFIGURE= yes
|
|
USE_OPENSSL= yes
|
|
CONFIGURE_ARGS= --with-ssl=openssl
|
|
|
|
USE_RC_SUBR= umurmur
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/conf.h
|
|
@${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>
|