aboutsummaryrefslogtreecommitdiffstats
path: root/net/openh323/Makefile
blob: 32aa372d0921e78f19b45246f4286a2aac8e7f5a (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
# New ports collection makefile for:    openh323
# Date created:     Thu Feb 17 15:00:48 GMT 2000
# Whom:         Roger Hardiman <roger@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   openh323
PORTVERSION=    1.7.0
CATEGORIES= net
MASTER_SITES=   http://www.openh323.org/bin/ \
        http://www.de.openh323.org/bin/ \
        http://www.ru.openh323.org/bin/
DISTFILES=  openh323_1.7.0.tar.gz \
        pwlib_1.2.0.tar.gz

MAINTAINER= roger@freebsd.org

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_NEWGCC= yes
USE_BISON=  yes

USE_GMAKE=  yes
ALL_TARGET= opt
MAKE_ENV=   PWLIBDIR=${WRKDIR}/pwlib \
        OPENH323DIR=${WRKDIR}/openh323
THE_MACHTYPE=   ${ARCH:S/i386/x86/}
MAKE_ARGS=  OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin

.include <bsd.port.mk>