openbsd-ports/net/livemedia/Makefile
jakemsr bdd1e35648 maintainence update to live.2007.08.03a
mostly bugfixes

from brad@
2007-10-03 02:19:06 +00:00

66 lines
2.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2007/10/03 02:19:06 jakemsr Exp $
SHARED_ONLY= Yes
COMMENT= LIVE555 streaming media library
DISTNAME= live.2007.08.03a
PKGNAME= liveMedia-20070803a
CATEGORIES= net devel
MASTER_SITES= http://comstyle.com/source/
HOMEPAGE= http://www.live555.com/liveMedia/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
CONFIGURE_STYLE=simple
CONFIGURE_SCRIPT=genMakefiles
CONFIGURE_ARGS= fixed-openbsd
WRKDIST= ${WRKDIR}/live
NO_REGRESS= Yes
CFLAGS+= -fPIC
post-extract:
@cp -f ${FILESDIR}/config.fixed-openbsd ${WRKSRC}/
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/live
${INSTALL_DATA_DIR} ${PREFIX}/live/groupsock
${INSTALL_DATA_DIR} ${PREFIX}/live/liveMedia
${INSTALL_DATA_DIR} ${PREFIX}/live/UsageEnvironment
${INSTALL_DATA_DIR} ${PREFIX}/live/BasicUsageEnvironment
${INSTALL_DATA_DIR} ${PREFIX}/live/groupsock/include
${INSTALL_DATA_DIR} ${PREFIX}/live/liveMedia/include
${INSTALL_DATA_DIR} ${PREFIX}/live/UsageEnvironment/include
${INSTALL_DATA_DIR} ${PREFIX}/live/BasicUsageEnvironment/include
${INSTALL_PROGRAM} ${WRKSRC}/testProgs/playSIP ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/testProgs/openRTSP ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/testProgs/sapWatch ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/BasicUsageEnvironment/libBasicUsageEnvironment.a \
${PREFIX}/live/BasicUsageEnvironment/
${INSTALL_DATA} ${WRKSRC}/UsageEnvironment/libUsageEnvironment.a \
${PREFIX}/live/UsageEnvironment/
${INSTALL_DATA} ${WRKSRC}/groupsock/libgroupsock.a \
${PREFIX}/live/groupsock/
${INSTALL_DATA} ${WRKSRC}/liveMedia/libliveMedia.a \
${PREFIX}/live/liveMedia/
cd ${WRKSRC}/BasicUsageEnvironment/include && \
${INSTALL_DATA} *.hh ${PREFIX}/live/BasicUsageEnvironment/include/
cd ${WRKSRC}/UsageEnvironment/include && \
${INSTALL_DATA} *.hh ${PREFIX}/live/UsageEnvironment/include/
cd ${WRKSRC}/groupsock/include && \
${INSTALL_DATA} *.h *.hh ${PREFIX}/live/groupsock/include/
cd ${WRKSRC}/liveMedia/include && \
${INSTALL_DATA} *.hh ${PREFIX}/live/liveMedia/include/
.include <bsd.port.mk>