aboutsummaryrefslogtreecommitdiff
path: root/devel/pwlib
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2003-08-28 07:58:51 +0000
committerRoger Hardiman <roger@FreeBSD.org>2003-08-28 07:58:51 +0000
commit72e610aa055f0036b7c55b04ad90e58b9ce081c5 (patch)
tree24271c29f3165dff0a592b07d88697becc57c500 /devel/pwlib
parent6dfae884310305643d29351bd388825b7c7f3c64 (diff)
downloadports-72e610aa055f0036b7c55b04ad90e58b9ce081c5.tar.gz
ports-72e610aa055f0036b7c55b04ad90e58b9ce081c5.zip
Notes
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 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