aboutsummaryrefslogtreecommitdiffstats
path: root/comms/pstngw/Makefile
blob: b38a9c0c39599e2f511d185c464fa37e61804ec6 (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
# New ports collection makefile for:  pstngw
# Date created:         Wed Apr 15 15:41:00 GMT 2000
# Whom:                 Jakub Klausa <jacke@bofh.pl>
#
# $FreeBSD$
#

PORTNAME=   pstngw
PORTVERSION=    1.2.2
CATEGORIES= comms
MASTER_SITES=   http://www.openh323.org/bin/
DISTNAME=   pstngw_${PORTVERSION}

MAINTAINER= jacke@bofh.pl
COMMENT=    Simple H.323-PSTN (POTS) gateway

BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/net/openh323:build

NOCLEANDEPENDS= yes

USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/pstngw
MAKE_ENV+=  PWLIBDIR=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib/work/pwlib \
        OPENH323DIR=${WRKDIRPREFIX}${.CURDIR}/../../net/openh323/work/openh323
THE_MACHTYPE=   ${ARCH:S/i386/x86/}

PLIST_FILES=    bin/pstngw

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=     "Does not build on amd64 (shared libraries must be compiled with -fPIC)"
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/obj_${OPSYS}_${THE_MACHTYPE}_d/pstngw ${PREFIX}/bin

.include <bsd.port.post.mk>