Date: Fri, 22 Dec 2000 08:13:16 -0800 (PST) From: tkato@prontomail.ne.jp To: freebsd-gnats-submit@FreeBSD.org Subject: ports/23763: Update port: www/nscache to 0.5 (fix ports/23630) Message-ID: <200012221613.eBMGDGb74858@freefall.freebsd.org> Resent-Message-ID: <200012221620.eBMGK2C76142@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 23763 >Category: ports >Synopsis: Update port: www/nscache to 0.5 (fix ports/23630) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 22 08:20:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.2-RELEASE i386 >Organization: >Environment: >Description: - Update to version 0.5 New file: files/patch-ac This PR supersedes ports/23630. >How-To-Repeat: >Fix: diff -urN /usr/ports/www/nscache/Makefile www/nscache/Makefile --- /usr/ports/www/nscache/Makefile Thu Oct 5 23:08:39 2000 +++ www/nscache/Makefile Thu Dec 21 21:14:31 2000 @@ -6,21 +6,30 @@ # PORTNAME= nscache -PORTVERSION= 0.2p2 +PORTVERSION= 0.5 CATEGORIES= www -MASTER_SITES= http://www.idata.sk/~ondrej/sw/ -DISTNAME= nscache-0.2pl2 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://www.idata.sk/~ondrej/sw/ +MASTER_SITE_SUBDIR= ${PORTNAME} EXTRACT_SUFX= .tgz MAINTAINER= kris@FreeBSD.org +USE_X_PREFIX= yes USE_GTK= yes +WANT_GNOME= yes USE_AUTOMAKE= yes -AUTOMAKE= automake -a -i -CONFIGURE_ENV= CPPFALGS="-I${LOCALBASE}/include" \ +AUTOMAKE_ARGS= --include-deps +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-gtk-config=${GTK_CONFIG} -pre-configure: - @cd ${WRKSRC}; aclocal -I ${X11BASE}/share/aclocal +.include <bsd.port.pre.mk> -.include <bsd.port.mk> +.if defined(HAVE_GNOME) +USE_GNOME= yes +.else +CONFIGURE_ARGS+= --disable-gnome +.endif + +.include <bsd.port.post.mk> diff -urN /usr/ports/www/nscache/distinfo www/nscache/distinfo --- /usr/ports/www/nscache/distinfo Sun Mar 5 19:15:03 2000 +++ www/nscache/distinfo Thu Dec 21 21:20:24 2000 @@ -1 +1 @@ -MD5 (nscache-0.2pl2.tgz) = e95b59b90d7e1f567e2263853be26f7b +MD5 (nscache-0.5.tgz) = 45005c77f4ca902716237f5f2e28a5ae diff -urN /usr/ports/www/nscache/files/patch-aa www/nscache/files/patch-aa --- /usr/ports/www/nscache/files/patch-aa Sat Jul 8 04:59:14 2000 +++ www/nscache/files/patch-aa Thu Dec 21 21:52:33 2000 @@ -1,22 +1,32 @@ ---- configure.in.orig Sun Jan 16 02:40:55 2000 -+++ configure.in Sat Jul 1 19:10:54 2000 -@@ -41,17 +41,11 @@ +--- configure.in.orig Wed Dec 20 05:25:07 2000 ++++ configure.in Thu Dec 21 21:52:26 2000 +@@ -59,7 +59,7 @@ AC_CHECK_LIB(c, gettext, CFLAGS="$CFLAGS -DHAVE_GETTEXT -DNLS_DIR=\"\\\"\$(prefix)/share/locale\\\"\"";MSUBDIRS="po", AC_CHECK_LIB(intl, gettext, LIBS="$LIBS -lintl";CFLAGS="$CFLAGS -DHAVE_GETTEXT -DNLS_DIR=\"\\\"\$(prefix)/share/locale\\\"\"";MSUBDIRS="po")) --AC_CHECK_LIB(db1, dbopen, CFLAGS="$CFLAGS -DHAVE_DBOPEN";LIBS="$LIBS -ldb1", AC_CHECK_LIB(db, dbopen, CFLAGS="$CFLAGS -DHAVE_DBOPEN";LIBS="$LIBS -ldb", AC_MSG_ERROR("NScache can\'t work withou clasical Berkeley DB libraries"))) -+AC_CHECK_LIB(db1, dbopen, CFLAGS="$CFLAGS -DHAVE_DBOPEN";LIBS="$LIBS -ldb1", AC_CHECK_LIB(c, dbopen, CFLAGS="$CFLAGS -DHAVE_DBOPEN", AC_MSG_ERROR("NScache can\'t work withou clasical Berkeley DB libraries"))) +-AC_CHECK_LIB(db1, dbopen, CFLAGS="$CFLAGS -DHAVE_DBOPEN";LIBS="$LIBS -ldb1", AC_CHECK_LIB(db, dbopen, AC_CHECK_LIB(db, txn_open, AC_MSG_ERROR("NScache can\'t work with your version of Berkeley DB library get version 1.8x"), CFLAGS="$CFLAGS -DHAVE_DBOPEN";LIBS="$LIBS -ldb"), AC_MSG_ERROR("NScache can\'t work withou Berkeley DB library try to download version 1.8x from www.sleepycat.com"))) ++AC_CHECK_LIB(c, dbopen, CFLAGS="$CFLAGS -DHAVE_DBOPEN", AC_CHECK_LIB(db1, dbopen, CFLAGS="$CFLAGS -DHAVE_DBOPEN";LIBS="$LIBS -ldb1", AC_CHECK_LIB(db, dbopen, AC_CHECK_LIB(db, txn_open, AC_MSG_ERROR("NScache can\'t work with your version of Berkeley DB library get version 1.8x"), CFLAGS="$CFLAGS -DHAVE_DBOPEN";LIBS="$LIBS -ldb"), AC_MSG_ERROR("NScache can\'t work withou Berkeley DB library try to download version 1.8x from www.sleepycat.com")))) - AC_CHECK_HEADER(db1/db.h, CFLAGS="$CFLAGS -DHAVE_DB1_H", AC_CHECK_HEADER(db.h, CFLAGS="$CFLAGS -DHAVE_DB_H")) + AC_CHECK_HEADER(db1/db.h, CFLAGS="$CFLAGS -DHAVE_DB1_H",AC_CHECK_HEADER(db_185.h, CFLAGS="$CFLAGS -DHAVE_DB185_H", AC_CHECK_HEADER(db.h, CFLAGS="$CFLAGS -DHAVE_DB_H"))) --AC_CHECK_PROG(GTK_CONFIG, gtk-config, "yes", "no") --if eval "test x$GTK_CONFIG = xyes"; then -- CFLAGS="$CFLAGS `gtk-config --cflags`" -- LIBS="$LIBS `gtk-config --libs`" --else -- AC_MSG_ERROR("Unable to find \"gtk-config\" program") --fi -+AM_PATH_GTK(1.2.0, , AC_MSG_ERROR(GTK+ is not installed or badly configured on your system...)) +@@ -195,13 +195,15 @@ + fi - AC_SUBST(CFLAGS) - AC_SUBST(LIBS) + if eval "test x$WITH_GNOME = xyes"; then +- AC_CHECK_PROG(GNOME_CONFIG, gnome-config, "yes", "no") +- if eval "test x$GNOME_CONFIG = xyes"; then +- GNOME_PREFIX=`gnome-config --prefix` ++ AC_PATH_PROG(GNOME_CONFIG, gnome-config, "no") ++ if eval "test x$GNOME_CONFIG = no"; then ++ GNOME_PREFIX= ++ else ++ GNOME_PREFIX=`$GNOME_CONFIG --prefix` + AC_WARN("Will install Gnome things to $GNOME_PREFIX") + if eval "test x$WITH_GNOME = xyes"; then +- GNOME_LIBS=`gnome-config --libs gnomeui` +- GNOME_CFLAGS=`gnome-config --cflags gnomeui` ++ GNOME_LIBS=`$GNOME_CONFIG --libs gnomeui` ++ GNOME_CFLAGS=`$GNOME_CONFIG --cflags gnomeui` + GNOME_CFLAGS="$GNOME_CFLAGS -DHAVE_GNOME" + fi + fi diff -urN /usr/ports/www/nscache/files/patch-ab www/nscache/files/patch-ab --- /usr/ports/www/nscache/files/patch-ab Sat Jul 8 04:59:14 2000 +++ www/nscache/files/patch-ab Thu Dec 21 21:27:09 2000 @@ -1,19 +1,25 @@ ---- Makefile.am.orig Tue Jan 18 04:49:06 2000 -+++ Makefile.am Sat Jul 1 20:03:06 2000 -@@ -1,5 +1,7 @@ - SUBDIRS = @MSUBDIRS@ +--- Makefile.am.orig Thu Oct 5 07:38:32 2000 ++++ Makefile.am Thu Dec 21 21:26:59 2000 +@@ -6,16 +6,16 @@ -+INCLUDES = $(GTK_CFLAGS) -+ - bin_PROGRAMS = nscache + install-data-local: + if test -n "$(GNOME_PREFIX)"; then \ +- $(mkinstalldirs) $(DESTDIR)$(GNOME_PREFIX)/share/gnome/apps/Internet; \ +- $(INSTALL_DATA) $(srcdir)/nscache.desktop $(DESTDIR)$(GNOME_PREFIX)/share/gnome/apps/Internet; \ +- $(mkinstalldirs) $(DESTDIR)$(GNOME_PREFIX)/share/pixmaps; \ +- $(INSTALL_DATA) $(srcdir)/nscache.xpm $(DESTDIR)$(GNOME_PREFIX)/share/pixmaps; \ ++ $(mkinstalldirs) $(DESTDIR)$(datadir)/apps/Internet; \ ++ $(INSTALL_DATA) $(srcdir)/nscache.desktop $(DESTDIR)$(datadir)/apps/Internet; \ ++ $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps; \ ++ $(INSTALL_DATA) $(srcdir)/nscache.xpm $(DESTDIR)$(datadir)/pixmaps; \ + fi + + uninstall-local: + if test -n "$(GNOME_PREFIX)"; then \ +- rm -f $(DESTDIR)$(GNOME_PREFIX)/share/gnome/apps/Internet/nscache.desktop; \ +- rm -f $(DESTDIR)$(GNOME_PREFIX)/share/pixmaps/nscache.xpm; \ ++ rm -f $(DESTDIR)$(datadir)/apps/Internet/nscache.desktop; \ ++ rm -f $(DESTDIR)$(datadir)/pixmaps/nscache.xpm; \ + fi - nscache_SOURCES = \ -@@ -12,6 +14,8 @@ - indexdb.h \ - nls.h \ - setup.c -+ -+nscache_LDADD = $(GTK_LIBS) - nscache.pot: $(nscache_SOURCES) - xgettext --default-domain=nscache -n -E -o $@ $(nscache_SOURCES) diff -urN /usr/ports/www/nscache/files/patch-ac www/nscache/files/patch-ac --- /usr/ports/www/nscache/files/patch-ac Thu Jan 1 09:00:00 1970 +++ www/nscache/files/patch-ac Thu Dec 21 22:01:12 2000 @@ -0,0 +1,10 @@ +--- src/re.h.orig Sun Nov 12 23:09:38 2000 ++++ src/re.h Thu Dec 21 22:00:06 2000 +@@ -3,6 +3,7 @@ + + #ifdef HAVE_REGEX + #ifdef HAVE_REGEX_H ++#include <sys/types.h> + #include <regex.h> + #endif + diff -urN /usr/ports/www/nscache/pkg-descr www/nscache/pkg-descr --- /usr/ports/www/nscache/pkg-descr Sun Mar 5 19:15:05 2000 +++ www/nscache/pkg-descr Wed Dec 6 04:26:51 2000 @@ -19,4 +19,4 @@ The viewers you can assign to any MIME type. You can also copy selected URL to clipboard. -WWW: http://www.idata.sk/~ondrej/ +WWW: http://www.idata.sk/~ondrej/nscache/ diff -urN /usr/ports/www/nscache/pkg-plist www/nscache/pkg-plist --- /usr/ports/www/nscache/pkg-plist Sat Jul 8 04:59:14 2000 +++ www/nscache/pkg-plist Tue Dec 19 04:14:14 2000 @@ -1,4 +1,9 @@ bin/nscache share/locale/de/LC_MESSAGES/nscache.mo +share/locale/fr/LC_MESSAGES/nscache.mo share/locale/it/LC_MESSAGES/nscache.mo +share/locale/ja/LC_MESSAGES/nscache.mo +share/locale/pt_BR/LC_MESSAGES/nscache.mo share/locale/sk/LC_MESSAGES/nscache.mo +%%GNOME:%%share/gnome/apps/Internet/nscache.desktop +%%GNOME:%%share/gnome/pixmaps/nscache.xpm >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012221613.eBMGDGb74858>