aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2007-10-24 02:13:32 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2007-10-24 02:13:32 +0800
commit3df4b1258bfa35a4ee20937621e5f081940b4ec2 (patch)
treeb87be6a9f0706eedc69dea0ee6187240e9c0d7b8 /editors
parentb7309521dfd9d22c0a2b3b36e3d96f51393958f6 (diff)
downloadfreebsd-ports-gnome-3df4b1258bfa35a4ee20937621e5f081940b4ec2.tar.gz
freebsd-ports-gnome-3df4b1258bfa35a4ee20937621e5f081940b4ec2.tar.zst
freebsd-ports-gnome-3df4b1258bfa35a4ee20937621e5f081940b4ec2.zip
- Update to 20070918
- Pass maintainership to submitter PR: ports/117387 Submitted by: denisehg hotpop.com Approved by: clsung (mentor, implicit)
Diffstat (limited to 'editors')
-rw-r--r--editors/mg/Makefile78
-rw-r--r--editors/mg/distinfo6
-rw-r--r--editors/mg/files/patch-Makefile10
-rw-r--r--editors/mg/files/patch-def.h11
-rw-r--r--editors/mg/files/patch-queue.h4
-rw-r--r--editors/mg/files/patch-sysdef.h11
-rw-r--r--editors/mg/files/tarignore1
7 files changed, 16 insertions, 105 deletions
diff --git a/editors/mg/Makefile b/editors/mg/Makefile
index 7e70d45efc7f..1c76b91cfc2e 100644
--- a/editors/mg/Makefile
+++ b/editors/mg/Makefile
@@ -6,78 +6,26 @@
#
PORTNAME= mg
-PORTVERSION= 20050820
+PORTVERSION= 20070918
CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= lawrance
+MASTER_SITES= http://www.xs4all.nl/~hanb/software/mg/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= denisehg@hotpop.com
COMMENT= A small, fast Emacs-like editor
-MANSECTS= 1
-MAN1= mg.1
-MANCOMPRESSED= maybe
+MAN1= mg.1
+MANCOMPRESSED= no
-# MAN page COMPression SUFFIX
-.if !defined(NOMANCOMPRESS)
-MANCOMPSUFFIX= .gz
-.else
-MANCOMPSUFFIX=
-.endif
+HAS_CONFIGURE= yes
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/mg ${PREFIX}/bin/mg
-.for __s in ${MANSECTS}
-.for __m in ${MAN${__s}:S/$/${MANCOMPSUFFIX}/}
- @${INSTALL_MAN} ${WRKSRC}/${__m} ${PREFIX}/man/man${__s}/${__m}
-.endfor
-.endfor
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/mg
- @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/tutorial \
- ${PREFIX}/share/doc/mg
+ ${MKDIR} ${DOCSDIR}
+.for FILE in README tutorial
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
.endif
-.include <bsd.port.pre.mk>
-
-#
-# Ports build/install stuff stops here. Tarball creation stuff begins here.
-#
-CVS_CMD?= cvs -z3
-CVS_DATE= Sat Aug 20 21:22:23 UTC 2005
-CVS_SITES?= anoncvs@anoncvs3.usa.openbsd.org:/cvs \
- anoncvs@anoncvs1.ca.openbsd.org:/cvs
-CVS_MODULE= src/usr.bin/mg
-CVS_STRTONUM= src/lib/libc/stdlib/strtonum.c
-
-#
-# 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} ${CVS_STRTONUM}; then \
- cd ${DISTDIR}; \
- ${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
- ${ECHO_MSG} ">> \"${PKGNAME}.tar.gz\"."; \
- ${MV} ${PKGNAME}/${CVS_MODULE} \
- ${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \
- ${MV} ${PKGNAME}/${CVS_STRTONUM} \
- ${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>
+.include <bsd.port.mk>
diff --git a/editors/mg/distinfo b/editors/mg/distinfo
index 43c9dd79b34c..5eefc07d7360 100644
--- a/editors/mg/distinfo
+++ b/editors/mg/distinfo
@@ -1,3 +1,3 @@
-MD5 (mg-20050820.tar.gz) = b3083b7fa423f67ef0924277d9115cfb
-SHA256 (mg-20050820.tar.gz) = cc5d54822dacafbc263bb80c179fedc89d553f69b5a2dcb8fd33f2de20f75649
-SIZE (mg-20050820.tar.gz) = 117541
+MD5 (mg-20070918.tar.gz) = 1299677cf22fba1f9535e91d8833c68e
+SHA256 (mg-20070918.tar.gz) = c937749eb6b8490ad2dd06603855d9876f42a99b341dd8dd85019ab476f4f9d1
+SIZE (mg-20070918.tar.gz) = 131779
diff --git a/editors/mg/files/patch-Makefile b/editors/mg/files/patch-Makefile
deleted file mode 100644
index d6e74c209768..000000000000
--- a/editors/mg/files/patch-Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -u -x _darcs -ur _darcs/current/Makefile ./Makefile
---- _darcs/current/Makefile Thu Mar 10 19:27:47 2005
-+++ ./Makefile Sun Aug 21 02:41:52 2005
-@@ -29,4 +29,6 @@
- #
- SRCS+= grep.c theo.c mail.c
-
-+SRCS+= strtonum.c
-+
- .include <bsd.prog.mk>
diff --git a/editors/mg/files/patch-def.h b/editors/mg/files/patch-def.h
deleted file mode 100644
index 8786d400eb14..000000000000
--- a/editors/mg/files/patch-def.h
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -u -x _darcs -ur _darcs/current/def.h ./def.h
---- _darcs/current/def.h Tue Jun 14 20:14:40 2005
-+++ ./def.h Sun Aug 21 02:30:50 2005
-@@ -3,6 +3,7 @@
- /* This file is in the public domain. */
-
- #include <sys/queue.h>
-+#include "queue.h"
-
- /*
- * This file is the general header file for all parts
diff --git a/editors/mg/files/patch-queue.h b/editors/mg/files/patch-queue.h
deleted file mode 100644
index 1eecfd4c6874..000000000000
--- a/editors/mg/files/patch-queue.h
+++ /dev/null
@@ -1,4 +0,0 @@
---- /dev/null Sun Aug 21 03:44:00 2005
-+++ queue.h Sun Aug 21 02:27:51 2005
-@@ -0,0 +1 @@
-+#define LIST_END(head) NULL
diff --git a/editors/mg/files/patch-sysdef.h b/editors/mg/files/patch-sysdef.h
deleted file mode 100644
index 20947af10489..000000000000
--- a/editors/mg/files/patch-sysdef.h
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -u -x _darcs -ur _darcs/current/sysdef.h ./sysdef.h
---- _darcs/current/sysdef.h Tue Jun 14 20:14:40 2005
-+++ ./sysdef.h Sun Aug 21 02:47:40 2005
-@@ -26,3 +26,7 @@
- gid_t fi_gid;
- mode_t fi_mode;
- };
-+
-+#ifndef LOGIN_NAME_MAX
-+#define LOGIN_NAME_MAX MAXLOGNAME
-+#endif
diff --git a/editors/mg/files/tarignore b/editors/mg/files/tarignore
deleted file mode 100644
index 7ac83b287f2f..000000000000
--- a/editors/mg/files/tarignore
+++ /dev/null
@@ -1 +0,0 @@
-CVS