diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2001-07-03 08:44:29 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2001-07-03 08:44:29 +0000 |
commit | fae77da1c530eb42b4527e9a730e213dd9d76a00 (patch) | |
tree | 08d678da0965f4d4fa5744caf5ad4f1831562de1 /www/amyc | |
parent | 6a9cb25256262d7fe2ceb8eccc6f28355408a5b5 (diff) | |
download | ports-fae77da1c530eb42b4527e9a730e213dd9d76a00.tar.gz ports-fae77da1c530eb42b4527e9a730e213dd9d76a00.zip |
'About My Cache' is a utility for keeping track of the Netscap
e cache directory.
PR: 28011
Submitted by: Pete Fritchman <petef@databits.net>
Notes
Notes:
svn path=/head/; revision=44681
Diffstat (limited to 'www/amyc')
-rw-r--r-- | www/amyc/Makefile | 33 | ||||
-rw-r--r-- | www/amyc/distinfo | 1 | ||||
-rw-r--r-- | www/amyc/files/patch-aclocal.m4 | 12 | ||||
-rw-r--r-- | www/amyc/files/patch-configure.in | 18 | ||||
-rw-r--r-- | www/amyc/files/patch-src::amyc_prefs.c | 19 | ||||
-rw-r--r-- | www/amyc/pkg-comment | 1 | ||||
-rw-r--r-- | www/amyc/pkg-descr | 9 | ||||
-rw-r--r-- | www/amyc/pkg-plist | 5 |
8 files changed, 98 insertions, 0 deletions
diff --git a/www/amyc/Makefile b/www/amyc/Makefile new file mode 100644 index 000000000000..c3341059fd70 --- /dev/null +++ b/www/amyc/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: amyc +# Date Created: 10 June 2001 +# Whom: Pete Fritchman <petef@databits.net> +# +# $FreeBSD$ +# + +PORTNAME= amyc +PORTVERSION= 0.9.159 +CATEGORIES= www +MASTER_SITES= http://www.crevola.com/about/current/ + +MAINTAINER= petef@databits.net + +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext + +USE_AUTOCONF= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + CFLAGS="${CFLAGS} -I${LOCALBASE}/include" + +WANT_GTK= yes + +.include <bsd.port.pre.mk> + +.if defined(HAVE_GTK) +PLIST_SUB= WITH_GTK="" +.else +PLIST_SUB= WITH_GTK="@comment " +.endif + +.include <bsd.port.post.mk> diff --git a/www/amyc/distinfo b/www/amyc/distinfo new file mode 100644 index 000000000000..3dd32e137df7 --- /dev/null +++ b/www/amyc/distinfo @@ -0,0 +1 @@ +MD5 (amyc-0.9.159.tar.gz) = 5c56091fb75bb3dfd31c5e1f2828d843 diff --git a/www/amyc/files/patch-aclocal.m4 b/www/amyc/files/patch-aclocal.m4 new file mode 100644 index 000000000000..546eda2834fd --- /dev/null +++ b/www/amyc/files/patch-aclocal.m4 @@ -0,0 +1,12 @@ +--- aclocal.m4.orig Wed Jun 27 15:31:51 2001 ++++ aclocal.m4 Wed Jun 27 15:32:46 2001 +@@ -395,6 +395,9 @@ + INSTOBJEXT=.mo + fi + fi ++ if test "$gt_cv_func_gettext_libintl" = "yes"; then ++ INTLLIBS='-lintl' ++ fi + ]) + + if test "$CATOBJEXT" = "NONE"; then diff --git a/www/amyc/files/patch-configure.in b/www/amyc/files/patch-configure.in new file mode 100644 index 000000000000..58738244b06b --- /dev/null +++ b/www/amyc/files/patch-configure.in @@ -0,0 +1,18 @@ +--- configure.in.orig Wed Jun 27 15:29:12 2001 ++++ configure.in Wed Jun 27 15:29:30 2001 +@@ -16,15 +16,10 @@ + USE_GTK= + AM_PATH_GTK(1.2.0, USE_GTK=amycg, AC_MSG_WARN(AboutMyCache will not use GTK)) + AC_SUBST(USE_GTK) +-AC_CHECK_LIB(db1, dbopen,, AC_CHECK_LIB(db, dbopen,, AC_MSG_ERROR(AboutMyCache needs Berkeley DB 1.85))) + + dnl Checks for header files. + AC_HEADER_STDC + AC_CHECK_HEADERS(fcntl.h limits.h malloc.h strings.h unistd.h) +-AC_CHECK_HEADERS(db1/db.h, db1=true, db1=false) +-if test "x$db1" = "xfalse"; then +- AC_CHECK_HEADERS(db_185.h,,AC_MSG_WARN(AboutMyCache needs Berkeley DB 1.85, but it can\'t fint it!!)) +-fi + + dnl Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST diff --git a/www/amyc/files/patch-src::amyc_prefs.c b/www/amyc/files/patch-src::amyc_prefs.c new file mode 100644 index 000000000000..fea9156e2847 --- /dev/null +++ b/www/amyc/files/patch-src::amyc_prefs.c @@ -0,0 +1,19 @@ +--- src/amyc_prefs.c.orig Fri Jun 8 18:21:45 2001 ++++ src/amyc_prefs.c Sun Jun 10 10:09:42 2001 +@@ -126,7 +126,7 @@ + } + if (prefs->resultdirectory == NULL) { + prefs->resultdirectory = malloc (LINE_LEN * sizeof (char)); +- sprintf (prefs->resultdirectory, "%s", "/tmp"); ++ sprintf (prefs->resultdirectory, "%s", getenv("HOME")); + used_default_value = 1; + } + +@@ -307,6 +307,7 @@ + sprintf (filename, "%s/result.html", prefs->resultdirectory); + strtmp = give_correct_path ((char *)filename); + output = fopen (strtmp, "w"); ++ printf ("Dumping results to %s\n", filename); + if (output == NULL) { + perror (strtmp); + #warning TOTO: better error handling diff --git a/www/amyc/pkg-comment b/www/amyc/pkg-comment new file mode 100644 index 000000000000..d496aa7a56a8 --- /dev/null +++ b/www/amyc/pkg-comment @@ -0,0 +1 @@ +Display the contents of your Netscape cache diff --git a/www/amyc/pkg-descr b/www/amyc/pkg-descr new file mode 100644 index 000000000000..ec3dcea38bfe --- /dev/null +++ b/www/amyc/pkg-descr @@ -0,0 +1,9 @@ +"About my Cache" is a powerful utility to help you keep track of +what's going on in Netscape's cache directory. It does basically +the same as entering "about:cache", but provides a much better +overview. + +WWW: http://www.crevola.com/about/ + +- Pete +petef@databits.net diff --git a/www/amyc/pkg-plist b/www/amyc/pkg-plist new file mode 100644 index 000000000000..ac5fe751a762 --- /dev/null +++ b/www/amyc/pkg-plist @@ -0,0 +1,5 @@ +bin/amyc +%%WITH_GTK%%bin/amycg +share/locale/fr/LC_MESSAGES/amyc.mo +@unexec rmdir share/locale/fr/LC_MESSAGES 2>/dev/null || true +@unexec rmdir share/locale/fr 2>/dev/null || true |