openbsd-ports/net/openh323/Makefile

60 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.2 2002/08/02 21:28:34 naddy Exp $
BROKEN= "incomplete port"
COMMENT= "H.323 Video Conferencing library"
VERSION= 1.8.5
DISTNAME= openh323_${VERSION}
CATEGORIES= net
HOMEPAGE= http://www.openh323.org
MAINTAINER= Damien Couderc <couderc@openbsd.org>
# MPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.openh323.org/bin/ \
http://www.de.openh323.org/bin/
DISTFILES= openh323_${VERSION}.tar.gz \
pwlib_1.2.17.tar.gz
BUILD_DEPENDS= ::devel/bison
USE_GMAKE= Yes
VMEM_WARNING= Yes
ALL_TARGET= opt
MAKE_FLAGS= CC="${CC}"
MAKE_ENV= PWLIBDIR=${WRKDIR}/pwlib \
OPENH323DIR=${WRKDIR}/openh323
WRKDIST= ${WRKDIR}
WRKSRC= ${WRKDIST}/openh323
PWLDIR= ${WRKDIST}/pwlib
OPHDIR= ${WRKDIST}/openh323
do-install:
${INSTALL_DATA} ${PWLDIR}/include/ptlib.h ${PREFIX}/include
${INSTALL_DATA_DIR} ${PREFIX}/include/ptclib
${INSTALL_DATA} ${PWLDIR}/include/ptclib/*.h ${PREFIX}/include/ptclib
${INSTALL_DATA_DIR} ${PREFIX}/include/ptlib
${INSTALL_DATA} ${PWLDIR}/include/ptlib/*.h ${PREFIX}/include/ptlib
${INSTALL_DATA} ${PWLDIR}/lib/libpt.so.* ${PREFIX}/lib
${INSTALL_DATA} ${PWLDIR}/lib/libpt.a ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/include/openh323
${INSTALL_DATA} ${OPHDIR}/include/*.h ${PREFIX}/include/openh323
${INSTALL_DATA} ${OPHDIR}/lib/libh323.so.* ${PREFIX}/lib
${INSTALL_DATA} ${OPHDIR}/lib/libh323.a ${PREFIX}/lib
${INSTALL_PROGRAM} ${OPHDIR}/samples/simple/obj_OpenBSD_*_r/simph323 ${PREFIX}/bin
.include <bsd.port.mk>