aboutsummaryrefslogtreecommitdiff
path: root/editors/tpad
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-01-08 01:17:25 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-01-08 01:17:25 +0000
commit10ec98c1f36fd03c800cfa882a9b2dd3171606df (patch)
treebdaece2e14fefdae49b3ec881b5b7bd0f228c67b /editors/tpad
parentae2f644ff068379fd56b034060cdb2dd8f6416f6 (diff)
downloadports-10ec98c1f36fd03c800cfa882a9b2dd3171606df.tar.gz
ports-10ec98c1f36fd03c800cfa882a9b2dd3171606df.zip
Notes
Diffstat (limited to 'editors/tpad')
-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