2003-11-14 11:33:33 -05:00
|
|
|
# New ports collection makefile for: mcl
|
|
|
|
# Date created: 29 October 2003
|
|
|
|
# Whom: past@noc.ntua.gr
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mcl
|
2004-01-08 19:12:51 -05:00
|
|
|
PORTVERSION= 2.99.1
|
2004-02-04 00:10:27 -05:00
|
|
|
PORTREVISION= 1
|
2003-11-14 11:33:33 -05:00
|
|
|
CATEGORIES= mbone net
|
|
|
|
MASTER_SITES= http://www.inrialpes.fr/planete/people/roca/mcl/bin/
|
2004-01-08 19:12:51 -05:00
|
|
|
DISTNAME= mcl_v2.99.1
|
2003-11-14 11:33:33 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= past@noc.ntua.gr
|
|
|
|
COMMENT= Implementation of the ALC and NORM Reliable Multicast Protocols
|
|
|
|
|
2004-01-08 19:12:51 -05:00
|
|
|
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/imake-4 \
|
|
|
|
gdome-config:${PORTSDIR}/textproc/gdome2 \
|
|
|
|
glib-gettextize:${PORTSDIR}/devel/glib20
|
2003-11-20 15:57:26 -05:00
|
|
|
|
2004-01-08 19:12:51 -05:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
2003-11-14 11:33:33 -05:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= fcast.1 fcastn.1 mclrecv2.1 mclsend2.1
|
|
|
|
MAN2= mcl_abort.2 mcl_close.2 mcl_ctl.2 mcl_open.2 mcl_recv.2 \
|
|
|
|
mcl_send.2 mcl_wait_event.2
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@cd ${WRKSRC} && \
|
|
|
|
${MKDIR} bin/freebsd
|
|
|
|
|
2004-01-08 19:12:51 -05:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \
|
|
|
|
${WRKSRC}/src/alc/Makefile
|
|
|
|
@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \
|
|
|
|
${WRKSRC}/check/alc/Makefile
|
|
|
|
@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \
|
|
|
|
${WRKSRC}/fcast/Makefile
|
|
|
|
@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \
|
|
|
|
${WRKSRC}/flute/Makefile
|
|
|
|
@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \
|
|
|
|
${WRKSRC}/mclftp/Makefile
|
|
|
|
@${REINPLACE_CMD} -Ee 's#-pthread|-lc_r#${PTHREAD_LIBS}#g' \
|
|
|
|
${WRKSRC}/robcast/Makefile
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${REINPLACE_CMD} -Ee 's#../alc/#alc/#g' \
|
|
|
|
${WRKSRC}/src/common/mcl_lib_api.h
|
|
|
|
@${REINPLACE_CMD} -Ee 's#../norm/#norm/#g' \
|
|
|
|
${WRKSRC}/src/common/mcl_lib_api.h
|
|
|
|
|
2003-11-14 11:33:33 -05:00
|
|
|
do-install:
|
2004-01-08 19:12:51 -05:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/fcast ${PREFIX}/bin
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/flute ${PREFIX}/bin
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/robcast_client ${PREFIX}/bin
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/freebsd/robcast_server ${PREFIX}/bin
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/bin/freebsd/libmclalc.a ${PREFIX}/lib
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/src/common/mcl_lib_api.h ${PREFIX}/include
|
|
|
|
@${INSTALL_DATA} -d ${PREFIX}/include/alc
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/src/alc/mcl_lib_api_alc.h \
|
|
|
|
${PREFIX}/include/alc
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/fcast.man.1 ${PREFIX}/man/man1/fcast.1
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/fcastn.man.1 ${PREFIX}/man/man1/fcastn.1
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/mclrecv2.man.1 \
|
2003-11-14 11:33:33 -05:00
|
|
|
${PREFIX}/man/man1/mclrecv2.1
|
2004-01-08 19:12:51 -05:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/mclsend2.man.1 \
|
2003-11-14 11:33:33 -05:00
|
|
|
${PREFIX}/man/man1/mclsend2.1
|
2004-01-08 19:12:51 -05:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/mcl_abort.man.2 \
|
2003-11-14 11:33:33 -05:00
|
|
|
${PREFIX}/man/man2/mcl_abort.2
|
2004-01-08 19:12:51 -05:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/mcl_close.man.2 \
|
2003-11-14 11:33:33 -05:00
|
|
|
${PREFIX}/man/man2/mcl_close.2
|
2004-01-08 19:12:51 -05:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/mcl_ctl.man.2 ${PREFIX}/man/man2/mcl_ctl.2
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/mcl_open.man.2 \
|
2003-11-14 11:33:33 -05:00
|
|
|
${PREFIX}/man/man2/mcl_open.2
|
2004-01-08 19:12:51 -05:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/mcl_recv.man.2 \
|
2003-11-14 11:33:33 -05:00
|
|
|
${PREFIX}/man/man2/mcl_recv.2
|
2004-01-08 19:12:51 -05:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/mcl_send.man.2 \
|
2003-11-14 11:33:33 -05:00
|
|
|
${PREFIX}/man/man2/mcl_send.2
|
2004-01-08 19:12:51 -05:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/mcl_wait_event.man.2 \
|
2003-11-14 11:33:33 -05:00
|
|
|
${PREFIX}/man/man2/mcl_wait_event.2
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|