[Midnightbsd-cvs] mports: editors/pico-alpine: Add pico-alpine, the text editor included

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Dec 21 10:07:38 EST 2007


Log Message:
-----------
Add pico-alpine, the text editor included with alpine.

Based on Doub Barton's port for FreeBSD.

Added Files:
-----------
    mports/editors/pico-alpine:
        Makefile (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
--- /dev/null
+++ editors/pico-alpine/pkg-descr
@@ -0,0 +1,14 @@
+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/
--- /dev/null
+++ editors/pico-alpine/pkg-plist
@@ -0,0 +1,2 @@
+bin/pico
+bin/pilot
--- /dev/null
+++ editors/pico-alpine/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for:	pico-alpine
+# Date created:				December 21, 2007
+# Whom:					Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/editors/pico-alpine/Makefile,v 1.1 2007/12/21 15:07:38 laffer1 Exp $
+#
+
+PORTNAME=	pico-alpine
+PORTREVISION=	0
+CATEGORIES=	editors
+DISTNAME=	alpine-${PORTVERSION}
+
+COMMENT=	[Al]PIne's message COmposition editor and Pilot file manager
+LICENSE=	apache2
+
+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"


More information about the Midnightbsd-cvs mailing list