freebsd-ports/net/callgen/Makefile
Sam Lawrance ae67238a95 - Add a bison %pure-parser declaration in pwlib. The build was
depending on old bison behaviour (#define YYPURE) which no longer
  works.  Fixes crash of opengk and maybe more.

- Bump PORTREVISION of ports using pwlib (they link with it statically)

PR:		ports/61053
Submitted by:	Andrew MacTaggart <amactaggart@hkis.edu.hk>
Approved by:	clement (mentor)
2005-05-16 02:45:10 +00:00

41 lines
1 KiB
Makefile

# Ports collection makefile for: callgen
# Whom: Jakub Klausa <jacke@bofh.pl>
# Date created: January 15 2004
#
# $FreeBSD$
PORTNAME= callgen
PORTVERSION= 1.2.6
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.openh323.org/bin/
DISTNAME= callgen323_${PORTVERSION}
MAINTAINER= jacke@bofh.pl
COMMENT= H.323 Call Generator
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/openh323:configure
NOCLEANDEPENDS= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/callgen323
MAKE_ENV= PWLIBDIR=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib/work/pwlib \
OPENH323DIR=${WRKDIRPREFIX}${.CURDIR}/../openh323/work/openh323
THE_MACHTYPE= ${ARCH:S/i386/x86/}
PLIST_FILES= bin/callgen323
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
.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/callgen323 ${PREFIX}/bin
.include <bsd.port.post.mk>