aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tkp4
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-05-18 01:35:20 +0800
committermi <mi@FreeBSD.org>2002-05-18 01:35:20 +0800
commit0bf9f171e64d755d592e5c747cc17d3808359b79 (patch)
treedcf7b401dc0def71a45864f997500e72ba3152c8 /devel/tkp4
parent36017dd6af484fd1c04b779e88490553d23024df (diff)
downloadfreebsd-ports-gnome-0bf9f171e64d755d592e5c747cc17d3808359b79.tar.gz
freebsd-ports-gnome-0bf9f171e64d755d592e5c747cc17d3808359b79.tar.zst
freebsd-ports-gnome-0bf9f171e64d755d592e5c747cc17d3808359b79.zip
This is a Tk-based frontend to the Perforce's p4 client.
It expects p4 in the path.
Diffstat (limited to 'devel/tkp4')
-rw-r--r--devel/tkp4/Makefile43
-rw-r--r--devel/tkp4/distinfo1
-rw-r--r--devel/tkp4/pkg-comment1
-rw-r--r--devel/tkp4/pkg-descr8
-rw-r--r--devel/tkp4/pkg-plist10
5 files changed, 63 insertions, 0 deletions
diff --git a/devel/tkp4/Makefile b/devel/tkp4/Makefile
new file mode 100644
index 000000000000..21b03fff99bb
--- /dev/null
+++ b/devel/tkp4/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: tkp4
+# Date created: 17 May 2002
+# Whom: mi@aldan.algebra.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= tkp4
+PORTVERSION= 1.12
+CATEGORIES= devel tk83
+MASTER_SITES= http://www.cuug.ab.ca/~macdonal/tkp4/
+
+MAINTAINER= mi@aldan.algebra.com
+
+RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
+
+NO_BUILD= yes
+
+do-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.tcl ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkp4 ${PREFIX}/bin
+.ifndef NOPORTDOCS
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/[A-Z]* ${DOCSDIR}
+.else
+
+PKGNAMESUFFIX= -nodocs
+.endif
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ ${PERL} -pi -e 's|wish|wish8.3|' ${WRKSRC}/tkp4
+.if defined(PREFIX) && ${PREFIX} != "/usr/local"
+ ${PERL} -pi -e 's|/usr/local|${PREFIX}|g' `${GREP} -Fl /usr/local ${WRKSRC}/*`
+.endif
+
+.include <bsd.port.post.mk>
+
+SCRIPTS != d=${DATADIR}; p=${PREFIX}; echo $${d\#\#$${p%%/}/}
+DOCS != d=${DOCSDIR}; p=${PREFIX}; echo $${d\#\#$${p%%/}/}
+PLIST_SUB+= SCRIPTS=${SCRIPTS} DOCS=${DOCS}
diff --git a/devel/tkp4/distinfo b/devel/tkp4/distinfo
new file mode 100644
index 000000000000..069aea11aef3
--- /dev/null
+++ b/devel/tkp4/distinfo
@@ -0,0 +1 @@
+MD5 (tkp4-1.12.tar.gz) = 39ebe5f1fbf7a5ecd52c2082382d7096
diff --git a/devel/tkp4/pkg-comment b/devel/tkp4/pkg-comment
new file mode 100644
index 000000000000..7ed654508807
--- /dev/null
+++ b/devel/tkp4/pkg-comment
@@ -0,0 +1 @@
+Tcl/Tk frontends to Perforce's p4
diff --git a/devel/tkp4/pkg-descr b/devel/tkp4/pkg-descr
new file mode 100644
index 000000000000..b922bdb4d461
--- /dev/null
+++ b/devel/tkp4/pkg-descr
@@ -0,0 +1,8 @@
+This is the Tcl/Tk frontend to Perforce's p4. You have to
+have p4-client binary installed -- it is available from
+
+WWW: http://www.perforce.com/perforce/loadprog.html
+
+The actual front-end is by Rick Macdonald <rickm@vsl.com>:
+
+WWW: http://www.cuug.ab.ca/~macdonal/tkp4/
diff --git a/devel/tkp4/pkg-plist b/devel/tkp4/pkg-plist
new file mode 100644
index 000000000000..04342423c6b5
--- /dev/null
+++ b/devel/tkp4/pkg-plist
@@ -0,0 +1,10 @@
+bin/tkp4
+%%SCRIPTS%%/combobox.tcl
+%%SCRIPTS%%/tkp4.tcl
+%%SCRIPTS%%/tree.tcl
+@dirrm %%SCRIPTS%%
+%%PORTDOCS%%%%DOCS%%/CHANGES
+%%PORTDOCS%%%%DOCS%%/P4WINdifferences
+%%PORTDOCS%%%%DOCS%%/README
+%%PORTDOCS%%%%DOCS%%/UsingTkP4
+%%PORTDOCS%%@dirrm %%DOCS%%