From owner-svn-ports-head@FreeBSD.ORG Mon Nov 4 07:30:35 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A49ACDDB; Mon, 4 Nov 2013 07:30:35 +0000 (UTC) (envelope-from johans@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 81A0B214F; Mon, 4 Nov 2013 07:30:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA47UZ49056319; Mon, 4 Nov 2013 07:30:35 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA47UYPd056314; Mon, 4 Nov 2013 07:30:34 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201311040730.rA47UYPd056314@svn.freebsd.org> From: Johan van Selst Date: Mon, 4 Nov 2013 07:30:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332669 - in head/devel/gindent: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2013 07:30:35 -0000 Author: johans Date: Mon Nov 4 07:30:34 2013 New Revision: 332669 URL: http://svnweb.freebsd.org/changeset/ports/332669 Log: - Fix parsing of the -il option - Enable STAGE support PR: ports/183438 Submitted by: Wietse Venema Deleted: head/devel/gindent/files/patch-ab Modified: head/devel/gindent/Makefile head/devel/gindent/files/patch-args.c head/devel/gindent/files/patch-doc:Makefile.in head/devel/gindent/files/patch-indent.h head/devel/gindent/pkg-plist Modified: head/devel/gindent/Makefile ============================================================================== --- head/devel/gindent/Makefile Mon Nov 4 06:05:12 2013 (r332668) +++ head/devel/gindent/Makefile Mon Nov 4 07:30:34 2013 (r332669) @@ -3,7 +3,7 @@ PORTNAME= gindent PORTVERSION= 2.2.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= indent @@ -18,7 +18,6 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --program-prefix=g MAKE_JOBS_UNSAFE= yes -NO_STAGE= yes .include .if ${PORT_OPTIONS:MNLS} @@ -29,7 +28,6 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -MAN1= gindent.1 INFO= indent .include @@ -39,9 +37,9 @@ post-patch: 's|malloc\.h|stdlib.h|g' post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/indent.html ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/indent.html ${STAGEDIR}${DOCSDIR} .endif .include Modified: head/devel/gindent/files/patch-args.c ============================================================================== --- head/devel/gindent/files/patch-args.c Mon Nov 4 06:05:12 2013 (r332668) +++ head/devel/gindent/files/patch-args.c Mon Nov 4 07:30:34 2013 (r332669) @@ -1,6 +1,6 @@ --- src/args.c.orig 2008-03-11 19:50:42.000000000 +0100 -+++ src/args.c 2010-06-27 16:29:54.000000000 +0200 -@@ -163,6 +163,7 @@ ++++ src/args.c 2013-11-04 07:16:35.000000000 +0100 +@@ -163,6 +163,7 @@ static int exp_hnl = 0; static int exp_i = 0; static int exp_il = 0; static int exp_ip = 0; @@ -8,7 +8,7 @@ static int exp_kr = 0; static int exp_l = 0; static int exp_lc = 0; -@@ -237,6 +238,30 @@ +@@ -237,6 +238,30 @@ typedef struct static void usage (void); @@ -39,7 +39,7 @@ #ifdef BERKELEY_DEFAULTS /** -@@ -264,63 +289,66 @@ +@@ -264,63 +289,66 @@ const pro_ty pro[] = #endif {"pi", PRO_INT, -1, ONOFF_NA, &settings.paren_indent, &exp_pi}, {"pcs", PRO_BOOL, false, ON, &settings.proc_calls_space, &exp_pcs}, @@ -113,8 +113,8 @@ +/* This is now the default. */ + KNF_PRO_SETTINGS, + {"ip", PRO_INT, 8, ONOFF_NA, &settings.indent_parameters, &exp_ip}, -+ {"i", PRO_INT, 8, ONOFF_NA, &settings.ind_size, &exp_i}, {"il", PRO_INT, DEFAULT_LABEL_INDENT, ONOFF_NA, &settings.label_offset, &exp_il}, ++ {"i", PRO_INT, 8, ONOFF_NA, &settings.ind_size, &exp_i}, {"hnl", PRO_BOOL, true, ON, &settings.honour_newlines, &exp_hnl}, {"h", PRO_FUNCTION, 0, ONOFF_NA, (int *) usage, &exp_version}, - {"gnu", PRO_SETTINGS, 0, ONOFF_NA, GNU_SETTINGS_STRING, &exp_gnu}, @@ -133,7 +133,7 @@ {"cp", PRO_INT, 33, ONOFF_NA, &settings.else_endif_col, &exp_cp}, {"cli", PRO_INT, 0, ONOFF_NA, &settings.case_indent, &exp_cli}, {"ci", PRO_INT, 4, ONOFF_NA, &settings.continuation_indent, &exp_ci}, -@@ -341,12 +369,12 @@ +@@ -341,12 +369,12 @@ const pro_ty pro[] = {"bl", PRO_BOOL, true, OFF, &settings.btype_2, &exp_bl}, {"bfda", PRO_BOOL, false, ON, &settings.break_function_decl_args, &exp_bfda}, {"bfde", PRO_BOOL, false, ON, &settings.break_function_decl_args_end, &exp_bfde}, @@ -150,7 +150,7 @@ {"bacc", PRO_BOOL, false, ON, &settings.blanklines_around_conditional_compilation, &exp_bacc}, {"T", PRO_KEY, 0, ONOFF_NA, 0, &exp_T}, {"ppi", PRO_INT, 0, ONOFF_NA, &settings.force_preproc_width, &exp_ppi}, -@@ -381,7 +409,7 @@ +@@ -381,7 +409,7 @@ const pro_ty pro[] = #endif {"pi", PRO_INT, -1, ONOFF_NA, &settings.paren_indent, &exp_pi}, {"pcs", PRO_BOOL, true, ON, &settings.proc_calls_space, &exp_pcs}, @@ -159,7 +159,7 @@ {"o", PRO_BOOL, false, ON, &settings.expect_output_file, &exp_o}, {"nv", PRO_BOOL, false, OFF, &settings.verbose, &exp_v}, {"nut", PRO_BOOL, true, OFF, &settings.use_tabs, &exp_ut}, -@@ -425,14 +453,15 @@ +@@ -425,14 +453,15 @@ const pro_ty pro[] = {"lp", PRO_BOOL, true, ON, &settings.lineup_to_parens, &exp_lp}, {"lc", PRO_INT, DEFAULT_RIGHT_COMMENT_MARGIN, ONOFF_NA, &settings.comment_max_col, &exp_lc}, {"l", PRO_INT, DEFAULT_RIGHT_MARGIN, ONOFF_NA, &settings.max_col, &exp_l}, @@ -177,7 +177,7 @@ {"fca", PRO_BOOL, false, ON, &settings.format_comments, &exp_fca}, {"fc1", PRO_BOOL, false, ON, &settings.format_col1_comments, &exp_fc1}, {"eei", PRO_BOOL, false, ON, &settings.extra_expression_indent, &exp_eei}, -@@ -593,6 +622,9 @@ +@@ -593,6 +622,9 @@ const long_option_conversion_ty option_c {"blank-lines-after-declarations", "bad"}, {"blank-lines-after-commas", "bc"}, {"blank-before-sizeof", "bs"}, @@ -187,7 +187,7 @@ {"berkeley-style", "orig"}, {"berkeley", "orig"}, {"Bill-Shannon", "bs"}, -@@ -798,7 +830,7 @@ +@@ -798,7 +830,7 @@ extern int set_option( if (!found) { Modified: head/devel/gindent/files/patch-doc:Makefile.in ============================================================================== --- head/devel/gindent/files/patch-doc:Makefile.in Mon Nov 4 06:05:12 2013 (r332668) +++ head/devel/gindent/files/patch-doc:Makefile.in Mon Nov 4 07:30:34 2013 (r332669) @@ -1,6 +1,6 @@ --- doc/Makefile.in.orig 2008-03-11 19:54:15.000000000 +0100 -+++ doc/Makefile.in 2010-06-27 16:29:17.000000000 +0200 -@@ -602,10 +602,10 @@ ++++ doc/Makefile.in 2013-11-04 06:57:00.000000000 +0100 +@@ -602,10 +602,10 @@ uninstall-am: uninstall-dvi-am uninstall uninstall-pdf-am uninstall-ps-am Modified: head/devel/gindent/files/patch-indent.h ============================================================================== --- head/devel/gindent/files/patch-indent.h Mon Nov 4 06:05:12 2013 (r332668) +++ head/devel/gindent/files/patch-indent.h Mon Nov 4 07:30:34 2013 (r332669) @@ -1,6 +1,6 @@ --- src/indent.h.orig 2008-03-11 19:50:42.000000000 +0100 -+++ src/indent.h 2010-06-27 16:29:17.000000000 +0200 -@@ -135,9 +135,9 @@ ++++ src/indent.h 2013-11-04 06:57:00.000000000 +0100 +@@ -135,9 +135,9 @@ typedef enum bb_code bb_cast } bb_code_ty; Modified: head/devel/gindent/pkg-plist ============================================================================== --- head/devel/gindent/pkg-plist Mon Nov 4 06:05:12 2013 (r332668) +++ head/devel/gindent/pkg-plist Mon Nov 4 07:30:34 2013 (r332669) @@ -1,5 +1,6 @@ bin/gindent bin/gtexinfo2man +man/man1/gindent.1.gz %%PORTDOCS%%%%DOCSDIR%%/indent.html %%NLS%%share/locale/ca/LC_MESSAGES/indent.mo %%NLS%%share/locale/da/LC_MESSAGES/indent.mo