Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2001 10:25:28 -0400 (EDT)
From:      petef@databits.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28011: New port: net/amyc
Message-ID:  <200106101425.f5AEPSB08194@electron.databits.net>

next in thread | raw e-mail | index | archive | help

>Number:         28011
>Category:       ports
>Synopsis:       New port: net/amyc
>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:   Sun Jun 10 07:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #5: Sat Jun 2 18:08:29 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386

>Description:

"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/

>How-To-Repeat:

N/A

>Fix:

(Note: the included patch has been submitted to the author)

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	amyc
#	amyc/pkg-descr
#	amyc/pkg-plist
#	amyc/Makefile
#	amyc/distinfo
#	amyc/pkg-comment
#	amyc/files
#	amyc/files/patch-src::amyc_prefs.c
#
echo c - amyc
mkdir -p amyc > /dev/null 2>&1
echo x - amyc/pkg-descr
sed 's/^X//' >amyc/pkg-descr << 'END-of-amyc/pkg-descr'
X"About my Cache" is a powerful utility to help you keep track of
Xwhat's going on in Netscape's cache directory. It does basically
Xthe same as entering "about:cache", but provides a much better
Xoverview.  
X
XWWW: http://www.crevola.com/about/
X
X- Pete
Xpetef@databits.net
END-of-amyc/pkg-descr
echo x - amyc/pkg-plist
sed 's/^X//' >amyc/pkg-plist << 'END-of-amyc/pkg-plist'
Xbin/amyc
X%%WITH_GTK%%bin/amycg
Xshare/locale/fr/LC_MESSAGES/amyc.mo
X@unexec rmdir share/locale/fr/LC_MESSAGES 2>/dev/null || true
X@unexec rmdir share/locale/fr 2>/dev/null || true
END-of-amyc/pkg-plist
echo x - amyc/Makefile
sed 's/^X//' >amyc/Makefile << 'END-of-amyc/Makefile'
X# New ports collection makefile for:	amyc
X# Date Created:				10 June 2001
X# Whom:					Pete Fritchman <petef@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	amyc
XPORTVERSION=	0.9.159
XCATEGORIES=	net
XMASTER_SITES=	http://www.crevola.com/about/current/
X
XMAINTAINER=	petef@databits.net
X
XLIB_DEPENDS=	db3.2:${PORTSDIR}/databases/db3 \
X		intl.1:${PORTSDIR}/devel/gettext
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CFLAGS="${CFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include"
X
XWANT_GTK=	yes
X
X.include <bsd.port.pre.mk>
X
X.if defined(HAVE_GTK)
XUSE_GTK=	yes
XCONFIGURE_ENV+=	GTK_CONFIG="${GTK_CONFIG}"
XPLIST_SUB=	WITH_GTK=""
X.else
XPLIST_SUB=	WITH_GTK="@comment "
X.endif
X
X.include <bsd.port.post.mk>
END-of-amyc/Makefile
echo x - amyc/distinfo
sed 's/^X//' >amyc/distinfo << 'END-of-amyc/distinfo'
XMD5 (amyc-0.9.159.tar.gz) = 5c56091fb75bb3dfd31c5e1f2828d843
END-of-amyc/distinfo
echo x - amyc/pkg-comment
sed 's/^X//' >amyc/pkg-comment << 'END-of-amyc/pkg-comment'
XDisplay the contents of your Netscape cache
END-of-amyc/pkg-comment
echo c - amyc/files
mkdir -p amyc/files > /dev/null 2>&1
echo x - amyc/files/patch-src::amyc_prefs.c
sed 's/^X//' >amyc/files/patch-src::amyc_prefs.c << 'END-of-amyc/files/patch-src::amyc_prefs.c'
X--- src/amyc_prefs.c.orig	Fri Jun  8 18:21:45 2001
X+++ src/amyc_prefs.c	Sun Jun 10 10:09:42 2001
X@@ -126,7 +126,7 @@
X     }
X     if (prefs->resultdirectory == NULL) {
X 	prefs->resultdirectory = malloc (LINE_LEN * sizeof (char));
X-	sprintf (prefs->resultdirectory, "%s", "/tmp");
X+	sprintf (prefs->resultdirectory, "%s", getenv("HOME"));
X 	used_default_value = 1;
X     }
X 
X@@ -307,6 +307,7 @@
X 	sprintf (filename, "%s/result.html", prefs->resultdirectory);
X 	strtmp = give_correct_path ((char *)filename);
X 	output = fopen (strtmp, "w");
X+	printf ("Dumping results to %s\n", filename);
X 	if (output == NULL) {
X 	    perror (strtmp);
X #warning TOTO: better error handling
END-of-amyc/files/patch-src::amyc_prefs.c
exit

>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?200106101425.f5AEPSB08194>