aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-01-08 09:17:25 +0800
committeredwin <edwin@FreeBSD.org>2004-01-08 09:17:25 +0800
commitd87145a73f5c5d25a6c2cb810d0509b075981c0e (patch)
tree970e920109f3391c347ed38e0d0c2037edb05a9c /editors
parent7b2bc8b7627cb7096c72293da5ee81462bd83062 (diff)
downloadfreebsd-ports-gnome-d87145a73f5c5d25a6c2cb810d0509b075981c0e.tar.gz
freebsd-ports-gnome-d87145a73f5c5d25a6c2cb810d0509b075981c0e.tar.zst
freebsd-ports-gnome-d87145a73f5c5d25a6c2cb810d0509b075981c0e.zip
Update port: editors/tpad fixed some bugs and added new features
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. PR: ports/61023 Submitted by: Antonio Bonifati <ant@venus.deis.unical.it>
Diffstat (limited to 'editors')
-rw-r--r--editors/tpad/Makefile23
-rw-r--r--editors/tpad/distinfo2
-rw-r--r--editors/tpad/pkg-message11
-rw-r--r--editors/tpad/pkg-plist1
4 files changed, 31 insertions, 6 deletions
diff --git a/editors/tpad/Makefile b/editors/tpad/Makefile
index 4712fd2d74f2..0a8941e51727 100644
--- a/editors/tpad/Makefile
+++ b/editors/tpad/Makefile
@@ -6,13 +6,10 @@
#
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 @@ COMMENT= Win95/98 (TM) Notepad clone written in Tcl/Tk
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
NO_BUILD= yes
+PKGMESSAGE= ${WRKDIR}/MESSAGE
+
+PORTDOCS= 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 ${PORTDOCS}
+ ${INSTALL_DATA} ${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 --git a/editors/tpad/distinfo b/editors/tpad/distinfo
index d13d0d697032..cab323e22499 100644
--- a/editors/tpad/distinfo
+++ b/editors/tpad/distinfo
@@ -1 +1 @@
-MD5 (tpad-1.0.tcl) = 145d45dd4954243c8e94a9d745c2721b
+MD5 (tpad-1.1.tar.gz) = 26bc63caf91ce18362106ec762b0c09f
diff --git a/editors/tpad/pkg-message b/editors/tpad/pkg-message
new file mode 100644
index 000000000000..e003f71baa4d
--- /dev/null
+++ b/editors/tpad/pkg-message
@@ -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 --git a/editors/tpad/pkg-plist b/editors/tpad/pkg-plist
index 7262d9dbb364..b867c1d7c481 100644
--- a/editors/tpad/pkg-plist
+++ b/editors/tpad/pkg-plist
@@ -1 +1,2 @@
bin/tpad
+etc/tpad.conf.sample