diff options
author | nakai <nakai@FreeBSD.org> | 2002-06-27 05:57:24 +0000 |
---|---|---|
committer | nakai <nakai@FreeBSD.org> | 2002-06-27 05:57:24 +0000 |
commit | babca37e3aaa59bcdd49a1db23ded251afe19f23 (patch) | |
tree | 991814c74d2f71f145a8fd6a56359452b4cccf2b /net | |
parent | 6c203a32578d0531dd36642d600990e5484420f8 (diff) | |
download | FreeBSD-ports-babca37e3aaa59bcdd49a1db23ded251afe19f23.zip FreeBSD-ports-babca37e3aaa59bcdd49a1db23ded251afe19f23.tar.gz |
Update to 1.1.4
Submitted by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/gnet-glib2/Makefile | 29 | ||||
-rw-r--r-- | net/gnet-glib2/distinfo | 2 | ||||
-rw-r--r-- | net/gnet-glib2/files/patch-ac | 11 | ||||
-rw-r--r-- | net/gnet-glib2/files/patch-ad | 13 | ||||
-rw-r--r-- | net/gnet-glib2/files/patch-ae | 11 | ||||
-rw-r--r-- | net/gnet-glib2/pkg-plist | 15 | ||||
-rw-r--r-- | net/gnet/Makefile | 29 | ||||
-rw-r--r-- | net/gnet/distinfo | 2 | ||||
-rw-r--r-- | net/gnet/files/patch-ac | 11 | ||||
-rw-r--r-- | net/gnet/files/patch-ad | 13 | ||||
-rw-r--r-- | net/gnet/files/patch-ae | 11 | ||||
-rw-r--r-- | net/gnet/pkg-plist | 15 | ||||
-rw-r--r-- | net/gnet2/Makefile | 29 | ||||
-rw-r--r-- | net/gnet2/distinfo | 2 | ||||
-rw-r--r-- | net/gnet2/files/patch-ac | 11 | ||||
-rw-r--r-- | net/gnet2/files/patch-ad | 13 | ||||
-rw-r--r-- | net/gnet2/files/patch-ae | 11 | ||||
-rw-r--r-- | net/gnet2/pkg-plist | 15 |
18 files changed, 114 insertions, 129 deletions
diff --git a/net/gnet-glib2/Makefile b/net/gnet-glib2/Makefile index 416e763..5b57166 100644 --- a/net/gnet-glib2/Makefile +++ b/net/gnet-glib2/Makefile @@ -6,14 +6,41 @@ # PORTNAME= gnet -PORTVERSION= 1.1.0 +PORTVERSION= 1.1.4 CATEGORIES= net MASTER_SITES= http://www.gnetlibrary.org/src/ MAINTAINER= nakai@FreeBSD.org +USE_REINPLACE= yes USE_GLIB= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes +MAN1= gnet-config.1 + +post-patch: +# fix pthreads detection + @${REINPLACE_CMD} -E -e 's,-lpthread|-lc_r,${PTHREAD_LIBS},' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +# remove "release" information from lib name + @${REINPLACE_CMD} -E -e 's|-release[ ]+\$$\(LT_RELEASE\)||g' \ + ${WRKSRC}/src/Makefile.in +# don't install gnet-config script with odd name. We will install it ourselves + @${REINPLACE_CMD} -E -e 's|^(install-exec-am:).+$$|\1|' \ + ${WRKSRC}/Makefile.in +# install gnet-config.1 man (not another name). Revise at EVERY port update + @${REINPLACE_CMD} -e 's|\$$\$$inst|\$$\$$file|g' \ + ${WRKSRC}/doc/Makefile.in +# install configincludedir correctly + @${REINPLACE_CMD} -E -e 's|^(configincludedir).+$$|\1=\$$\(pkgincludedir\)|' \ + ${WRKSRC}/Makefile.in +# install *.pc files in correct FreeBSD dir + @${REINPLACE_CMD} -E -e \ + 's|^(pkgconfigdir[ ]+=[ ]+)\$$\(libdir\)/(pkgconfig)|\1${PREFIX}/libdata/\2|' \ + ${WRKSRC}/Makefile.in + +post-install: + @${INSTALL_SCRIPT} ${WRKSRC}/gnet-config ${PREFIX}/bin + .include <bsd.port.mk> diff --git a/net/gnet-glib2/distinfo b/net/gnet-glib2/distinfo index 9a62b82..f80821c 100644 --- a/net/gnet-glib2/distinfo +++ b/net/gnet-glib2/distinfo @@ -1 +1 @@ -MD5 (gnet-1.1.0.tar.gz) = ad7aef2f1de593e548134922472d3b98 +MD5 (gnet-1.1.4.tar.gz) = dbd03fc1bd34d611671a83564a225bb1 diff --git a/net/gnet-glib2/files/patch-ac b/net/gnet-glib2/files/patch-ac deleted file mode 100644 index 5124d59..0000000 --- a/net/gnet-glib2/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.in.orig Mon Feb 28 18:47:45 2000 -+++ src/Makefile.in Mon Feb 28 18:48:34 2000 -@@ -93,7 +93,7 @@ - - lib_LTLIBRARIES = libgnet.la - --libgnet_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -+libgnet_la_LDFLAGS = -version-info 0:0:0 - - - libgnet_la_SOURCES = gnet.c gnet-private.c inetaddr.c mcast.c tcp.c udp.c diff --git a/net/gnet-glib2/files/patch-ad b/net/gnet-glib2/files/patch-ad deleted file mode 100644 index 5d8440e..0000000 --- a/net/gnet-glib2/files/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ ---- configure.orig Tue Apr 11 15:56:56 2000 -+++ configure Thu Jun 15 13:51:43 2000 -@@ -2238,8 +2238,8 @@ - rm -f conf.glibtest - - --glib_cflags=`glib-config --cflags glib` --glib_libs=`glib-config --libs glib` -+glib_cflags=`$GLIB_CONFIG --cflags glib` -+glib_libs=`$GLIB_CONFIG --libs glib` - - - diff --git a/net/gnet-glib2/files/patch-ae b/net/gnet-glib2/files/patch-ae deleted file mode 100644 index ef5a0a5..0000000 --- a/net/gnet-glib2/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in 2000/11/25 13:34:07 1.1 -+++ Makefile.in 2000/11/25 13:34:59 -@@ -99,7 +99,7 @@ - m4datadir = $(datadir)/aclocal - m4data_DATA = gnet.m4 - --configincludedir = $(pkglibdir)/include -+configincludedir = $(pkgincludedir) - configinclude_DATA = gnetconfig.h - - WEBPATH = $(HOME)/public_html/misc/gnet diff --git a/net/gnet-glib2/pkg-plist b/net/gnet-glib2/pkg-plist index a8e06ad..0a1adae 100644 --- a/net/gnet-glib2/pkg-plist +++ b/net/gnet-glib2/pkg-plist @@ -9,15 +9,18 @@ include/gnet/md5.h include/gnet/pack.h include/gnet/server.h include/gnet/sha.h +include/gnet/socks.h include/gnet/tcp.h include/gnet/udp.h +include/gnet/unix.h include/gnet/url.h lib/libgnet.a +lib/libgnet.la lib/libgnet.so -lib/libgnet.so.0 +lib/libgnet.so.1 +libdata/pkgconfig/gnet.pc share/aclocal/gnet.m4 share/doc/libgnet1.1-dev/html/book1.html -share/doc/libgnet1.1-dev/html/dnstest.html share/doc/libgnet1.1-dev/html/gnet-conn.html share/doc/libgnet1.1-dev/html/gnet-developers-tips.html share/doc/libgnet1.1-dev/html/gnet-developers.html @@ -31,18 +34,18 @@ share/doc/libgnet1.1-dev/html/gnet-overview.html share/doc/libgnet1.1-dev/html/gnet-pack.html share/doc/libgnet1.1-dev/html/gnet-server.html share/doc/libgnet1.1-dev/html/gnet-sha.html +share/doc/libgnet1.1-dev/html/gnet-socks.html share/doc/libgnet1.1-dev/html/gnet-tcp.html share/doc/libgnet1.1-dev/html/gnet-udp.html +share/doc/libgnet1.1-dev/html/gnet-unix.html share/doc/libgnet1.1-dev/html/gnet-url.html share/doc/libgnet1.1-dev/html/hfetch.html -share/doc/libgnet1.1-dev/html/hostinfo.html share/doc/libgnet1.1-dev/html/index.html share/doc/libgnet1.1-dev/html/index.sgml -share/doc/libgnet1.1-dev/html/jmtransfer.html share/doc/libgnet1.1-dev/html/libgnet-reference.html -share/doc/libgnet1.1-dev/html/ljoust.html share/doc/libgnet1.1-dev/html/sdr.html share/doc/libgnet1.1-dev/html/tests.html -@dirrm include/gnet @dirrm share/doc/libgnet1.1-dev/html @dirrm share/doc/libgnet1.1-dev +@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true +@dirrm include/gnet diff --git a/net/gnet/Makefile b/net/gnet/Makefile index 416e763..5b57166 100644 --- a/net/gnet/Makefile +++ b/net/gnet/Makefile @@ -6,14 +6,41 @@ # PORTNAME= gnet -PORTVERSION= 1.1.0 +PORTVERSION= 1.1.4 CATEGORIES= net MASTER_SITES= http://www.gnetlibrary.org/src/ MAINTAINER= nakai@FreeBSD.org +USE_REINPLACE= yes USE_GLIB= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes +MAN1= gnet-config.1 + +post-patch: +# fix pthreads detection + @${REINPLACE_CMD} -E -e 's,-lpthread|-lc_r,${PTHREAD_LIBS},' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +# remove "release" information from lib name + @${REINPLACE_CMD} -E -e 's|-release[ ]+\$$\(LT_RELEASE\)||g' \ + ${WRKSRC}/src/Makefile.in +# don't install gnet-config script with odd name. We will install it ourselves + @${REINPLACE_CMD} -E -e 's|^(install-exec-am:).+$$|\1|' \ + ${WRKSRC}/Makefile.in +# install gnet-config.1 man (not another name). Revise at EVERY port update + @${REINPLACE_CMD} -e 's|\$$\$$inst|\$$\$$file|g' \ + ${WRKSRC}/doc/Makefile.in +# install configincludedir correctly + @${REINPLACE_CMD} -E -e 's|^(configincludedir).+$$|\1=\$$\(pkgincludedir\)|' \ + ${WRKSRC}/Makefile.in +# install *.pc files in correct FreeBSD dir + @${REINPLACE_CMD} -E -e \ + 's|^(pkgconfigdir[ ]+=[ ]+)\$$\(libdir\)/(pkgconfig)|\1${PREFIX}/libdata/\2|' \ + ${WRKSRC}/Makefile.in + +post-install: + @${INSTALL_SCRIPT} ${WRKSRC}/gnet-config ${PREFIX}/bin + .include <bsd.port.mk> diff --git a/net/gnet/distinfo b/net/gnet/distinfo index 9a62b82..f80821c 100644 --- a/net/gnet/distinfo +++ b/net/gnet/distinfo @@ -1 +1 @@ -MD5 (gnet-1.1.0.tar.gz) = ad7aef2f1de593e548134922472d3b98 +MD5 (gnet-1.1.4.tar.gz) = dbd03fc1bd34d611671a83564a225bb1 diff --git a/net/gnet/files/patch-ac b/net/gnet/files/patch-ac deleted file mode 100644 index 5124d59..0000000 --- a/net/gnet/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.in.orig Mon Feb 28 18:47:45 2000 -+++ src/Makefile.in Mon Feb 28 18:48:34 2000 -@@ -93,7 +93,7 @@ - - lib_LTLIBRARIES = libgnet.la - --libgnet_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -+libgnet_la_LDFLAGS = -version-info 0:0:0 - - - libgnet_la_SOURCES = gnet.c gnet-private.c inetaddr.c mcast.c tcp.c udp.c diff --git a/net/gnet/files/patch-ad b/net/gnet/files/patch-ad deleted file mode 100644 index 5d8440e..0000000 --- a/net/gnet/files/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ ---- configure.orig Tue Apr 11 15:56:56 2000 -+++ configure Thu Jun 15 13:51:43 2000 -@@ -2238,8 +2238,8 @@ - rm -f conf.glibtest - - --glib_cflags=`glib-config --cflags glib` --glib_libs=`glib-config --libs glib` -+glib_cflags=`$GLIB_CONFIG --cflags glib` -+glib_libs=`$GLIB_CONFIG --libs glib` - - - diff --git a/net/gnet/files/patch-ae b/net/gnet/files/patch-ae deleted file mode 100644 index ef5a0a5..0000000 --- a/net/gnet/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in 2000/11/25 13:34:07 1.1 -+++ Makefile.in 2000/11/25 13:34:59 -@@ -99,7 +99,7 @@ - m4datadir = $(datadir)/aclocal - m4data_DATA = gnet.m4 - --configincludedir = $(pkglibdir)/include -+configincludedir = $(pkgincludedir) - configinclude_DATA = gnetconfig.h - - WEBPATH = $(HOME)/public_html/misc/gnet diff --git a/net/gnet/pkg-plist b/net/gnet/pkg-plist index a8e06ad..0a1adae 100644 --- a/net/gnet/pkg-plist +++ b/net/gnet/pkg-plist @@ -9,15 +9,18 @@ include/gnet/md5.h include/gnet/pack.h include/gnet/server.h include/gnet/sha.h +include/gnet/socks.h include/gnet/tcp.h include/gnet/udp.h +include/gnet/unix.h include/gnet/url.h lib/libgnet.a +lib/libgnet.la lib/libgnet.so -lib/libgnet.so.0 +lib/libgnet.so.1 +libdata/pkgconfig/gnet.pc share/aclocal/gnet.m4 share/doc/libgnet1.1-dev/html/book1.html -share/doc/libgnet1.1-dev/html/dnstest.html share/doc/libgnet1.1-dev/html/gnet-conn.html share/doc/libgnet1.1-dev/html/gnet-developers-tips.html share/doc/libgnet1.1-dev/html/gnet-developers.html @@ -31,18 +34,18 @@ share/doc/libgnet1.1-dev/html/gnet-overview.html share/doc/libgnet1.1-dev/html/gnet-pack.html share/doc/libgnet1.1-dev/html/gnet-server.html share/doc/libgnet1.1-dev/html/gnet-sha.html +share/doc/libgnet1.1-dev/html/gnet-socks.html share/doc/libgnet1.1-dev/html/gnet-tcp.html share/doc/libgnet1.1-dev/html/gnet-udp.html +share/doc/libgnet1.1-dev/html/gnet-unix.html share/doc/libgnet1.1-dev/html/gnet-url.html share/doc/libgnet1.1-dev/html/hfetch.html -share/doc/libgnet1.1-dev/html/hostinfo.html share/doc/libgnet1.1-dev/html/index.html share/doc/libgnet1.1-dev/html/index.sgml -share/doc/libgnet1.1-dev/html/jmtransfer.html share/doc/libgnet1.1-dev/html/libgnet-reference.html -share/doc/libgnet1.1-dev/html/ljoust.html share/doc/libgnet1.1-dev/html/sdr.html share/doc/libgnet1.1-dev/html/tests.html -@dirrm include/gnet @dirrm share/doc/libgnet1.1-dev/html @dirrm share/doc/libgnet1.1-dev +@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true +@dirrm include/gnet diff --git a/net/gnet2/Makefile b/net/gnet2/Makefile index 416e763..5b57166 100644 --- a/net/gnet2/Makefile +++ b/net/gnet2/Makefile @@ -6,14 +6,41 @@ # PORTNAME= gnet -PORTVERSION= 1.1.0 +PORTVERSION= 1.1.4 CATEGORIES= net MASTER_SITES= http://www.gnetlibrary.org/src/ MAINTAINER= nakai@FreeBSD.org +USE_REINPLACE= yes USE_GLIB= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes +MAN1= gnet-config.1 + +post-patch: +# fix pthreads detection + @${REINPLACE_CMD} -E -e 's,-lpthread|-lc_r,${PTHREAD_LIBS},' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +# remove "release" information from lib name + @${REINPLACE_CMD} -E -e 's|-release[ ]+\$$\(LT_RELEASE\)||g' \ + ${WRKSRC}/src/Makefile.in +# don't install gnet-config script with odd name. We will install it ourselves + @${REINPLACE_CMD} -E -e 's|^(install-exec-am:).+$$|\1|' \ + ${WRKSRC}/Makefile.in +# install gnet-config.1 man (not another name). Revise at EVERY port update + @${REINPLACE_CMD} -e 's|\$$\$$inst|\$$\$$file|g' \ + ${WRKSRC}/doc/Makefile.in +# install configincludedir correctly + @${REINPLACE_CMD} -E -e 's|^(configincludedir).+$$|\1=\$$\(pkgincludedir\)|' \ + ${WRKSRC}/Makefile.in +# install *.pc files in correct FreeBSD dir + @${REINPLACE_CMD} -E -e \ + 's|^(pkgconfigdir[ ]+=[ ]+)\$$\(libdir\)/(pkgconfig)|\1${PREFIX}/libdata/\2|' \ + ${WRKSRC}/Makefile.in + +post-install: + @${INSTALL_SCRIPT} ${WRKSRC}/gnet-config ${PREFIX}/bin + .include <bsd.port.mk> diff --git a/net/gnet2/distinfo b/net/gnet2/distinfo index 9a62b82..f80821c 100644 --- a/net/gnet2/distinfo +++ b/net/gnet2/distinfo @@ -1 +1 @@ -MD5 (gnet-1.1.0.tar.gz) = ad7aef2f1de593e548134922472d3b98 +MD5 (gnet-1.1.4.tar.gz) = dbd03fc1bd34d611671a83564a225bb1 diff --git a/net/gnet2/files/patch-ac b/net/gnet2/files/patch-ac deleted file mode 100644 index 5124d59..0000000 --- a/net/gnet2/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.in.orig Mon Feb 28 18:47:45 2000 -+++ src/Makefile.in Mon Feb 28 18:48:34 2000 -@@ -93,7 +93,7 @@ - - lib_LTLIBRARIES = libgnet.la - --libgnet_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -+libgnet_la_LDFLAGS = -version-info 0:0:0 - - - libgnet_la_SOURCES = gnet.c gnet-private.c inetaddr.c mcast.c tcp.c udp.c diff --git a/net/gnet2/files/patch-ad b/net/gnet2/files/patch-ad deleted file mode 100644 index 5d8440e..0000000 --- a/net/gnet2/files/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ ---- configure.orig Tue Apr 11 15:56:56 2000 -+++ configure Thu Jun 15 13:51:43 2000 -@@ -2238,8 +2238,8 @@ - rm -f conf.glibtest - - --glib_cflags=`glib-config --cflags glib` --glib_libs=`glib-config --libs glib` -+glib_cflags=`$GLIB_CONFIG --cflags glib` -+glib_libs=`$GLIB_CONFIG --libs glib` - - - diff --git a/net/gnet2/files/patch-ae b/net/gnet2/files/patch-ae deleted file mode 100644 index ef5a0a5..0000000 --- a/net/gnet2/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in 2000/11/25 13:34:07 1.1 -+++ Makefile.in 2000/11/25 13:34:59 -@@ -99,7 +99,7 @@ - m4datadir = $(datadir)/aclocal - m4data_DATA = gnet.m4 - --configincludedir = $(pkglibdir)/include -+configincludedir = $(pkgincludedir) - configinclude_DATA = gnetconfig.h - - WEBPATH = $(HOME)/public_html/misc/gnet diff --git a/net/gnet2/pkg-plist b/net/gnet2/pkg-plist index a8e06ad..0a1adae 100644 --- a/net/gnet2/pkg-plist +++ b/net/gnet2/pkg-plist @@ -9,15 +9,18 @@ include/gnet/md5.h include/gnet/pack.h include/gnet/server.h include/gnet/sha.h +include/gnet/socks.h include/gnet/tcp.h include/gnet/udp.h +include/gnet/unix.h include/gnet/url.h lib/libgnet.a +lib/libgnet.la lib/libgnet.so -lib/libgnet.so.0 +lib/libgnet.so.1 +libdata/pkgconfig/gnet.pc share/aclocal/gnet.m4 share/doc/libgnet1.1-dev/html/book1.html -share/doc/libgnet1.1-dev/html/dnstest.html share/doc/libgnet1.1-dev/html/gnet-conn.html share/doc/libgnet1.1-dev/html/gnet-developers-tips.html share/doc/libgnet1.1-dev/html/gnet-developers.html @@ -31,18 +34,18 @@ share/doc/libgnet1.1-dev/html/gnet-overview.html share/doc/libgnet1.1-dev/html/gnet-pack.html share/doc/libgnet1.1-dev/html/gnet-server.html share/doc/libgnet1.1-dev/html/gnet-sha.html +share/doc/libgnet1.1-dev/html/gnet-socks.html share/doc/libgnet1.1-dev/html/gnet-tcp.html share/doc/libgnet1.1-dev/html/gnet-udp.html +share/doc/libgnet1.1-dev/html/gnet-unix.html share/doc/libgnet1.1-dev/html/gnet-url.html share/doc/libgnet1.1-dev/html/hfetch.html -share/doc/libgnet1.1-dev/html/hostinfo.html share/doc/libgnet1.1-dev/html/index.html share/doc/libgnet1.1-dev/html/index.sgml -share/doc/libgnet1.1-dev/html/jmtransfer.html share/doc/libgnet1.1-dev/html/libgnet-reference.html -share/doc/libgnet1.1-dev/html/ljoust.html share/doc/libgnet1.1-dev/html/sdr.html share/doc/libgnet1.1-dev/html/tests.html -@dirrm include/gnet @dirrm share/doc/libgnet1.1-dev/html @dirrm share/doc/libgnet1.1-dev +@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true +@dirrm include/gnet |