aboutsummaryrefslogtreecommitdiffstats
path: root/editors/leo
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-11-18 05:19:57 +0800
committeralane <alane@FreeBSD.org>2002-11-18 05:19:57 +0800
commitf6a6f5101e558e1b2232ad058dde24331685ebe2 (patch)
treea55e515d20dab9adafe8559987467ff73b8da78c /editors/leo
parent872fa7610b88f6ddf18ee2c72de271143d690543 (diff)
downloadfreebsd-ports-gnome-f6a6f5101e558e1b2232ad058dde24331685ebe2.tar.gz
freebsd-ports-gnome-f6a6f5101e558e1b2232ad058dde24331685ebe2.tar.zst
freebsd-ports-gnome-f6a6f5101e558e1b2232ad058dde24331685ebe2.zip
add leo because addport barfed on itself
Diffstat (limited to 'editors/leo')
-rw-r--r--editors/leo/Makefile53
-rw-r--r--editors/leo/distinfo1
-rw-r--r--editors/leo/files/leo.in12
-rw-r--r--editors/leo/pkg-comment1
-rw-r--r--editors/leo/pkg-descr6
5 files changed, 73 insertions, 0 deletions
diff --git a/editors/leo/Makefile b/editors/leo/Makefile
new file mode 100644
index 000000000000..5eb29e3117ea
--- /dev/null
+++ b/editors/leo/Makefile
@@ -0,0 +1,53 @@
+# ex:ts=8
+#
+# New ports collection makefile for: leo
+# Date created: 2002/11/17
+# Whom: Alan Eldridge <ports@geeksrus.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= leo
+PORTVERSION= 3.8
+PORTEPOCH= 0
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= alane@freebsd.org
+
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+
+USE_ZIP= yes
+USE_PYTHON= yes
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+PLIST=${WRKDIR}/plist
+INSTALL_DIR=${LOCALBASE}/share
+
+CPIO?= /usr/bin/cpio
+SORT?= /usr/bin/sort
+
+do-install:
+ cd ${WRKDIR}; ${FIND} ${DISTNAME} \
+ | ${CPIO} -pdmv -R ${LIBOWN}:${LIBGRP} ${INSTALL_DIR}
+ cd ${LOCALBASE}; ${FIND} share/${DISTNAME} -type f \
+ | ${XARGS} ${CHMOD} ${LIBMODE}
+ cd ${LOCALBASE}; ${FIND} share/${DISTNAME} -type d \
+ | ${XARGS} ${CHMOD} ${BINMODE}
+ ${SED} -e 's|@DISTNAME@|${DISTNAME}|' \
+ -e 's|@LOCALBASE@|${LOCALBASE}|'\
+ <${FILESDIR}/leo.in >${LOCALBASE}/bin/leo
+ ${CHMOD} ${BINMODE} ${LOCALBASE}/bin/leo
+ ${CHOWN} ${BINOWN}:${BINGRP} ${LOCALBASE}/bin/leo
+ ${ECHO_CMD} "bin/leo" >${PLIST}
+ cd ${LOCALBASE}; ${FIND} share/${DISTNAME} -type f \
+ | ${SORT} >>${PLIST}
+ cd ${LOCALBASE}; ${FIND} share/${DISTNAME} -type d \
+ | ${SORT} -r | ${SED} -e 's|^|@dirrm |' >>${PLIST}
+
+.include <bsd.port.post.mk>
+
+#EOF
diff --git a/editors/leo/distinfo b/editors/leo/distinfo
new file mode 100644
index 000000000000..f73a2332d745
--- /dev/null
+++ b/editors/leo/distinfo
@@ -0,0 +1 @@
+MD5 (leo-3.8.zip) = e54e75266c1bc7541f682fbd7e72c39e
diff --git a/editors/leo/files/leo.in b/editors/leo/files/leo.in
new file mode 100644
index 000000000000..bccf53d98fd7
--- /dev/null
+++ b/editors/leo/files/leo.in
@@ -0,0 +1,12 @@
+#!/bin/sh
+# -*-shell-script-*-
+#
+# leo
+#
+# Copyright (c) 2002 Alan Eldridge.
+# All rights reserved. Licensed under BSD license.
+#
+# 2002/11/17 alane@freebsd.org
+#
+exec python @LOCALBASE@/share/@DISTNAME@/leo.py ${1:+"$@"}
+
diff --git a/editors/leo/pkg-comment b/editors/leo/pkg-comment
new file mode 100644
index 000000000000..416a904fe8bc
--- /dev/null
+++ b/editors/leo/pkg-comment
@@ -0,0 +1 @@
+An advanced outline editor
diff --git a/editors/leo/pkg-descr b/editors/leo/pkg-descr
new file mode 100644
index 000000000000..af8cce488d0c
--- /dev/null
+++ b/editors/leo/pkg-descr
@@ -0,0 +1,6 @@
+Leo is an advanced outlining editor for "literate programming" and many
+other uses.
+
+WWW: http://personalpages.tds.net/~edream/front.html
+
+-- AlanE <alane@freebsd.org>