Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2013 04:25:14 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/177272: www/comclear: Update MASTER_SITES and WWW: line
Message-ID:  <20130323042514.507bf92fbc9865910ccfa414@yahoo.com>
Resent-Message-ID: <201303221940.r2MJe2iP033341@freefall.freebsd.org>

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

>Number:         177272
>Category:       ports
>Synopsis:       www/comclear: Update MASTER_SITES and WWW: line
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 22 19:40:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Support PLIST_FILES

Remove file:
files/patch-aa
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/www/comclear/Makefile www/comclear/Makefile
--- /usr/ports/www/comclear/Makefile	2012-11-08 10:33:20.000000000 +0900
+++ www/comclear/Makefile	2013-03-22 19:08:05.000000000 +0900
@@ -1,37 +1,39 @@
-# New ports collection makefile for:	comclear
-# Date created:		26 November 2000
-# Whom:			roam@FreeBSD.org
-#
+# Created by: roam@FreeBSD.org
 # $FreeBSD: head/www/comclear/Makefile 300897 2012-07-14 14:29:18Z beat $
-#
 
 PORTNAME=	comclear
 PORTVERSION=	1.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
-MASTER_SITES=	http://www.neuro-tech.net/files/
+MASTER_SITES=	http://lukereeves.com/files/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A history cleaner for Netscape Navigator and Communicator
+COMMENT=	History cleaner for Netscape Navigator and Communicator
+
+LICENSE=	GPLv2 # (or later)
+
+OPTIONS_DEFINE=	GTK1 DOCS
 
-WANT_GNOME=	yes
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	automake14 autoconf213
+CONFIGURE_ARGS=	--disable-gtktest
 
-.include <bsd.port.pre.mk>
+PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README
+PLIST_FILES=	bin/comclear
 
-.if ${HAVE_GNOME:Mgtk12}!=""
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGTK1}
 USE_GNOME+=	gtk12
-PKGNAMESUFFIX=	-gtk
+.else
+CONFIGURE_ENV+=	ac_cv_path_GTK_CONFIG=no
 .endif
 
-# Do not install docs by default, see the ifdef'd post-install below.
-post-configure:
-		${REINPLACE_CMD} 's/^install-data-am:.*/install-data-am:/' ${WRKSRC}/Makefile
-
-.if		!defined(NOPORTDOCS)
-post-install:
-		cd ${WRKSRC} && ${GMAKE} install-docDATA
-.endif
+do-install:
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} comclear ${PREFIX}/bin)
+	@${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+.endfor
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/www/comclear/files/patch-aa www/comclear/files/patch-aa
--- /usr/ports/www/comclear/files/patch-aa	2012-11-08 10:33:20.000000000 +0900
+++ www/comclear/files/patch-aa	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- Makefile.am	2000/11/14 08:59:14	1.1.1.1
-+++ Makefile.am	2000/11/14 09:48:03	1.2
-@@ -5,7 +5,7 @@
- bin_PROGRAMS = comclear
- comclear_SOURCES = comclear.c gui.c gui.h
- 
--docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)
-+docdir = $(datadir)/doc/$(PACKAGE)
- doc_DATA = README NEWS ChangeLog AUTHORS COPYING INSTALL
- 
- dist-hook: comclear.spec
diff -urN /usr/ports/www/comclear/pkg-descr www/comclear/pkg-descr
--- /usr/ports/www/comclear/pkg-descr	2012-11-08 10:33:20.000000000 +0900
+++ www/comclear/pkg-descr	2013-03-22 19:03:48.000000000 +0900
@@ -1,11 +1,9 @@
-From the ComClear README:
+ComClear is a history cleaner for Netscape Navigator and Communicator.
+It allows a user to choose from deleting the cache, cookies, history
+and drop-down list.
 
-"ComClear is a history cleaner for Netscape Navigator and Communicator.  It 
- allows a user to choose from deleting the cache, cookies, history and 
- drop-down list.
+Comclear has both a command-line version and a GTK+ version, the latter
+of which is run automatically when comclear is run from an X session.
 
- Comclear has both a command-line version and a GTK+ version, the latter of 
- which is run automatically when comclear is run from an X session."
-
-Author:		Luke Reeves <luke@submail.net>
-WWW:		http://www.neuro-tech.net/comclearu.html
+Author: Luke Reeves <luke@neuro-tech.net>
+WWW: http://lukereeves.com/
diff -urN /usr/ports/www/comclear/pkg-plist www/comclear/pkg-plist
--- /usr/ports/www/comclear/pkg-plist	2012-11-08 10:33:20.000000000 +0900
+++ www/comclear/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,8 +0,0 @@
-bin/comclear
-%%PORTDOCS%%share/doc/comclear/README
-%%PORTDOCS%%share/doc/comclear/NEWS
-%%PORTDOCS%%share/doc/comclear/ChangeLog
-%%PORTDOCS%%share/doc/comclear/AUTHORS
-%%PORTDOCS%%share/doc/comclear/COPYING
-%%PORTDOCS%%share/doc/comclear/INSTALL
-%%PORTDOCS%%@dirrm share/doc/comclear
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130323042514.507bf92fbc9865910ccfa414>