aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/zile/Makefile21
-rw-r--r--editors/zile/distinfo4
-rw-r--r--editors/zile/files/patch-doc::zile.texi20
-rw-r--r--editors/zile/pkg-plist4
4 files changed, 32 insertions, 17 deletions
diff --git a/editors/zile/Makefile b/editors/zile/Makefile
index 9f462c1157c3..1f00e7565600 100644
--- a/editors/zile/Makefile
+++ b/editors/zile/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= zile
-PORTVERSION= 1.6.2
-PORTREVISION= 2
+PORTVERSION= 2.0.1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,19 +14,27 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Small emacs-like text editor
+USE_GCC= 3.4
+USE_REINPLACE= yes
USE_GMAKE= yes
-GNU_CONFIGURE= yes
+USE_AUTOMAKE_VER= 19
+USE_AUTOCONF_VER= 259
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
MAN1= zile.1
INFO= zile
+PLIST_FILES= bin/zile %%DATADIR%%/AUTODOC %%DATADIR%%/FAQ %%DATADIR%%/HELP \
+ %%DATADIR%%/TUTORIAL %%DATADIR%%/zilerc.sample
post-extract:
@${RM} -f ${WRKSRC}/doc/zile.info
-post-install:
- install-info ${PREFIX}/info/zile.info ${PREFIX}/info/dir
+post-patch:
+ @${REINPLACE_CMD} -e '/^BFD_CC_FOR_BUILD/d' ${WRKSRC}/configure.ac
+ @${GREP} -lR "Makefile.am" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|_FOR_BUILD||g'
+
+pre-configure:
+ @cd ${CONFIGURE_WRKSRC} && ${ACLOCAL}
.include <bsd.port.mk>
diff --git a/editors/zile/distinfo b/editors/zile/distinfo
index d858cbafb69f..ea8c34d04025 100644
--- a/editors/zile/distinfo
+++ b/editors/zile/distinfo
@@ -1,2 +1,2 @@
-MD5 (zile-1.6.2.tar.gz) = 7bb34d180c9de83f54cf079c694fcf9b
-SIZE (zile-1.6.2.tar.gz) = 254162
+MD5 (zile-2.0.1.tar.gz) = 4cc182d72699611dfcfc9ed04588ece1
+SIZE (zile-2.0.1.tar.gz) = 339755
diff --git a/editors/zile/files/patch-doc::zile.texi b/editors/zile/files/patch-doc::zile.texi
index 4062bd9ad5f6..68df5e4b6829 100644
--- a/editors/zile/files/patch-doc::zile.texi
+++ b/editors/zile/files/patch-doc::zile.texi
@@ -1,13 +1,25 @@
---- doc/zile.texi.orig Mon Apr 15 00:35:14 2002
-+++ doc/zile.texi Wed Nov 12 18:56:00 2003
+--- doc/zile.texi.orig Sun Feb 6 17:44:33 2005
++++ doc/zile.texi Wed Feb 9 00:07:44 2005
@@ -1,6 +1,10 @@
\input texinfo @c -*-texinfo-*-
@setfilename zile.info
@settitle The Zile Manual
-+@dircategory Editors
++@dircategory Text editors
+@direntry
-+* Zile: (zile). A customizable, self-documenting real-time display editor.
++* Zile: (zile). Zile emacs clone text editor.
+@end direntry
@c If "finalout" is commented out, the printed output will show
@c black boxes that mark lines that are too long. Thus, it is
+@@ -18,11 +22,6 @@
+ @subtitle Edition 2.0 for Zile version 2.0
+ @subtitle December 2004
+ @author Sandro Sigala and Reuben Thomas
+-
+-@dircategory Text editors
+-@direntry
+-* Zile: (zile). Zile emacs clone text editor.
+-@end direntry
+
+ @page
+ @vskip 0pt plus 1filll
diff --git a/editors/zile/pkg-plist b/editors/zile/pkg-plist
index 0f879715d7ee..ae2b0db643a9 100644
--- a/editors/zile/pkg-plist
+++ b/editors/zile/pkg-plist
@@ -3,10 +3,6 @@ bin/zile
%%DATADIR%%/AUTODOC
%%DATADIR%%/FAQ
%%DATADIR%%/HELP
-%%DATADIR%%/LATEST_VERSION
-%%DATADIR%%/MINIHELP1
-%%DATADIR%%/MINIHELP2
-%%DATADIR%%/MINIHELP3
%%DATADIR%%/TUTORIAL
%%DATADIR%%/zilerc.sample
@dirrm %%DATADIR%%