aboutsummaryrefslogtreecommitdiffstats
path: root/devel/jrtplib/Makefile
blob: 88bdc96c8367b3788748573a351de770520e925e (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
# Created by: Petr Holub <hopet@ics.muni.cz>
# $FreeBSD$

PORTNAME=   jrtplib
PORTVERSION=    3.9.1
CATEGORIES= devel
MASTER_SITES=   http://research.edm.uhasselt.be/jori/jrtplib/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Object-oriented RTP library written in C++

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE.MIT

USE_BZIP2=  yes
USE_CMAKE=  yes
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= yes

PLIST_SUB=  JRTPLIB_VER="${PORTVERSION}"

post-patch:
    @${REINPLACE_CMD} -e \
        '/pkgconfig/s|$${LIBRARY_INSTALL_DIR}|$${CMAKE_INSTALL_PREFIX}/libdata|' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>