From 0f5b7a5ee12f8b57d3b407748e098ffed2e30add Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Fri, 21 Dec 2007 10:40:25 +0000 Subject: [PATCH] Add a slave port for the Alpine version of pico. Pico and Pilot are simple, display-oriented tools. Commands are displayed at the bottom of the screen, and context-sensitive help is provided. In Pico as characters are typed they are immediately inserted into the text. It has three basic features: paragraph justification, searching, and block cut/paste. In Pilot several basic file manipulation commands are provided: Delete, Rename, Copy, View, Launch, and Edit. The "View" and "Edit" commands operate on text files only. The "Edit" command invokes "pico." The "Launch" command provides a convenient way to either execute the selected file or to run an application on it. WWW: http://www.washington.edu/alpine/ --- editors/Makefile | 1 + editors/pico-alpine/Makefile | 36 +++++++++++++++++++++++++++++++++++ editors/pico-alpine/pkg-descr | 17 +++++++++++++++++ editors/pico-alpine/pkg-plist | 2 ++ 4 files changed, 56 insertions(+) create mode 100644 editors/pico-alpine/Makefile create mode 100644 editors/pico-alpine/pkg-descr create mode 100644 editors/pico-alpine/pkg-plist diff --git a/editors/Makefile b/editors/Makefile index 564d5bd24d5b..7c633ea47c2f 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -116,6 +116,7 @@ SUBDIR += openoffice.org-2-devel SUBDIR += pdfedit SUBDIR += pico + SUBDIR += pico-alpine SUBDIR += poedit SUBDIR += psgml SUBDIR += puff diff --git a/editors/pico-alpine/Makefile b/editors/pico-alpine/Makefile new file mode 100644 index 000000000000..df2c8bf029f2 --- /dev/null +++ b/editors/pico-alpine/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: pico-alpine +# Date created: December 21, 2007 +# Whom: Doug Barton +# +# $FreeBSD$ +# + +PORTNAME= pico-alpine +PORTREVISION= 0 +CATEGORIES= editors +DISTNAME= alpine-${PORTVERSION} + +COMMENT= [Al]PIne's message COmposition editor and Pilot file manager + +MASTERDIR= ${.CURDIR}/../../mail/alpine + +DESCR= ${.CURDIR}/pkg-descr +PLIST= ${.CURDIR}/pkg-plist + +PATCHDIR= # To void equivalent in master port +PKGMESSAGE= /nonexistent # To void equivalent in master port + +PICO_ALPINE_SLAVE= yes + +MAN1= pico.1 pilot.1 + +post-patch: + @${CP} ${WRKSRC}/imap/Makefile ${WRKSRC}/imap/Makefile.presed + @${SED} -e "s#^\(all:.*\) bundled\$$#\1#" \ + ${WRKSRC}/imap/Makefile.presed > ${WRKSRC}/imap/Makefile + @${CP} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.presed + @${SED} -e "s#^\(SUBDIRS.*pico\).*#\1#" \ + -e "s#^man_MANS.*#man_MANS = doc/pico.1 doc/pilot.1#" \ + ${WRKSRC}/Makefile.in.presed > ${WRKSRC}/Makefile.in + +.include "${MASTERDIR}/Makefile" diff --git a/editors/pico-alpine/pkg-descr b/editors/pico-alpine/pkg-descr new file mode 100644 index 000000000000..c8a5b9a6d127 --- /dev/null +++ b/editors/pico-alpine/pkg-descr @@ -0,0 +1,17 @@ +Pico and Pilot are simple, display-oriented tools. Commands are displayed +at the bottom of the screen, and context-sensitive help is provided. + +In Pico as characters are typed they are immediately inserted into the text. +It has three basic features: paragraph justification, searching, and block +cut/paste. + +In Pilot several basic file manipulation commands are provided: +Delete, Rename, Copy, View, Launch, and Edit. The "View" and "Edit" +commands operate on text files only. The "Edit" command invokes "pico." +The "Launch" command provides a convenient way to either execute the selected +file or to run an application on it. + +WWW: http://www.washington.edu/alpine/ + +- Doug Barton +dougb@FreeBSD.org diff --git a/editors/pico-alpine/pkg-plist b/editors/pico-alpine/pkg-plist new file mode 100644 index 000000000000..46fee040c4d7 --- /dev/null +++ b/editors/pico-alpine/pkg-plist @@ -0,0 +1,2 @@ +bin/pico +bin/pilot