1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/mcl/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

84 lines
2.9 KiB
Makefile

# New ports collection makefile for: mcl
# Date created: 29 October 2003
# Whom: past@noc.ntua.gr
#
# $FreeBSD$
#
PORTNAME= mcl
PORTVERSION= 2.99.1
PORTREVISION= 1
CATEGORIES= mbone net
MASTER_SITES= http://www.inrialpes.fr/planete/people/roca/mcl/bin/
DISTNAME= mcl_v2.99.1
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Implementation of the ALC and NORM Reliable Multicast Protocols
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \
gdome-config:${PORTSDIR}/textproc/gdome2 \
glib-gettextize:${PORTSDIR}/devel/glib20
USE_LDCONFIG= yes
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
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
do-install:
@${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 \
${PREFIX}/man/man1/mclrecv2.1
@${INSTALL_MAN} ${WRKSRC}/man/mclsend2.man.1 \
${PREFIX}/man/man1/mclsend2.1
@${INSTALL_MAN} ${WRKSRC}/man/mcl_abort.man.2 \
${PREFIX}/man/man2/mcl_abort.2
@${INSTALL_MAN} ${WRKSRC}/man/mcl_close.man.2 \
${PREFIX}/man/man2/mcl_close.2
@${INSTALL_MAN} ${WRKSRC}/man/mcl_ctl.man.2 ${PREFIX}/man/man2/mcl_ctl.2
@${INSTALL_MAN} ${WRKSRC}/man/mcl_open.man.2 \
${PREFIX}/man/man2/mcl_open.2
@${INSTALL_MAN} ${WRKSRC}/man/mcl_recv.man.2 \
${PREFIX}/man/man2/mcl_recv.2
@${INSTALL_MAN} ${WRKSRC}/man/mcl_send.man.2 \
${PREFIX}/man/man2/mcl_send.2
@${INSTALL_MAN} ${WRKSRC}/man/mcl_wait_event.man.2 \
${PREFIX}/man/man2/mcl_wait_event.2
.include <bsd.port.mk>