aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ccrtp/Makefile
blob: ff3fc09b2b05dfc17b1014ee3ba26f36f08e2ba1 (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
32
33
34
# New ports collection makefile for:    ccrtp
# Date created:     2006-04-22
# Whom:         Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#

PORTNAME=   ccrtp
PORTVERSION=    1.5.0
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= acm@FreeBSD.org
COMMENT=    Implementation of the real-time transport protocol

LIB_DEPENDS=    ccgnu2-1.5.0:${PORTSDIR}/devel/commoncpp

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  pkgconfig
USE_GCC=    3.4+
USE_LDCONFIG=   yes

CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
INFO=   ccrtp

post-patch:
    @cd ${WRKSRC}/src && \
        ${FIND} * -type f -exec ${REINPLACE_CMD} -i "" -e "s|<malloc.h>|<stdlib.h>|g" "{}" \;

.include <bsd.port.mk>