View | Details | Raw Unified | Return to bug 83267
Collapse All | Expand All

(-)editors/zile/Makefile (-16 / +5 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	zile
8
PORTNAME=	zile
9
PORTVERSION=	2.0.7
9
PORTVERSION=	2.2.0
10
CATEGORIES=	editors
10
CATEGORIES=	editors
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 14-41 Link Here
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Small emacs-like text editor
15
COMMENT=	Small emacs-like text editor
16
16
17
USE_GCC=	3.4
17
USE_GETOPT_LONG=	yes
18
USE_REINPLACE=	yes
18
USE_REINPLACE=	yes
19
USE_GMAKE=	yes
19
USE_GMAKE=	yes
20
USE_AUTOMAKE_VER=	19
20
GNU_CONFIGURE=	yes
21
USE_AUTOCONF_VER=	259
22
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
21
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
22
CONFIGURE_ARGS=	  --disable-allegro --disable-epocemx
23
23
24
MAN1=		zile.1
24
MAN1=		zile.1
25
INFO=		zile
25
INFO=		zile
26
PLIST_FILES=	bin/zile %%DATADIR%%/AUTODOC %%DATADIR%%/FAQ %%DATADIR%%/HELP \
26
PLIST_FILES=	bin/zile %%DATADIR%%/AUTODOC %%DATADIR%%/FAQ %%DATADIR%%/HELP \
27
		%%DATADIR%%/TUTORIAL %%DATADIR%%/zilerc.sample
27
		%%DATADIR%%/TUTORIAL %%DATADIR%%/dotzile.sample
28
PLIST_DIRS=	%%DATADIR%%
28
PLIST_DIRS=	%%DATADIR%%
29
30
post-extract:
31
	@${RM} -f ${WRKSRC}/doc/zile.info
32
33
post-patch:
34
	@${REINPLACE_CMD} -e '/^BFD_CC_FOR_BUILD/d' ${WRKSRC}/configure.ac
35
	@${GREP} -lR "Makefile.am" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
36
		's|_FOR_BUILD||g'
37
38
pre-configure:
39
	@cd ${CONFIGURE_WRKSRC} && ${ACLOCAL}
40
29
41
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)editors/zile/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (zile-2.0.7.tar.gz) = f0243074ba36ab807be83a3ad9923f61
1
MD5 (zile-2.2.0.tar.gz) = 1847cfd4e2ba83ff0b1b007c27d6f4a2
2
SIZE (zile-2.0.7.tar.gz) = 340356
2
SIZE (zile-2.2.0.tar.gz) = 333120
(-)editors/zile/files/patch-configure (+21 lines)
Line 0 Link Here
1
--- configure.orig	Mon Jul 11 15:17:20 2005
2
+++ configure	Mon Jul 11 23:25:52 2005
3
@@ -2933,8 +2933,7 @@
4
 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
5
 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
6
   EXEEXT_FOR_BUILD=""
7
-  test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeex
8
-t}
9
+  test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
10
 fi
11
 
12
 # Find a good install program.  We prefer a C program (faster),
13
@@ -3995,7 +3994,7 @@
14
 
15
 
16
 if test "$GCC" = "yes"; then
17
-  CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wconversion -pedantic"
18
+  CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wconversion"
19
 fi
20
 
21
 
(-)editors/zile/files/patch-doc::zile.texi (-25 lines)
Lines 1-25 Link Here
1
--- doc/zile.texi.orig	Sun Feb  6 17:44:33 2005
2
+++ doc/zile.texi	Wed Feb  9 00:07:44 2005
3
@@ -1,6 +1,10 @@
4
 \input texinfo   @c -*-texinfo-*-
5
 @setfilename zile.info
6
 @settitle The Zile Manual
7
+@dircategory Text editors
8
+@direntry
9
+* Zile: (zile).                 Zile emacs clone text editor.
10
+@end direntry
11
 
12
 @c If "finalout" is commented out, the printed output will show
13
 @c black boxes that mark lines that are too long.  Thus, it is
14
@@ -18,11 +22,6 @@
15
 @subtitle Edition 2.0 for Zile version 2.0
16
 @subtitle December 2004
17
 @author Sandro Sigala and Reuben Thomas
18
-
19
-@dircategory Text editors
20
-@direntry
21
-* Zile: (zile).                 Zile emacs clone text editor.
22
-@end direntry
23
 
24
 @page
25
 @vskip 0pt plus 1filll
(-)editors/zile/files/patch-src-vasprintf.c (+13 lines)
Line 0 Link Here
1
--- src/vasprintf.c.orig	Sat May 21 19:01:50 2005
2
+++ src/vasprintf.c	Mon Jul 11 23:23:19 2005
3
@@ -78,6 +78,10 @@
4
 #include <ctype.h>
5
 #include <limits.h>
6
 
7
+#ifndef va_copy
8
+#define va_copy(to,fr) ((to)=(fr))
9
+#endif
10
+
11
 #define ALLOC_CHUNK 2048
12
 #define ALLOC_SECURITY_MARGIN 1024   /* big value because some platforms have very big 'G' exponent */
13
 #if ALLOC_CHUNK < ALLOC_SECURITY_MARGIN

Return to bug 83267