aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pwlib/Makefile
blob: 6c1c42b57c5dacdc85475a52f6cd87ec12e80529 (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
# New ports collection makefile for:    pwlib
# Date created:     Fri Aug 22 07:11:44 GMT 2003
# Whom:         Roger Hardiman <roger@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   pwlib
PORTVERSION=    1.5.0
PORTREVISION=   5
CATEGORIES= devel
MASTER_SITES=   http://www.openh323.org/bin/ \
        http://www.de.openh323.org/bin/ \
        http://www.gnomemeeting.org/downloads/0.98.0/sources/
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= roger@FreeBSD.org
COMMENT=    A cross platform C++ library, used by OpenH323

LIB_DEPENDS=    expat.5:${PORTSDIR}/textproc/expat2

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_BISON=  yes
USE_GMAKE=  yes
USE_OPENLDAP=   yes
USE_AUTOCONF_VER=   253
CONFIGURE_ENV=  OSRELEASE=${OSVERSION}
ALL_TARGET= optnoshared
MAKE_ENV=   PWLIBDIR=${WRKDIR}/pwlib
THE_MACHTYPE=   ${ARCH:S/i386/x86/}
MAKE_ARGS=  OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 502101
ONLY_FOR_ARCHS= i386
.endif

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

.include <bsd.port.post.mk>