openbsd-ports/telephony/ohphone/Makefile
ajacoutot 2791facafa - upgrade from 1.4.14 to 1.4.5v0 (!)
- make it compile with new pwlib
- add some documentation
2008-03-15 17:40:38 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2008/03/15 17:40:38 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= H.323 IP telephony endpoint
DISTNAME= ohphone-1.4.5
PKGNAME= ${DISTNAME}v0
CATEGORIES= telephony net
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# MPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.bsdfrog.org/OpenBSD/distfiles/
WANTLIB= X11 Xext avutil c crypto expat m ossaudio pt pthread \
ssl stdc++
LIB_DEPENDS= h323.>=2::net/openh323
USE_X11= Yes
USE_GMAKE= Yes
ALL_TARGET= optshared
NO_REGRESS= Yes
MAKE_ENV+= CC=${CC} CPLUS=${CXX} \
OPENH323DIR=${LOCALBASE}/share/openh323/ \
PWLIBDIR=`ptlib-config --pwlibdir` \
SYSLIBDIR=`ptlib-config --libdir` \
STDCCFLAGS="${STDCCFLAGS} -I${LOCALBASE}/include/openh323"
post-install:
${INSTALL_MAN_DIR} ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/ohphone.1 ${PREFIX}/man/man1/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ohphone
.for i in ReadMe.txt check_listen.awk regtest stresstest
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/ohphone
.endfor
.include <bsd.port.mk>