Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 15:20:55 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345731 - in head/chinese/ve: . files
Message-ID:  <201402231520.s1NFKt8w088917@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Feb 23 15:20:54 2014
New Revision: 345731
URL: http://svnweb.freebsd.org/changeset/ports/345731
QAT: https://qat.redports.org/buildarchive/r345731/

Log:
  - Allow build with clang
  - Respect CC
  - Support STAGEDIR
  - While I'm here:
    - Add LICENSE
    - Use PLIST_DIRS/PLIST_FILES instead of PLIST
  
  PR:		ports/186932
  Submitted by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)

Added:
  head/chinese/ve/files/
  head/chinese/ve/files/patch-edit.c   (contents, props changed)
  head/chinese/ve/files/patch-screen.c   (contents, props changed)
Deleted:
  head/chinese/ve/pkg-plist
Modified:
  head/chinese/ve/Makefile

Modified: head/chinese/ve/Makefile
==============================================================================
--- head/chinese/ve/Makefile	Sun Feb 23 15:20:50 2014	(r345730)
+++ head/chinese/ve/Makefile	Sun Feb 23 15:20:54 2014	(r345731)
@@ -10,5 +10,18 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	gaod@hychen.org
 COMMENT=	NTHU-CS Maple BBS 2.36 BBS-like editor
 
-NO_STAGE=	yes
+LICENSE=	GPLv1 GPLv2 GPLv3
+LICENSE_COMB=	dual
+
+MAKE_ARGS=	CC="${CC}"
+
+PLIST_FILES=	bin/ve \
+		%%DATADIR%%/ve.hlp
+PLIST_DIRS=	%%DATADIR%%
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DATADIR}/
+	${INSTALL_PROGRAM} ${WRKSRC}/ve ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/ve.hlp ${STAGEDIR}${DATADIR}/
+
 .include <bsd.port.mk>

Added: head/chinese/ve/files/patch-edit.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/ve/files/patch-edit.c	Sun Feb 23 15:20:54 2014	(r345731)
@@ -0,0 +1,11 @@
+--- edit.c.orig	2014-02-21 07:38:19.000000000 +0800
++++ edit.c	2014-02-21 07:38:29.000000000 +0800
+@@ -988,7 +988,7 @@
+       redraw_everything = YEA;
+ }
+ 
+-match_paren()
++void match_paren()
+ {
+    static char parens[] = "()[]{}<>";
+    int type, mode;

Added: head/chinese/ve/files/patch-screen.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/ve/files/patch-screen.c	Sun Feb 23 15:20:54 2014	(r345731)
@@ -0,0 +1,11 @@
+--- screen.c.orig	2014-02-21 07:38:36.000000000 +0800
++++ screen.c	2014-02-21 07:38:47.000000000 +0800
+@@ -643,7 +643,7 @@
+   }
+ }
+ 
+-region_scroll_up(int top, int bottom)
++void region_scroll_up(int top, int bottom)
+ {
+    int i;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402231520.s1NFKt8w088917>