diff --git a/chinese/ve/Makefile b/chinese/ve/Makefile index f0110ddc1d74..cc0be93a5c32 100644 --- a/chinese/ve/Makefile +++ b/chinese/ve/Makefile @@ -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 diff --git a/chinese/ve/files/patch-edit.c b/chinese/ve/files/patch-edit.c new file mode 100644 index 000000000000..d7098551adf0 --- /dev/null +++ b/chinese/ve/files/patch-edit.c @@ -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; diff --git a/chinese/ve/files/patch-screen.c b/chinese/ve/files/patch-screen.c new file mode 100644 index 000000000000..1af31f2e0efe --- /dev/null +++ b/chinese/ve/files/patch-screen.c @@ -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; + diff --git a/chinese/ve/pkg-plist b/chinese/ve/pkg-plist deleted file mode 100644 index eb1c8b4e7278..000000000000 --- a/chinese/ve/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/ve -share/ve/ve.hlp -@dirrm share/ve