aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-05-20 20:53:56 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-05-20 20:53:56 +0000
commit4bbb020101eb4cd61237d60bfdf729cb2c7e8245 (patch)
treebfbeeda410991839b53022ea1d07e59e9e72aa4b
parent6bac3dc1deb4b78785a58dbbd3f0dd6582710f5b (diff)
downloadports-4bbb020101eb4cd61237d60bfdf729cb2c7e8245.tar.gz
ports-4bbb020101eb4cd61237d60bfdf729cb2c7e8245.zip
Notes
-rw-r--r--editors/Makefile1
-rw-r--r--editors/mg/Makefile74
-rw-r--r--editors/mg/distinfo1
-rw-r--r--editors/mg/files/tarignore1
-rw-r--r--editors/mg/pkg-comment1
-rw-r--r--editors/mg/pkg-descr19
-rw-r--r--editors/mg/pkg-plist4
7 files changed, 101 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index 3964a8da7cb8..0e26a96bd3bf 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -67,6 +67,7 @@
SUBDIR += leim20
SUBDIR += lpe
SUBDIR += manedit
+ SUBDIR += mg
SUBDIR += moleskine
SUBDIR += mp
SUBDIR += muggy
diff --git a/editors/mg/Makefile b/editors/mg/Makefile
new file mode 100644
index 000000000000..9c0d81f2e92c
--- /dev/null
+++ b/editors/mg/Makefile
@@ -0,0 +1,74 @@
+# New ports collection makefile for: mg
+# Date created: 14 May 2001
+# Whom: Dima Dorfman <dima@unixfreak.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mg
+PORTVERSION= 20010514
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
+ http://www.unixfreak.org/~dima/distfiles/
+MASTER_SITE_SUBDIR= dd
+
+MAINTAINER= dima@unixfreak.org
+
+MAN1= mg.1
+MANCOMPRESSED= maybe
+
+# This isn't very scalable, but I'm lazy..
+.if defined(NOMANCOMPRESS)
+MANNAME= mg.1
+.else
+MANNAME= mg.1.gz
+.endif
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/mg ${PREFIX}/bin/mg
+ @${INSTALL_MAN} ${WRKSRC}/${MANNAME} ${PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/mg
+ @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/tutorial \
+ ${PREFIX}/share/doc/mg
+.endif
+
+#
+# Ports build/install stuff stops here. Tarball creation stuff begins here.
+#
+.include <bsd.port.pre.mk>
+CVS_CMD?= cvs -z3
+CVS_DATE= Mon May 14 17:41:46 PDT 2001
+CVS_SITES?= anoncvs@anoncvs3.usa.openbsd.org:/cvs \
+ anoncvs@anoncvs1.ca.openbsd.org:/cvs
+CVS_MODULE= src/usr.bin/mg
+
+#
+# CVS checkout stuff mostly stolen from security/openssh-askpass port by
+# kris@freebsd.org
+#
+tarball:
+ @${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME}; \
+ for CVS_SITE in ${CVS_SITES}; do \
+ ${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
+ if ${CVS_CMD} -d $${CVS_SITE} co -D "${CVS_DATE}" \
+ ${CVS_MODULE}; then \
+ cd ${DISTDIR}; \
+ ${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
+ ${ECHO_MSG} ">> \"${PKGNAME}.tar.gz\"."; \
+ ${MV} ${PKGNAME}/${CVS_MODULE} \
+ ${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \
+ ${TAR} -cz \
+ -X ${FILESDIR}/tarignore \
+ -f ${PKGNAME}.tar.gz \
+ -C ${PKGNAME}/${CVS_MODULE:H} \
+ ${PKGNAME}; \
+ exit; \
+ fi \
+ done; \
+ ${RMDIR} ${DISTDIR}/${PKGNAME}; \
+ ${ECHO_MSG} ">> CVS checkout failed."; \
+ exit 1;
+
+.include <bsd.port.post.mk>
diff --git a/editors/mg/distinfo b/editors/mg/distinfo
new file mode 100644
index 000000000000..6c795e930a2f
--- /dev/null
+++ b/editors/mg/distinfo
@@ -0,0 +1 @@
+MD5 (mg-20010514.tar.gz) = 36c7ef4af945ccedded2ca9e0635eb2a
diff --git a/editors/mg/files/tarignore b/editors/mg/files/tarignore
new file mode 100644
index 000000000000..7ac83b287f2f
--- /dev/null
+++ b/editors/mg/files/tarignore
@@ -0,0 +1 @@
+CVS
diff --git a/editors/mg/pkg-comment b/editors/mg/pkg-comment
new file mode 100644
index 000000000000..9448a84e3dc9
--- /dev/null
+++ b/editors/mg/pkg-comment
@@ -0,0 +1 @@
+A small, fast Emacs-like editor
diff --git a/editors/mg/pkg-descr b/editors/mg/pkg-descr
new file mode 100644
index 000000000000..220cca276b3f
--- /dev/null
+++ b/editors/mg/pkg-descr
@@ -0,0 +1,19 @@
+Mg is a small, fast, portable, and free (public domain) Emacs-like
+editor maintained by the OpenBSD Project. It is intended for people
+who can't, or don't want to, run the real GNU Emacs, or are not
+familiar with the vi(1) editor.
+
+Although it is intended to be largely compatible with GNU Emacs, Mg
+doesn't have special modes for tasks other than editing plain text.
+Moreover, since it is written entirely in C, there is no language in
+which to write extensions in (read: no builtin Lisp interpreter).
+
+If you are looking for something that looks like Emacs (don't want to
+learn another editor) but don't have the resources to run the latter,
+this may be what you're looking for.
+
+Enjoy!
+
+ Dima Dorfman
+ dima@unixfreak.org
+ 14 May 2001
diff --git a/editors/mg/pkg-plist b/editors/mg/pkg-plist
new file mode 100644
index 000000000000..85acc4a587b1
--- /dev/null
+++ b/editors/mg/pkg-plist
@@ -0,0 +1,4 @@
+bin/mg
+share/doc/mg/README
+share/doc/mg/tutorial
+@dirrm share/doc/mg