aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2003-08-28 15:58:51 +0800
committerroger <roger@FreeBSD.org>2003-08-28 15:58:51 +0800
commit0e6efd07823e4db300c6c4124f028e2e62663a5d (patch)
tree566a0b0fda837360da4273bf8f5ac6c877453525 /devel
parentc7eb8af3e528e1d13352f097891b10bd8ba7a93b (diff)
downloadfreebsd-ports-gnome-0e6efd07823e4db300c6c4124f028e2e62663a5d.tar.gz
freebsd-ports-gnome-0e6efd07823e4db300c6c4124f028e2e62663a5d.tar.zst
freebsd-ports-gnome-0e6efd07823e4db300c6c4124f028e2e62663a5d.zip
Add PWlib 1.5.0, a cross platform C++ library which is used by OpenH323.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/pwlib/Makefile35
-rw-r--r--devel/pwlib/distinfo1
-rw-r--r--devel/pwlib/files/patch-unix70
-rw-r--r--devel/pwlib/pkg-descr12
-rw-r--r--devel/pwlib/pkg-plist0
-rw-r--r--devel/pwlib152/Makefile35
-rw-r--r--devel/pwlib152/distinfo1
-rw-r--r--devel/pwlib152/files/patch-unix70
-rw-r--r--devel/pwlib152/pkg-descr12
-rw-r--r--devel/pwlib152/pkg-plist0
11 files changed, 237 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e0e8f2345a43..ca2fca7f27c1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -823,6 +823,7 @@
SUBDIR += pth
SUBDIR += ptypes
SUBDIR += publib
+ SUBDIR += pwlib
SUBDIR += py-ansistyle
SUBDIR += py-ciphon
SUBDIR += py-coro
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile
new file mode 100644
index 000000000000..aae17c1f7484
--- /dev/null
+++ b/devel/pwlib/Makefile
@@ -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>
diff --git a/devel/pwlib/distinfo b/devel/pwlib/distinfo
new file mode 100644
index 000000000000..0126a1101fe7
--- /dev/null
+++ b/devel/pwlib/distinfo
@@ -0,0 +1 @@
+MD5 (pwlib_1.5.0.tar.gz) = e6bcdd121a85687c040f4871f24b7352
diff --git a/devel/pwlib/files/patch-unix b/devel/pwlib/files/patch-unix
new file mode 100644
index 000000000000..205bd870e479
--- /dev/null
+++ b/devel/pwlib/files/patch-unix
@@ -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
diff --git a/devel/pwlib/pkg-descr b/devel/pwlib/pkg-descr
new file mode 100644
index 000000000000..df064540dc9a
--- /dev/null
+++ b/devel/pwlib/pkg-descr
@@ -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/
diff --git a/devel/pwlib/pkg-plist b/devel/pwlib/pkg-plist
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/devel/pwlib/pkg-plist
diff --git a/devel/pwlib152/Makefile b/devel/pwlib152/Makefile
new file mode 100644
index 000000000000..aae17c1f7484
--- /dev/null
+++ b/devel/pwlib152/Makefile
@@ -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>
diff --git a/devel/pwlib152/distinfo b/devel/pwlib152/distinfo
new file mode 100644
index 000000000000..0126a1101fe7
--- /dev/null
+++ b/devel/pwlib152/distinfo
@@ -0,0 +1 @@
+MD5 (pwlib_1.5.0.tar.gz) = e6bcdd121a85687c040f4871f24b7352
diff --git a/devel/pwlib152/files/patch-unix b/devel/pwlib152/files/patch-unix
new file mode 100644
index 000000000000..205bd870e479
--- /dev/null
+++ b/devel/pwlib152/files/patch-unix
@@ -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
diff --git a/devel/pwlib152/pkg-descr b/devel/pwlib152/pkg-descr
new file mode 100644
index 000000000000..df064540dc9a
--- /dev/null
+++ b/devel/pwlib152/pkg-descr
@@ -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/
diff --git a/devel/pwlib152/pkg-plist b/devel/pwlib152/pkg-plist
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/devel/pwlib152/pkg-plist