30 lines
730 B
Makefile
30 lines
730 B
Makefile
# $OpenBSD: Makefile,v 1.2 1999/09/02 21:52:50 brad Exp $
|
|
|
|
DISTNAME= rtptools-1.9
|
|
CATEGORIES= mbone
|
|
MASTER_SITES= ftp://ftp.cs.columbia.edu/pub/schulzrinne/rtptools/
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
MAKE_ENV= ARCH=openbsd CC=cc
|
|
|
|
BINFILES= rtpdump rtpplay rtpsend rtptrans
|
|
DOCFILES= README CHANGES.html rtptools.html
|
|
|
|
post-extract:
|
|
@${LN} -s ${WRKSRC}/freebsd ${WRKSRC}/openbsd
|
|
@${LN} -s ${WRKSRC}/Makefile.freebsd ${WRKSRC}/Makefile.openbsd
|
|
|
|
do-install:
|
|
.for i in ${BINFILES}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/openbsd/${i} ${PREFIX}/bin
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/rtptools
|
|
.for i in ${DOCFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/rtptools
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|