Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2004 17:50:20 +0100 (CET)
From:      Antonio Bonifati <ant@venus.deis.unical.it>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ant@venus.deis.unical.it
Subject:   ports/61023: Update port: editors/tpad fixed some bugs and added new features 
Message-ID:  <200401071650.i07GoKaQ009346@venus.deis.unical.it>
Resent-Message-ID: <200401071650.i07GoLAv023537@freefall.freebsd.org>

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

>Number:         61023
>Category:       ports
>Synopsis:       Update port: editors/tpad fixed some bugs and added new features
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 07 08:50:21 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Bonifati
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
System: FreeBSD venus.deis.unical.it 4.9-RELEASE FreeBSD 4.9-RELEASE #5: Wed Dec 3 14:17:22 CEST 2003 root@venus.deis.unical.it:/usr/src/sys/compile/VENUS i386


	
>Description:
                ChangeLog file for tpad

Changes in 1.1 (7 Gen 2004)
- I forgot to catch the kill of the window manager!
  Now it's fixed.
- Fixed a bug which caused an extra newline to be
  added to the end of the text.
- Added a facility to produce log files with tpad
  (see help for details).
- Get tpad to produce an appicon for WindowMaker.
- Now you can configure the color of the selection
  and the date/time format.
- Added a simple print option which uses lpr(1).
- Added a global configuration file tpad.conf,
  separated from the main program code.
  Also supports per-user configuration files
  (named ~/.tpadrc).
- Added HTML 2.0 help files and the Help option under
  the Help menu.

Changes in 1.0 (10 Nov 2003)
- First version.
	
>How-To-Repeat:
	
>Fix:

	

--- tpad-1.1.diff begins here ---
diff -ruN tpad.bak/Makefile tpad/Makefile
--- tpad.bak/Makefile	Tue Jan  6 17:31:49 2004
+++ tpad/Makefile	Tue Jan  6 17:14:32 2004
@@ -2,17 +2,14 @@
 # Date created:		10 November 2003
 # Whom:			Antonio Bonifati <ant@monitor.deis.unical.it>
 #
-# $FreeBSD: ports/editors/tpad/Makefile,v 1.1 2003/11/13 18:24:52 arved Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	tpad
-PORTVERSION=	1.0
+PORTVERSION=	1.1
 CATEGORIES=	editors tcl84 tk84
 MASTER_SITES=	http://monitor.deis.unical.it/ant/tpad/ \
 		http://queen.rett.polimi.it/~ant/tcl/script/
-DISTNAME=	${PORTNAME}-${PORTVERSION}.tcl
-EXTRACT_SUFX=
-EXTRACT_ONLY=
 
 MAINTAINER=	ant@monitor.deis.unical.it
 COMMENT=	Win95/98 (TM) Notepad clone written in Tcl/Tk
@@ -20,8 +17,24 @@
 RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
 
 NO_BUILD=	yes
+PKGMESSAGE=	${WRKDIR}/MESSAGE
+
+DOCFILES=	ChangeLog conf.html index.html intro.html keys.html \
+		log.html mouse.html todo tpad.html
 
 do-install:
-	${INSTALL_SCRIPT} ${DISTDIR}/${DISTFILES} ${PREFIX}/bin/tpad
+	${INSTALL_SCRIPT} ${WRKDIR}/bin/tpad ${PREFIX}/bin/tpad
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for docfile in ${DOCFILES}
+	${INSTALL_MAN} ${WRKDIR}/share/doc/tpad/${docfile} ${DOCSDIR}
+.endfor
+.endif
+	${INSTALL_DATA} ${WRKDIR}/etc/tpad.conf \
+		${PREFIX}/etc/tpad.conf.sample
+	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ruN tpad.bak/distinfo tpad/distinfo
--- tpad.bak/distinfo	Tue Jan  6 17:31:49 2004
+++ tpad/distinfo	Tue Jan  6 13:53:10 2004
@@ -1 +1 @@
-MD5 (tpad-1.0.tcl) = 145d45dd4954243c8e94a9d745c2721b
+MD5 (tpad-1.1.tar.gz) = 26bc63caf91ce18362106ec762b0c09f
diff -ruN tpad.bak/pkg-message tpad/pkg-message
--- tpad.bak/pkg-message	Thu Jan  1 01:00:00 1970
+++ tpad/pkg-message	Tue Jan  6 17:12:50 2004
@@ -0,0 +1,11 @@
+------------------------------------------------------------
+A sample configuration file has been copied to
+    %%PREFIX%%/etc/tpad.conf.sample
+
+tpad will not work without either
+    %%PREFIX%%/etc/tpad.conf
+or the running user's ~/.tpadrc being in place.
+
+Further information on configuration can be found in
+    %%PREFIX%%/share/doc/tpad/conf.html
+------------------------------------------------------------
diff -ruN tpad.bak/pkg-plist tpad/pkg-plist
--- tpad.bak/pkg-plist	Tue Jan  6 17:31:49 2004
+++ tpad/pkg-plist	Tue Jan  6 14:01:44 2004
@@ -1 +1,12 @@
 bin/tpad
+etc/tpad.conf.sample
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/conf.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/intro.html
+%%PORTDOCS%%%%DOCSDIR%%/keys.html
+%%PORTDOCS%%%%DOCSDIR%%/log.html
+%%PORTDOCS%%%%DOCSDIR%%/mouse.html
+%%PORTDOCS%%%%DOCSDIR%%/todo
+%%PORTDOCS%%%%DOCSDIR%%/tpad.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- tpad-1.1.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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