aboutsummaryrefslogtreecommitdiffstats
path: root/net/ohphone/Makefile
blob: 71773348d07626014584b270f9d2a0fb0d8d0b6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Created by: Roger Hardiman <roger@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ohphone
PORTVERSION=    1.4.5
PORTREVISION=   10
CATEGORIES= net
MASTER_SITES=   ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/distfiles/

MAINTAINER= ports@FreeBSD.org
COMMENT=    H323 Video Conferencing Program, compatible with NetMeeting

LICENSE=    MPL

LIB_DEPENDS=    libh323_r.so:net/openh323

USES=       bison gmake
ALL_TARGET= optshared
MAKE_ENV=   PWLIBDIR=${LOCALBASE}/share/pwlib \
        OPENH323DIR=${LOCALBASE}/share/openh323 \
        SYSLIBDIR=${LOCALBASE}/lib
MAKE_ARGS=  OSTYPE=${OPSYS} MACHTYPE=${ARCH:S/i386/x86/} \
        OSRELEASE=${OSVERSION} CPLUS=${CXX}
USE_GCC=    any

PLIST_SUB=  PORTNAME=${PORTNAME}
DOCSDIR=    ${PREFIX}/share/doc/openh323
EXAMPLESDIR=    ${PREFIX}/share/examples/openh323

PLIST_FILES=    bin/${PORTNAME} \
        man/man1/${PORTNAME}.1.gz
PORTDOCS=   *
PORTEXAMPLES=   *

OPTIONS_DEFINE= DOCS EXAMPLES

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/obj_r/ohphone ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/ohphone.1 ${STAGEDIR}${PREFIX}/man/man1

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${STAGEDIR}${DOCSDIR}/${PORTNAME}

do-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/check_listen.awk ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/regtest ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/stresstest ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}

.include <bsd.port.mk>