Date: Mon, 12 Apr 1999 21:10:26 -0700 (PDT) From: cpiazza@home.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/11106: New port: editors/lpe Message-ID: <19990413041026.A17FD165A@norn.ca.eu.org>
next in thread | raw e-mail | index | archive | help
>Number: 11106 >Category: ports >Synopsis: New port: editors/lpe >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 12 21:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Chris Piazza >Release: FreeBSD 4.0-CURRENT i386 >Organization: n/a >Environment: 4.0-CURRENT post-egcs >Description: Quite a nice editor. Really small and has syntax highlighting for quit a few languages. Portlint: nadda CFLAGS/PREFIX: yes >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # lpe # lpe/Makefile # lpe/pkg # lpe/pkg/COMMENT # lpe/pkg/DESCR # lpe/pkg/PLIST # lpe/files # lpe/files/md5 # lpe/patches # lpe/patches/patch-ab # lpe/patches/patch-aa # echo c - lpe mkdir -p lpe > /dev/null 2>&1 echo x - lpe/Makefile sed 's/^X//' >lpe/Makefile << 'END-of-lpe/Makefile' X# New ports collection makefile for: lpe X# Version required: 1.1.5 X# Date created: 12 April 1999 X# Whom: Chris Piazza <cpiazza@home.net> X# X# $Id$ X# X XDISTNAME= lpe-1.1.5 XCATEGORIES= editors XMASTER_SITES= http://cdsmith.twu.net/lpe/ X XMAINTAINER= cpiazza@home.net X XLIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang X XUSE_GMAKE= yes X XMAN1= lpe.1 X Xpost-patch: X @${SED} -e s#__PREFIX__#${PREFIX}#g ${WRKSRC}/options.h > ${WRKSRC}/options.h.new X @${MV} -f ${WRKSRC}/options.h.new ${WRKSRC}/options.h X Xdo-install: X ${MKDIR} ${PREFIX}/lib/lpe X ${INSTALL_PROGRAM} ${WRKSRC}/lpe ${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/cmode.so ${PREFIX}/lib/lpe X ${INSTALL_DATA} ${WRKSRC}/cppmode.so ${PREFIX}/lib/lpe X ${INSTALL_DATA} ${WRKSRC}/htmlmode.so ${PREFIX}/lib/lpe X ${INSTALL_DATA} ${WRKSRC}/perlmode.so ${PREFIX}/lib/lpe X ${INSTALL_DATA} ${WRKSRC}/sgmlmode.so ${PREFIX}/lib/lpe X ${INSTALL_MAN} ${WRKSRC}/lpe.1 ${PREFIX}/man/man1 X X.include <bsd.port.mk> END-of-lpe/Makefile echo c - lpe/pkg mkdir -p lpe/pkg > /dev/null 2>&1 echo x - lpe/pkg/COMMENT sed 's/^X//' >lpe/pkg/COMMENT << 'END-of-lpe/pkg/COMMENT' XA "lightweight programmer's editor." END-of-lpe/pkg/COMMENT echo x - lpe/pkg/DESCR sed 's/^X//' >lpe/pkg/DESCR << 'END-of-lpe/pkg/DESCR' XA very small and fast slang-based editor that features syntax-highlighting Xvia plug-in modules for C, C++, perl, html, and sgml. X XHomepage: Xhttp://cdsmith.twu.net/lpe/ XAuthor: XChris Smith <cd_smith@ou.edu> X X-Chris Piazza Xcpiazza@home.net END-of-lpe/pkg/DESCR echo x - lpe/pkg/PLIST sed 's/^X//' >lpe/pkg/PLIST << 'END-of-lpe/pkg/PLIST' Xbin/lpe Xlib/lpe/cmode.so Xlib/lpe/cppmode.so Xlib/lpe/htmlmode.so Xlib/lpe/perlmode.so Xlib/lpe/sgmlmode.so X@dirrm lib/lpe END-of-lpe/pkg/PLIST echo c - lpe/files mkdir -p lpe/files > /dev/null 2>&1 echo x - lpe/files/md5 sed 's/^X//' >lpe/files/md5 << 'END-of-lpe/files/md5' XMD5 (lpe-1.1.5.tar.gz) = 708371d5ddfe4e663b0bff2952851731 END-of-lpe/files/md5 echo c - lpe/patches mkdir -p lpe/patches > /dev/null 2>&1 echo x - lpe/patches/patch-ab sed 's/^X//' >lpe/patches/patch-ab << 'END-of-lpe/patches/patch-ab' X--- options.h.orig Mon Apr 12 20:34:09 1999 X+++ options.h Mon Apr 12 20:34:39 1999 X@@ -85,7 +85,7 @@ X * default; it is overridden by an LPE_MODULE_PATH environment variable, if X * present. X */ X-#define DEF_MODULE_PATH "/etc/lpe:~/.lpe" X+#define DEF_MODULE_PATH "/etc/lpe:~/.lpe:__PREFIX__/lib/lpe" X X /* Time to flash braces. This defines, in tenths of a second, how long a brace X * flash should last. It is meaningless if brace flashing is not enabled. END-of-lpe/patches/patch-ab echo x - lpe/patches/patch-aa sed 's/^X//' >lpe/patches/patch-aa << 'END-of-lpe/patches/patch-aa' X--- Config.make.orig Mon Apr 12 10:30:06 1999 X+++ Config.make Mon Apr 12 21:00:29 1999 X@@ -5,7 +5,6 @@ X X # Base directory in which to install lpe. The binary and man page will be X # installed in the appropriate subdirectories. X-PREFIX = /usr/local X X # Directory in which to place source language modules that are built as a X # part of the install. For the modules to work, this path must also be listed X@@ -13,13 +12,12 @@ X MODULE_DIR = /etc/lpe X X # The shell to use when interpreting Bourne-compatible shell scripts X-SHELL = /bin/sh X X # The C compiler to use; use GCC by default X-CC = gcc X+CC ?= gcc X X # The link command line for building shared libraries X-LD_SH = gcc -shared X+LD_SH = ${CC} -shared X # OpenBSD: ld -Bshareable X X # The flags to pass to the preprocessor X@@ -28,18 +26,14 @@ X # OpenBSD: -I/usr/local/include -DSLANG_H="<slang.h>" -DLIMITS_H="<sys/syslimits.h>" X X # The flags to pass to the compiler proper X-CFLAGS = -pipe -Wall -g -O2 X X # The flags to pass to the linker X LDFLAGS = -L/usr/local/lib -rdynamic X X # The libraries, in linker option format, against which to link X-LOADLIBES = -lslang -ldl X+LOADLIBES = -lslang -ltermcap X # For Windows NT: -lslang -ldl -ltermcap X # For FreeBSD: -lslang -ldl -ltermcap X # For OpenBSD: -lslang -ldl -ltermcap X X # Location and options to a BSD compatible install program X-INSTALL = /usr/bin/install -c X-INSTALL_PROGRAM = $(INSTALL) X-INSTALL_DATA = $(INSTALL) -m 644 END-of-lpe/patches/patch-aa exit -Chris >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990413041026.A17FD165A>