1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

add leo because addport barfed on itself

This commit is contained in:
Alan Eldridge 2002-11-17 21:19:57 +00:00
parent 8df466abc6
commit 795b816cf1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70322
6 changed files with 74 additions and 0 deletions

View File

@ -78,6 +78,7 @@
SUBDIR += led
SUBDIR += leim20
SUBDIR += leim21
SUBDIR += leo
SUBDIR += lfhex
SUBDIR += lpe
SUBDIR += manedit

53
editors/leo/Makefile Normal file
View File

@ -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

1
editors/leo/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (leo-3.8.zip) = e54e75266c1bc7541f682fbd7e72c39e

12
editors/leo/files/leo.in Normal file
View File

@ -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:+"$@"}

1
editors/leo/pkg-comment Normal file
View File

@ -0,0 +1 @@
An advanced outline editor

6
editors/leo/pkg-descr Normal file
View File

@ -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>