mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Add PWlib 1.5.0, a cross platform C++ library which is used by OpenH323.
This commit is contained in:
parent
6dfae88431
commit
72e610aa05
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87860
@ -823,6 +823,7 @@
|
|||||||
SUBDIR += pth
|
SUBDIR += pth
|
||||||
SUBDIR += ptypes
|
SUBDIR += ptypes
|
||||||
SUBDIR += publib
|
SUBDIR += publib
|
||||||
|
SUBDIR += pwlib
|
||||||
SUBDIR += py-ansistyle
|
SUBDIR += py-ansistyle
|
||||||
SUBDIR += py-ciphon
|
SUBDIR += py-ciphon
|
||||||
SUBDIR += py-coro
|
SUBDIR += py-coro
|
||||||
|
35
devel/pwlib/Makefile
Normal file
35
devel/pwlib/Makefile
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# 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
|
||||||
|
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.4:${PORTSDIR}/textproc/expat2
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
|
USE_BISON= yes
|
||||||
|
|
||||||
|
USE_GMAKE= yes
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
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}
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
# ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
devel/pwlib/distinfo
Normal file
1
devel/pwlib/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (pwlib_1.5.0.tar.gz) = e6bcdd121a85687c040f4871f24b7352
|
70
devel/pwlib/files/patch-unix
Normal file
70
devel/pwlib/files/patch-unix
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
*** make/unix.mak.orig Thu Aug 28 08:39:18 2003
|
||||||
|
--- make/unix.mak Thu Aug 28 08:42:30 2003
|
||||||
|
*************** endif # linux
|
||||||
|
*** 338,348 ****
|
||||||
|
|
||||||
|
ifeq ($(OSTYPE),FreeBSD)
|
||||||
|
|
||||||
|
! ifeq ($(MACHTYPE),x86)
|
||||||
|
! ifdef CPUTYPE
|
||||||
|
! STDCCFLAGS += -mcpu=$(CPUTYPE)
|
||||||
|
! endif
|
||||||
|
! endif
|
||||||
|
|
||||||
|
ifndef OSRELEASE
|
||||||
|
OSRELEASE := $(shell sysctl -n kern.osreldate)
|
||||||
|
--- 338,348 ----
|
||||||
|
|
||||||
|
ifeq ($(OSTYPE),FreeBSD)
|
||||||
|
|
||||||
|
! #ifeq ($(MACHTYPE),x86)
|
||||||
|
! #ifdef CPUTYPE
|
||||||
|
! #STDCCFLAGS += -mcpu=$(CPUTYPE)
|
||||||
|
! #endif
|
||||||
|
! #endif
|
||||||
|
|
||||||
|
ifndef OSRELEASE
|
||||||
|
OSRELEASE := $(shell sysctl -n kern.osreldate)
|
||||||
|
*************** SHELL := /bin/sh
|
||||||
|
*** 871,881 ****
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
|
||||||
|
! ifdef PREFIX
|
||||||
|
! UNIX_INC_DIR = $(PREFIX)/include/ptlib/unix
|
||||||
|
! else
|
||||||
|
UNIX_INC_DIR = $(PWLIBDIR)/include/ptlib/unix
|
||||||
|
! endif
|
||||||
|
|
||||||
|
ifndef UNIX_SRC_DIR
|
||||||
|
UNIX_SRC_DIR = $(PWLIBDIR)/src/ptlib/unix
|
||||||
|
--- 871,881 ----
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
|
||||||
|
! ##ifdef PREFIX
|
||||||
|
! ##UNIX_INC_DIR = $(PREFIX)/include/ptlib/unix
|
||||||
|
! ##else
|
||||||
|
UNIX_INC_DIR = $(PWLIBDIR)/include/ptlib/unix
|
||||||
|
! ##endif
|
||||||
|
|
||||||
|
ifndef UNIX_SRC_DIR
|
||||||
|
UNIX_SRC_DIR = $(PWLIBDIR)/src/ptlib/unix
|
||||||
|
*************** LDFLAGS += $(DEBLDFLAGS)
|
||||||
|
*** 912,918 ****
|
||||||
|
else
|
||||||
|
|
||||||
|
ifneq ($(OSTYPE),Darwin)
|
||||||
|
! OPTCCFLAGS += -O3 -DNDEBUG
|
||||||
|
else
|
||||||
|
OPTCCFLAGS += -O2 -DNDEBUG
|
||||||
|
endif
|
||||||
|
--- 912,919 ----
|
||||||
|
else
|
||||||
|
|
||||||
|
ifneq ($(OSTYPE),Darwin)
|
||||||
|
! # OPTCCFLAGS += -O3 -DNDEBUG
|
||||||
|
! OPTCCFLAGS += -DNDEBUG
|
||||||
|
else
|
||||||
|
OPTCCFLAGS += -O2 -DNDEBUG
|
||||||
|
endif
|
12
devel/pwlib/pkg-descr
Normal file
12
devel/pwlib/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
PWLib is a multi-platform code library that can be used to write
|
||||||
|
applications that will compile and run on the BSD Unixes, Windows, Linux
|
||||||
|
and a few other Unix variants. It was developed by Equivalence Ltd Pty.
|
||||||
|
|
||||||
|
It is used by the OpenH323 library.
|
||||||
|
|
||||||
|
NOTE: This port does not install anything.
|
||||||
|
The ports which use pwlib all look inside their local
|
||||||
|
pwlib port directory for the library and header files
|
||||||
|
and are compiled statically.
|
||||||
|
|
||||||
|
WWW: http://www.openh323.org/
|
0
devel/pwlib/pkg-plist
Normal file
0
devel/pwlib/pkg-plist
Normal file
35
devel/pwlib152/Makefile
Normal file
35
devel/pwlib152/Makefile
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# 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
|
||||||
|
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.4:${PORTSDIR}/textproc/expat2
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
|
USE_BISON= yes
|
||||||
|
|
||||||
|
USE_GMAKE= yes
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
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}
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
# ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
devel/pwlib152/distinfo
Normal file
1
devel/pwlib152/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (pwlib_1.5.0.tar.gz) = e6bcdd121a85687c040f4871f24b7352
|
70
devel/pwlib152/files/patch-unix
Normal file
70
devel/pwlib152/files/patch-unix
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
*** make/unix.mak.orig Thu Aug 28 08:39:18 2003
|
||||||
|
--- make/unix.mak Thu Aug 28 08:42:30 2003
|
||||||
|
*************** endif # linux
|
||||||
|
*** 338,348 ****
|
||||||
|
|
||||||
|
ifeq ($(OSTYPE),FreeBSD)
|
||||||
|
|
||||||
|
! ifeq ($(MACHTYPE),x86)
|
||||||
|
! ifdef CPUTYPE
|
||||||
|
! STDCCFLAGS += -mcpu=$(CPUTYPE)
|
||||||
|
! endif
|
||||||
|
! endif
|
||||||
|
|
||||||
|
ifndef OSRELEASE
|
||||||
|
OSRELEASE := $(shell sysctl -n kern.osreldate)
|
||||||
|
--- 338,348 ----
|
||||||
|
|
||||||
|
ifeq ($(OSTYPE),FreeBSD)
|
||||||
|
|
||||||
|
! #ifeq ($(MACHTYPE),x86)
|
||||||
|
! #ifdef CPUTYPE
|
||||||
|
! #STDCCFLAGS += -mcpu=$(CPUTYPE)
|
||||||
|
! #endif
|
||||||
|
! #endif
|
||||||
|
|
||||||
|
ifndef OSRELEASE
|
||||||
|
OSRELEASE := $(shell sysctl -n kern.osreldate)
|
||||||
|
*************** SHELL := /bin/sh
|
||||||
|
*** 871,881 ****
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
|
||||||
|
! ifdef PREFIX
|
||||||
|
! UNIX_INC_DIR = $(PREFIX)/include/ptlib/unix
|
||||||
|
! else
|
||||||
|
UNIX_INC_DIR = $(PWLIBDIR)/include/ptlib/unix
|
||||||
|
! endif
|
||||||
|
|
||||||
|
ifndef UNIX_SRC_DIR
|
||||||
|
UNIX_SRC_DIR = $(PWLIBDIR)/src/ptlib/unix
|
||||||
|
--- 871,881 ----
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
|
||||||
|
! ##ifdef PREFIX
|
||||||
|
! ##UNIX_INC_DIR = $(PREFIX)/include/ptlib/unix
|
||||||
|
! ##else
|
||||||
|
UNIX_INC_DIR = $(PWLIBDIR)/include/ptlib/unix
|
||||||
|
! ##endif
|
||||||
|
|
||||||
|
ifndef UNIX_SRC_DIR
|
||||||
|
UNIX_SRC_DIR = $(PWLIBDIR)/src/ptlib/unix
|
||||||
|
*************** LDFLAGS += $(DEBLDFLAGS)
|
||||||
|
*** 912,918 ****
|
||||||
|
else
|
||||||
|
|
||||||
|
ifneq ($(OSTYPE),Darwin)
|
||||||
|
! OPTCCFLAGS += -O3 -DNDEBUG
|
||||||
|
else
|
||||||
|
OPTCCFLAGS += -O2 -DNDEBUG
|
||||||
|
endif
|
||||||
|
--- 912,919 ----
|
||||||
|
else
|
||||||
|
|
||||||
|
ifneq ($(OSTYPE),Darwin)
|
||||||
|
! # OPTCCFLAGS += -O3 -DNDEBUG
|
||||||
|
! OPTCCFLAGS += -DNDEBUG
|
||||||
|
else
|
||||||
|
OPTCCFLAGS += -O2 -DNDEBUG
|
||||||
|
endif
|
12
devel/pwlib152/pkg-descr
Normal file
12
devel/pwlib152/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
PWLib is a multi-platform code library that can be used to write
|
||||||
|
applications that will compile and run on the BSD Unixes, Windows, Linux
|
||||||
|
and a few other Unix variants. It was developed by Equivalence Ltd Pty.
|
||||||
|
|
||||||
|
It is used by the OpenH323 library.
|
||||||
|
|
||||||
|
NOTE: This port does not install anything.
|
||||||
|
The ports which use pwlib all look inside their local
|
||||||
|
pwlib port directory for the library and header files
|
||||||
|
and are compiled statically.
|
||||||
|
|
||||||
|
WWW: http://www.openh323.org/
|
0
devel/pwlib152/pkg-plist
Normal file
0
devel/pwlib152/pkg-plist
Normal file
Loading…
Reference in New Issue
Block a user