summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-05-17 17:35:20 +0000
committermi <mi@FreeBSD.org>2002-05-17 17:35:20 +0000
commit0bf9f171e64d755d592e5c747cc17d3808359b79 (patch)
treedcf7b401dc0def71a45864f997500e72ba3152c8
parent36017dd6af484fd1c04b779e88490553d23024df (diff)
downloadFreeBSD-ports-0bf9f171e64d755d592e5c747cc17d3808359b79.zip
FreeBSD-ports-0bf9f171e64d755d592e5c747cc17d3808359b79.tar.gz
This is a Tk-based frontend to the Perforce's p4 client.
It expects p4 in the path.
-rw-r--r--devel/Makefile1
-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
6 files changed, 64 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7a0e6d1..f7bb464 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -687,6 +687,7 @@
SUBDIR += titano
SUBDIR += tkcon
SUBDIR += tkcvs
+ SUBDIR += tkp4
SUBDIR += tkref
SUBDIR += tmake
SUBDIR += tpg
diff --git a/devel/tkp4/Makefile b/devel/tkp4/Makefile
new file mode 100644
index 0000000..21b03ff
--- /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 0000000..069aea1
--- /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 0000000..7ed6545
--- /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 0000000..b922bdb
--- /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 0000000..0434242
--- /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%%
OpenPOWER on IntegriCloud