diff options
author | mi <mi@FreeBSD.org> | 2002-05-18 01:35:20 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2002-05-18 01:35:20 +0800 |
commit | 0bf9f171e64d755d592e5c747cc17d3808359b79 (patch) | |
tree | dcf7b401dc0def71a45864f997500e72ba3152c8 /devel/tkp4/Makefile | |
parent | 36017dd6af484fd1c04b779e88490553d23024df (diff) | |
download | freebsd-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/Makefile')
-rw-r--r-- | devel/tkp4/Makefile | 43 |
1 files changed, 43 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} |