diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-02-23 23:20:54 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-02-23 23:20:54 +0800 |
commit | 6b773c432f7534130c83984e65095d89c8b52ef6 (patch) | |
tree | e0cb520e6821c4416a50ff29083838863dccaa33 /chinese | |
parent | cbe4045b503409311d4f7ad44d97b83cc27da426 (diff) | |
download | freebsd-ports-gnome-6b773c432f7534130c83984e65095d89c8b52ef6.tar.gz freebsd-ports-gnome-6b773c432f7534130c83984e65095d89c8b52ef6.tar.zst freebsd-ports-gnome-6b773c432f7534130c83984e65095d89c8b52ef6.zip |
- 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)
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/ve/Makefile | 15 | ||||
-rw-r--r-- | chinese/ve/files/patch-edit.c | 11 | ||||
-rw-r--r-- | chinese/ve/files/patch-screen.c | 11 | ||||
-rw-r--r-- | chinese/ve/pkg-plist | 3 |
4 files changed, 36 insertions, 4 deletions
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 <bsd.port.mk> 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 |