svn commit: r345731 - in head/chinese/ve: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Feb 23 15:20:55 UTC 2014
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 at 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 at 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;
+
More information about the svn-ports-all
mailing list