diff options
author | knu <knu@FreeBSD.org> | 2001-07-02 16:14:10 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-07-02 16:14:10 +0800 |
commit | 3e434ba9caa06192cc8ae333496ef6262dd157f9 (patch) | |
tree | e9b531922e4b2d5267de6323de01b8d719985fa5 /devel/rudiments | |
parent | 49813b803078e9c94d87fde47023b83ec8485641 (diff) | |
download | freebsd-ports-gnome-3e434ba9caa06192cc8ae333496ef6262dd157f9.tar.gz freebsd-ports-gnome-3e434ba9caa06192cc8ae333496ef6262dd157f9.tar.zst freebsd-ports-gnome-3e434ba9caa06192cc8ae333496ef6262dd157f9.zip |
Add rudiments, a utility C++ class library for daemons, clients,
servers and more.
Diffstat (limited to 'devel/rudiments')
-rw-r--r-- | devel/rudiments/Makefile | 26 | ||||
-rw-r--r-- | devel/rudiments/distinfo | 1 | ||||
-rw-r--r-- | devel/rudiments/files/patch-Makefile.in | 10 | ||||
-rw-r--r-- | devel/rudiments/files/patch-config.mk.in | 18 | ||||
-rw-r--r-- | devel/rudiments/files/patch-configure.in | 13 | ||||
-rw-r--r-- | devel/rudiments/files/patch-src::Makefile.in | 31 | ||||
-rw-r--r-- | devel/rudiments/pkg-comment | 1 | ||||
-rw-r--r-- | devel/rudiments/pkg-descr | 6 | ||||
-rw-r--r-- | devel/rudiments/pkg-plist | 50 |
9 files changed, 156 insertions, 0 deletions
diff --git a/devel/rudiments/Makefile b/devel/rudiments/Makefile new file mode 100644 index 000000000000..805c45fb3cec --- /dev/null +++ b/devel/rudiments/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: rudiments +# Date created: 2 July 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= rudiments +PORTVERSION= 0.20 +CATEGORIES= devel +MASTER_SITES= http://www.firstworks.com/downloads/rudiments/ + +MAINTAINER= knu@FreeBSD.org + +USE_GMAKE= yes +USE_AUTOCONF= yes +CONFIGURE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" + +INSTALLS_SHLIB= yes + +post-install: +.if !defined(NOPORTDOCS) + cd ${WRKSRC} && ${MAKE} doc-install +.endif + +.include <bsd.port.mk> diff --git a/devel/rudiments/distinfo b/devel/rudiments/distinfo new file mode 100644 index 000000000000..f01377cd8edf --- /dev/null +++ b/devel/rudiments/distinfo @@ -0,0 +1 @@ +MD5 (rudiments-0.20.tar.gz) = e0dcbc33d37d4937089ac0a07cfd3b65 diff --git a/devel/rudiments/files/patch-Makefile.in b/devel/rudiments/files/patch-Makefile.in new file mode 100644 index 000000000000..9702d6dc09a4 --- /dev/null +++ b/devel/rudiments/files/patch-Makefile.in @@ -0,0 +1,10 @@ +--- Makefile.in.orig Wed Jun 20 13:57:31 2001 ++++ Makefile.in Mon Jul 2 16:52:51 2001 +@@ -16,6 +16,7 @@ + install: + cd src; $(MAKE) install + cd include; $(MAKE) install ++doc-install: + cd doc; $(MAKE) install + + uninstall: diff --git a/devel/rudiments/files/patch-config.mk.in b/devel/rudiments/files/patch-config.mk.in new file mode 100644 index 000000000000..fd02a3e3a099 --- /dev/null +++ b/devel/rudiments/files/patch-config.mk.in @@ -0,0 +1,18 @@ +--- config.mk.in.orig Fri Jun 29 13:04:24 2001 ++++ config.mk.in Mon Jul 2 16:41:46 2001 +@@ -6,13 +6,13 @@ + prefix = @prefix@ + incdir = $(prefix)/include + libdir = $(prefix)/lib +-docdir = $(prefix)/doc/rudiments ++docdir = $(prefix)/share/doc/rudiments + + # compiler to use + CXX = @CXX@ + + # debug and optimization flags (-g, -O2, etc.) +-CXXFLAGS = -pedantic -w -O2 -fPIC @CXXFLAGS@ ++CXXFLAGS = -pedantic -w -fPIC @CXXFLAGS@ + + # command to build a shared object library + DYNAMICAR = ld -G -o diff --git a/devel/rudiments/files/patch-configure.in b/devel/rudiments/files/patch-configure.in new file mode 100644 index 000000000000..10ffd8ca6373 --- /dev/null +++ b/devel/rudiments/files/patch-configure.in @@ -0,0 +1,13 @@ +--- configure.in.orig Fri Jun 29 14:14:19 2001 ++++ configure.in Mon Jul 2 16:32:29 2001 +@@ -112,8 +112,8 @@ + VERSION="0.20" + AC_SUBST(VERSION) + AC_DEFINE_UNQUOTED(VERSION,"$VERSION",Version) +-CXXFLAGS="" +-CFLAGS="" ++#CXXFLAGS="" ++#CFLAGS="" + AC_PREFIX_DEFAULT(/usr/local/firstworks) + + dnl Output files. diff --git a/devel/rudiments/files/patch-src::Makefile.in b/devel/rudiments/files/patch-src::Makefile.in new file mode 100644 index 000000000000..1a512e60a2ae --- /dev/null +++ b/devel/rudiments/files/patch-src::Makefile.in @@ -0,0 +1,31 @@ +--- src/Makefile.in.orig Fri Jun 29 14:14:48 2001 ++++ src/Makefile.in Mon Jul 2 17:03:58 2001 +@@ -14,7 +14,7 @@ + all: + $(MAKE) ../lib/librudiments.a; \ + if ( test ! -n "@MINGW32@" -a ! -n "@CYGWIN@" -a ! -n "@UWIN@" ); then \ +- $(MAKE) ../lib/librudiments.so.$(VERSION); \ ++ $(MAKE) ../lib/librudiments.so.$(basename $(VERSION)); \ + else \ + $(MAKE) ../lib/librudiments.dll; \ + fi +@@ -28,7 +28,7 @@ + ../lib/librudiments.a: $(SRCS) $(OBJS) + $(STATICAR) $@ $(OBJS) + +-../lib/librudiments.so.$(VERSION): $(SRCS) $(OBJS) ++../lib/librudiments.so.$(basename $(VERSION)): $(SRCS) $(OBJS) + $(DYNAMICAR) $@ $(OBJS) + + ../lib/librudiments.dll: $(SRCS) $(OBJS) +@@ -41,8 +41,8 @@ + $(INSTALL) -m 644 ../lib/librudiments.a $(libdir); \ + if ( test ! -n "@MINGW32@" -a ! -n "@CYGWIN@" -a ! -n "@UWIN@" ); then \ + $(RM) $(libdir)/librudiments.so*; \ +- $(INSTALL) ../lib/librudiments.so.$(VERSION) $(libdir); \ +- $(SYMLINK) $(libdir)/librudiments.so.$(VERSION) $(libdir)/librudiments.so; \ ++ $(INSTALL) ../lib/librudiments.so.$(basename $(VERSION)) $(libdir); \ ++ $(SYMLINK) $(libdir)/librudiments.so.$(basename $(VERSION)) $(libdir)/librudiments.so; \ + else \ + $(INSTALL) ../lib/librudiments.lib $(libdir); \ + $(INSTALL) ../lib/librudiments.dll $(libdir); \ diff --git a/devel/rudiments/pkg-comment b/devel/rudiments/pkg-comment new file mode 100644 index 000000000000..2f27a7aeb40e --- /dev/null +++ b/devel/rudiments/pkg-comment @@ -0,0 +1 @@ +A utility C++ class library for daemons, clients, servers and more diff --git a/devel/rudiments/pkg-descr b/devel/rudiments/pkg-descr new file mode 100644 index 000000000000..5f47b17f3c6d --- /dev/null +++ b/devel/rudiments/pkg-descr @@ -0,0 +1,6 @@ +Rudiments is an Open Source C++ class library providing base classes +for things such as daemons, clients and servers, and wrapper classes +for the standard C functions for things like such as regular +expressions, semaphores and signal handling. + +WWW: http://www.firstworks.com/rudiments.html diff --git a/devel/rudiments/pkg-plist b/devel/rudiments/pkg-plist new file mode 100644 index 000000000000..162ffaebc5ab --- /dev/null +++ b/devel/rudiments/pkg-plist @@ -0,0 +1,50 @@ +include/client.h +include/commandline.h +include/daemonprocess.h +include/datetime.h +include/permissions.h +include/randomnumber.h +include/regularexpression.h +include/semaphoreset.h +include/sharedmemory.h +include/server.h +include/signalclasses.h +include/text.h +include/private/client.h +include/private/commandline.h +include/private/daemonprocess.h +include/private/regularexpression.h +include/private/semaphoreset.h +include/private/sharedmemory.h +include/private/server.h +include/private/signalhandler.h +include/private/signalset.h +include/private/datetime.h +@dirrm include/private +lib/librudiments.a +lib/librudiments.so +lib/librudiments.so.0 +%%PORTDOCS%%share/doc/rudiments/classes/client.h.html +%%PORTDOCS%%share/doc/rudiments/classes/commandline.h.html +%%PORTDOCS%%share/doc/rudiments/classes/daemonprocess.h.html +%%PORTDOCS%%share/doc/rudiments/classes/datetime.h.html +%%PORTDOCS%%share/doc/rudiments/classes/permissions.h.html +%%PORTDOCS%%share/doc/rudiments/classes/randomnumber.h.html +%%PORTDOCS%%share/doc/rudiments/classes/regularexpression.h.html +%%PORTDOCS%%share/doc/rudiments/classes/semaphoreset.h.html +%%PORTDOCS%%share/doc/rudiments/classes/server.h.html +%%PORTDOCS%%share/doc/rudiments/classes/sharedmemory.h.html +%%PORTDOCS%%share/doc/rudiments/classes/signalclasses.h.html +%%PORTDOCS%%share/doc/rudiments/classes/text.h.html +%%PORTDOCS%%share/doc/rudiments/css/styles.css +%%PORTDOCS%%share/doc/rudiments/guide.html +%%PORTDOCS%%share/doc/rudiments/index.html +%%PORTDOCS%%share/doc/rudiments/introduction.html +%%PORTDOCS%%share/doc/rudiments/invisible.gif +%%PORTDOCS%%share/doc/rudiments/programming/baseclasses.html +%%PORTDOCS%%share/doc/rudiments/programming/utilclasses.html +%%PORTDOCS%%share/doc/rudiments/reference.html +%%PORTDOCS%%@dirrm share/doc/rudiments/programming +%%PORTDOCS%%@dirrm share/doc/rudiments/css +%%PORTDOCS%%@dirrm share/doc/rudiments/classes +%%PORTDOCS%%@dirrm share/doc/rudiments |