freebsd-ports/net/mad_fcl/Makefile
Kirill Ponomarev 636004595d - Update to version 0.8
PR:		ports/66050
Submitted by:	maintainer
2004-04-30 08:21:26 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: mad_fcl
# Date created: 03.02.2003
# Whom: Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#
PORTNAME= mad_fcl
PORTVERSION= 0.8
CATEGORIES= net ipv6
MASTER_SITES= http://www.atm.tut.fi/mad/download/
DISTNAME= ${PORTNAME}_v${PORTVERSION}_src
MAINTAINER= Janos.Mohacsi@bsd.hu
COMMENT= FLUTE - File Delivery over Unidirectional Transport implementation
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
USE_GMAKE= yes
USE_REINPLACE= yes
CFLAGS+= ${PTHREAD_CFLAGS}
DOC_FILES= fdt-example.xml flute-sdp-example.sdp
pre-patch:
# Fixing the end-of-lines:
for f in `${FIND} ${WRKSRC}/.. -type f` ; do \
${TR} -d '\015' < $$f > $$f.noms && \
${CAT} $$f.noms > $$f && ${RM} $$f.noms; done
post-patch:
${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/flute/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/flute ${PREFIX}/bin
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}
.endif
.include <bsd.port.mk>