mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
add leo because addport barfed on itself
This commit is contained in:
parent
8df466abc6
commit
795b816cf1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70322
@ -78,6 +78,7 @@
|
|||||||
SUBDIR += led
|
SUBDIR += led
|
||||||
SUBDIR += leim20
|
SUBDIR += leim20
|
||||||
SUBDIR += leim21
|
SUBDIR += leim21
|
||||||
|
SUBDIR += leo
|
||||||
SUBDIR += lfhex
|
SUBDIR += lfhex
|
||||||
SUBDIR += lpe
|
SUBDIR += lpe
|
||||||
SUBDIR += manedit
|
SUBDIR += manedit
|
||||||
|
53
editors/leo/Makefile
Normal file
53
editors/leo/Makefile
Normal 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
1
editors/leo/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (leo-3.8.zip) = e54e75266c1bc7541f682fbd7e72c39e
|
12
editors/leo/files/leo.in
Normal file
12
editors/leo/files/leo.in
Normal 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
1
editors/leo/pkg-comment
Normal file
@ -0,0 +1 @@
|
|||||||
|
An advanced outline editor
|
6
editors/leo/pkg-descr
Normal file
6
editors/leo/pkg-descr
Normal 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>
|
Loading…
Reference in New Issue
Block a user