summaryrefslogtreecommitdiffstats
path: root/devel/pwlib
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2003-08-28 07:58:51 +0000
committerroger <roger@FreeBSD.org>2003-08-28 07:58:51 +0000
commit0e6efd07823e4db300c6c4124f028e2e62663a5d (patch)
tree566a0b0fda837360da4273bf8f5ac6c877453525 /devel/pwlib
parentc7eb8af3e528e1d13352f097891b10bd8ba7a93b (diff)
downloadFreeBSD-ports-0e6efd07823e4db300c6c4124f028e2e62663a5d.zip
FreeBSD-ports-0e6efd07823e4db300c6c4124f028e2e62663a5d.tar.gz
Add PWlib 1.5.0, a cross platform C++ library which is used by OpenH323.
Diffstat (limited to 'devel/pwlib')
-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
5 files changed, 118 insertions, 0 deletions
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile
new file mode 100644
index 0000000..aae17c1
--- /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 0000000..0126a11
--- /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 0000000..205bd87
--- /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 0000000..df06454
--- /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 0000000..e69de29
--- /dev/null
+++ b/devel/pwlib/pkg-plist
OpenPOWER on IntegriCloud