From 02b043b14a35f658d3cf18e5144a1eb45155f14b Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Thu, 25 Oct 2018 00:30:59 +0000 Subject: [PATCH] - Add pkg-plist which forgot in previous commit - Replace LDFLAGS= with LDFLAGS+= Spotted by: tobik@ --- editors/ne/Makefile | 5 +- editors/ne/files/patch-makefile | 24 +++ editors/ne/pkg-plist | 278 ++++++++++++++++++++++++++++++++ 3 files changed, 306 insertions(+), 1 deletion(-) create mode 100644 editors/ne/files/patch-makefile create mode 100644 editors/ne/pkg-plist diff --git a/editors/ne/Makefile b/editors/ne/Makefile index 37e2d1286858..7c0f2ed36c78 100644 --- a/editors/ne/Makefile +++ b/editors/ne/Makefile @@ -23,7 +23,7 @@ MAKE_ARGS= CC="${CC}" \ NE_GLOBAL_DIR="${DATADIR}" ALL_TARGET= ne -LDFLAGS= -lgnuregex +LDFLAGS+= -lgnuregex BUILD_WRKSRC= ${WRKSRC}/src INFO= ne @@ -45,6 +45,9 @@ post-patch: post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ne + ${INSTALL_MAN} ${WRKSRC}/doc/ne.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/doc/ne.info.gz \ + ${STAGEDIR}${PREFIX}/${INFO_PATH}/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/editors/ne/files/patch-makefile b/editors/ne/files/patch-makefile new file mode 100644 index 000000000000..050ba7382925 --- /dev/null +++ b/editors/ne/files/patch-makefile @@ -0,0 +1,24 @@ +--- makefile.orig 2018-10-24 23:53:08 UTC ++++ makefile +@@ -54,17 +54,17 @@ install: + mkdir -p $(DESTDIR)$(PREFIX)/bin + mkdir -p $(DESTDIR)$(PREFIX)/share/ne/syntax + mkdir -p $(DESTDIR)$(PREFIX)/share/ne/macros +- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 ++# mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 + mkdir -p $(DESTDIR)$(PREFIX)/share/doc/ne +- mkdir -p $(DESTDIR)$(PREFIX)/share/info ++# mkdir -p $(DESTDIR)$(PREFIX)/share/info + cp -pf src/ne$(CMDSUFFIX) $(DESTDIR)$(PREFIX)/bin + cp -p extensions $(DESTDIR)$(PREFIX)/share/ne + cp -p syntax/*.jsf $(DESTDIR)$(PREFIX)/share/ne/syntax + cp -p macros/* $(DESTDIR)$(PREFIX)/share/ne/macros +- cp -p doc/ne.1 $(DESTDIR)$(PREFIX)/share/man/man1 ++# cp -p doc/ne.1 $(DESTDIR)$(PREFIX)/share/man/man1 + cp -pR doc/html doc/ne.txt doc/default.* README.md COPYING NEWS CHANGES $(DESTDIR)$(PREFIX)/share/doc/ne + if [ -f doc/ne.pdf ]; then cp -p doc/ne.pdf $(DESTDIR)$(PREFIX)/share/doc/ne ; fi +- cp -p doc/ne.info.gz $(DESTDIR)$(PREFIX)/share/info ++# cp -p doc/ne.info.gz $(DESTDIR)$(PREFIX)/share/info + -install-info --dir-file=$(DESTDIR)$(PREFIX)/share/info/dir $(DESTDIR)$(PREFIX)/share/info/ne.info.gz + + # Creates cygwin package on Windows diff --git a/editors/ne/pkg-plist b/editors/ne/pkg-plist new file mode 100644 index 000000000000..65d3eddbe839 --- /dev/null +++ b/editors/ne/pkg-plist @@ -0,0 +1,278 @@ +bin/ne +man/man1/ne.1.gz +%%PORTDOCS%%%%DOCSDIR%%/About.html +%%PORTDOCS%%%%DOCSDIR%%/Acknowledgments.html +%%PORTDOCS%%%%DOCSDIR%%/AdjustView.html +%%PORTDOCS%%%%DOCSDIR%%/Alert.html +%%PORTDOCS%%%%DOCSDIR%%/Arguments.html +%%PORTDOCS%%%%DOCSDIR%%/AtomicUndo.html +%%PORTDOCS%%%%DOCSDIR%%/AutoComplete.html +%%PORTDOCS%%%%DOCSDIR%%/AutoIndent.html +%%PORTDOCS%%%%DOCSDIR%%/AutoMatchBracket.html +%%PORTDOCS%%%%DOCSDIR%%/AutoPrefs.html +%%PORTDOCS%%%%DOCSDIR%%/Automatic-Preferences.html +%%PORTDOCS%%%%DOCSDIR%%/Backspace.html +%%PORTDOCS%%%%DOCSDIR%%/Basic-Macros.html +%%PORTDOCS%%%%DOCSDIR%%/Basic-Preferences.html +%%PORTDOCS%%%%DOCSDIR%%/Basics.html +%%PORTDOCS%%%%DOCSDIR%%/Beep.html +%%PORTDOCS%%%%DOCSDIR%%/Binary.html +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/CRLF.html +%%PORTDOCS%%%%DOCSDIR%%/Capitalize.html +%%PORTDOCS%%%%DOCSDIR%%/CaseSearch.html +%%PORTDOCS%%%%DOCSDIR%%/Center.html +%%PORTDOCS%%%%DOCSDIR%%/Changing-Menus.html +%%PORTDOCS%%%%DOCSDIR%%/Clear.html +%%PORTDOCS%%%%DOCSDIR%%/Clip-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/ClipNumber.html +%%PORTDOCS%%%%DOCSDIR%%/CloseDoc.html +%%PORTDOCS%%%%DOCSDIR%%/Command-Index.html +%%PORTDOCS%%%%DOCSDIR%%/Commands.html +%%PORTDOCS%%%%DOCSDIR%%/Concept-Index.html +%%PORTDOCS%%%%DOCSDIR%%/Configuration.html +%%PORTDOCS%%%%DOCSDIR%%/Copy.html +%%PORTDOCS%%%%DOCSDIR%%/Cut.html +%%PORTDOCS%%%%DOCSDIR%%/DelTabs.html +%%PORTDOCS%%%%DOCSDIR%%/DeleteChar.html +%%PORTDOCS%%%%DOCSDIR%%/DeleteEOL.html +%%PORTDOCS%%%%DOCSDIR%%/DeleteLine.html +%%PORTDOCS%%%%DOCSDIR%%/DeleteNextWord.html +%%PORTDOCS%%%%DOCSDIR%%/DeletePrevWord.html +%%PORTDOCS%%%%DOCSDIR%%/DoUndo.html +%%PORTDOCS%%%%DOCSDIR%%/Document-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/Documents.html +%%PORTDOCS%%%%DOCSDIR%%/Edit.html +%%PORTDOCS%%%%DOCSDIR%%/Editing-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/Editing.html +%%PORTDOCS%%%%DOCSDIR%%/Emergency-Save.html +%%PORTDOCS%%%%DOCSDIR%%/Erase.html +%%PORTDOCS%%%%DOCSDIR%%/Escape.html +%%PORTDOCS%%%%DOCSDIR%%/EscapeTime.html +%%PORTDOCS%%%%DOCSDIR%%/Exec.html +%%PORTDOCS%%%%DOCSDIR%%/Exit.html +%%PORTDOCS%%%%DOCSDIR%%/Extras.html +%%PORTDOCS%%%%DOCSDIR%%/FastGUI.html +%%PORTDOCS%%%%DOCSDIR%%/File-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/File.html +%%PORTDOCS%%%%DOCSDIR%%/Find.html +%%PORTDOCS%%%%DOCSDIR%%/FindRegExp.html +%%PORTDOCS%%%%DOCSDIR%%/Flags.html +%%PORTDOCS%%%%DOCSDIR%%/Flash.html +%%PORTDOCS%%%%DOCSDIR%%/Formatting-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/FreeForm.html +%%PORTDOCS%%%%DOCSDIR%%/General-Guidelines.html +%%PORTDOCS%%%%DOCSDIR%%/GotoBookmark.html +%%PORTDOCS%%%%DOCSDIR%%/GotoColumn.html +%%PORTDOCS%%%%DOCSDIR%%/GotoLine.html +%%PORTDOCS%%%%DOCSDIR%%/GotoMark.html +%%PORTDOCS%%%%DOCSDIR%%/Help.html +%%PORTDOCS%%%%DOCSDIR%%/HexCode.html +%%PORTDOCS%%%%DOCSDIR%%/Hints-and-Tricks.html +%%PORTDOCS%%%%DOCSDIR%%/History.html +%%PORTDOCS%%%%DOCSDIR%%/Insert.html +%%PORTDOCS%%%%DOCSDIR%%/InsertChar.html +%%PORTDOCS%%%%DOCSDIR%%/InsertLine.html +%%PORTDOCS%%%%DOCSDIR%%/InsertString.html +%%PORTDOCS%%%%DOCSDIR%%/InsertTab.html +%%PORTDOCS%%%%DOCSDIR%%/Introduction.html +%%PORTDOCS%%%%DOCSDIR%%/Key-Bindings.html +%%PORTDOCS%%%%DOCSDIR%%/KeyCode.html +%%PORTDOCS%%%%DOCSDIR%%/LineDown.html +%%PORTDOCS%%%%DOCSDIR%%/LineUp.html +%%PORTDOCS%%%%DOCSDIR%%/LoadAutoPrefs.html +%%PORTDOCS%%%%DOCSDIR%%/LoadPrefs.html +%%PORTDOCS%%%%DOCSDIR%%/Loading-and-Saving.html +%%PORTDOCS%%%%DOCSDIR%%/Macro.html +%%PORTDOCS%%%%DOCSDIR%%/Macros-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/Macros.html +%%PORTDOCS%%%%DOCSDIR%%/Mark.html +%%PORTDOCS%%%%DOCSDIR%%/MarkVert.html +%%PORTDOCS%%%%DOCSDIR%%/MatchBracket.html +%%PORTDOCS%%%%DOCSDIR%%/Menus.html +%%PORTDOCS%%%%DOCSDIR%%/Modified.html +%%PORTDOCS%%%%DOCSDIR%%/More-Advanced-Features.html +%%PORTDOCS%%%%DOCSDIR%%/Motivations-and-Design.html +%%PORTDOCS%%%%DOCSDIR%%/MoveBOS.html +%%PORTDOCS%%%%DOCSDIR%%/MoveEOF.html +%%PORTDOCS%%%%DOCSDIR%%/MoveEOL.html +%%PORTDOCS%%%%DOCSDIR%%/MoveEOW.html +%%PORTDOCS%%%%DOCSDIR%%/MoveIncDown.html +%%PORTDOCS%%%%DOCSDIR%%/MoveIncUp.html +%%PORTDOCS%%%%DOCSDIR%%/MoveLeft.html +%%PORTDOCS%%%%DOCSDIR%%/MoveRight.html +%%PORTDOCS%%%%DOCSDIR%%/MoveSOF.html +%%PORTDOCS%%%%DOCSDIR%%/MoveSOL.html +%%PORTDOCS%%%%DOCSDIR%%/MoveTOS.html +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/NOP.html +%%PORTDOCS%%%%DOCSDIR%%/NameConvert.html +%%PORTDOCS%%%%DOCSDIR%%/Navigation-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/Navigation.html +%%PORTDOCS%%%%DOCSDIR%%/NewDoc.html +%%PORTDOCS%%%%DOCSDIR%%/NextDoc.html +%%PORTDOCS%%%%DOCSDIR%%/NextPage.html +%%PORTDOCS%%%%DOCSDIR%%/NextWord.html +%%PORTDOCS%%%%DOCSDIR%%/NoFileReq.html +%%PORTDOCS%%%%DOCSDIR%%/Open.html +%%PORTDOCS%%%%DOCSDIR%%/OpenClip.html +%%PORTDOCS%%%%DOCSDIR%%/OpenMacro.html +%%PORTDOCS%%%%DOCSDIR%%/OpenNew.html +%%PORTDOCS%%%%DOCSDIR%%/PageDown.html +%%PORTDOCS%%%%DOCSDIR%%/PageUp.html +%%PORTDOCS%%%%DOCSDIR%%/Paragraph.html +%%PORTDOCS%%%%DOCSDIR%%/Paste.html +%%PORTDOCS%%%%DOCSDIR%%/PasteVert.html +%%PORTDOCS%%%%DOCSDIR%%/Play.html +%%PORTDOCS%%%%DOCSDIR%%/PopPrefs.html +%%PORTDOCS%%%%DOCSDIR%%/Portability-Problems.html +%%PORTDOCS%%%%DOCSDIR%%/Preferences-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/Prefs.html +%%PORTDOCS%%%%DOCSDIR%%/PreserveCR.html +%%PORTDOCS%%%%DOCSDIR%%/PrevDoc.html +%%PORTDOCS%%%%DOCSDIR%%/PrevPage.html +%%PORTDOCS%%%%DOCSDIR%%/PrevWord.html +%%PORTDOCS%%%%DOCSDIR%%/PushPrefs.html +%%PORTDOCS%%%%DOCSDIR%%/Quit.html +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%%%DOCSDIR%%/ReadOnly.html +%%PORTDOCS%%%%DOCSDIR%%/Record.html +%%PORTDOCS%%%%DOCSDIR%%/Redo.html +%%PORTDOCS%%%%DOCSDIR%%/Reference.html +%%PORTDOCS%%%%DOCSDIR%%/Refresh.html +%%PORTDOCS%%%%DOCSDIR%%/Regular-Expressions.html +%%PORTDOCS%%%%DOCSDIR%%/RepeatLast.html +%%PORTDOCS%%%%DOCSDIR%%/Replace.html +%%PORTDOCS%%%%DOCSDIR%%/ReplaceAll.html +%%PORTDOCS%%%%DOCSDIR%%/ReplaceOnce.html +%%PORTDOCS%%%%DOCSDIR%%/RequestOrder.html +%%PORTDOCS%%%%DOCSDIR%%/RightMargin.html +%%PORTDOCS%%%%DOCSDIR%%/Save.html +%%PORTDOCS%%%%DOCSDIR%%/SaveAll.html +%%PORTDOCS%%%%DOCSDIR%%/SaveAs.html +%%PORTDOCS%%%%DOCSDIR%%/SaveAutoPrefs.html +%%PORTDOCS%%%%DOCSDIR%%/SaveClip.html +%%PORTDOCS%%%%DOCSDIR%%/SaveDefPrefs.html +%%PORTDOCS%%%%DOCSDIR%%/SaveMacro.html +%%PORTDOCS%%%%DOCSDIR%%/SavePrefs.html +%%PORTDOCS%%%%DOCSDIR%%/Search-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/Search.html +%%PORTDOCS%%%%DOCSDIR%%/SearchBack.html +%%PORTDOCS%%%%DOCSDIR%%/SelectDoc.html +%%PORTDOCS%%%%DOCSDIR%%/SetBookmark.html +%%PORTDOCS%%%%DOCSDIR%%/Shift.html +%%PORTDOCS%%%%DOCSDIR%%/ShiftTabs.html +%%PORTDOCS%%%%DOCSDIR%%/Starting.html +%%PORTDOCS%%%%DOCSDIR%%/StatusBar.html +%%PORTDOCS%%%%DOCSDIR%%/Support-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/Suspend.html +%%PORTDOCS%%%%DOCSDIR%%/Syntax-Highlighting.html +%%PORTDOCS%%%%DOCSDIR%%/Syntax.html +%%PORTDOCS%%%%DOCSDIR%%/System.html +%%PORTDOCS%%%%DOCSDIR%%/TabSize.html +%%PORTDOCS%%%%DOCSDIR%%/Tabs.html +%%PORTDOCS%%%%DOCSDIR%%/Terminology.html +%%PORTDOCS%%%%DOCSDIR%%/The-Command-Line.html +%%PORTDOCS%%%%DOCSDIR%%/The-Encoding-Mess.html +%%PORTDOCS%%%%DOCSDIR%%/The-Input-Line.html +%%PORTDOCS%%%%DOCSDIR%%/The-Requester.html +%%PORTDOCS%%%%DOCSDIR%%/The-Status-Bar.html +%%PORTDOCS%%%%DOCSDIR%%/Through.html +%%PORTDOCS%%%%DOCSDIR%%/ToLower.html +%%PORTDOCS%%%%DOCSDIR%%/ToUpper.html +%%PORTDOCS%%%%DOCSDIR%%/ToggleSEOF.html +%%PORTDOCS%%%%DOCSDIR%%/ToggleSEOL.html +%%PORTDOCS%%%%DOCSDIR%%/Turbo.html +%%PORTDOCS%%%%DOCSDIR%%/UTF8.html +%%PORTDOCS%%%%DOCSDIR%%/UTF8Auto.html +%%PORTDOCS%%%%DOCSDIR%%/UTF8IO.html +%%PORTDOCS%%%%DOCSDIR%%/UTF_002d8-Support.html +%%PORTDOCS%%%%DOCSDIR%%/UndelLine.html +%%PORTDOCS%%%%DOCSDIR%%/Undo-Commands.html +%%PORTDOCS%%%%DOCSDIR%%/Undo.html +%%PORTDOCS%%%%DOCSDIR%%/UnloadMacros.html +%%PORTDOCS%%%%DOCSDIR%%/UnsetBookmark.html +%%PORTDOCS%%%%DOCSDIR%%/VerboseMacros.html +%%PORTDOCS%%%%DOCSDIR%%/Virtual-Extensions.html +%%PORTDOCS%%%%DOCSDIR%%/VisualBell.html +%%PORTDOCS%%%%DOCSDIR%%/WordWrap.html +%%PORTDOCS%%%%DOCSDIR%%/default.keys +%%PORTDOCS%%%%DOCSDIR%%/default.menus +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ne.pdf +%%PORTDOCS%%%%DOCSDIR%%/ne.txt +%%DATADIR%%/extensions +%%DATADIR%%/macros/DeleteSOL +%%DATADIR%%/macros/aspell +%%DATADIR%%/syntax/4gl.jsf +%%DATADIR%%/syntax/ada.jsf +%%DATADIR%%/syntax/ant.jsf +%%DATADIR%%/syntax/asm.jsf +%%DATADIR%%/syntax/awk.jsf +%%DATADIR%%/syntax/batch.jsf +%%DATADIR%%/syntax/c.jsf +%%DATADIR%%/syntax/classic_pascal.jsf +%%DATADIR%%/syntax/cobol.jsf +%%DATADIR%%/syntax/comment_todo.jsf +%%DATADIR%%/syntax/conf.jsf +%%DATADIR%%/syntax/csh.jsf +%%DATADIR%%/syntax/csharp.jsf +%%DATADIR%%/syntax/css.jsf +%%DATADIR%%/syntax/debian.jsf +%%DATADIR%%/syntax/diff.jsf +%%DATADIR%%/syntax/elixir.jsf +%%DATADIR%%/syntax/erb.jsf +%%DATADIR%%/syntax/erlang.jsf +%%DATADIR%%/syntax/fortran.jsf +%%DATADIR%%/syntax/git-commit.jsf +%%DATADIR%%/syntax/go.jsf +%%DATADIR%%/syntax/haml.jsf +%%DATADIR%%/syntax/haskell.jsf +%%DATADIR%%/syntax/html.jsf +%%DATADIR%%/syntax/htmlerb.jsf +%%DATADIR%%/syntax/ini.jsf +%%DATADIR%%/syntax/iptables.jsf +%%DATADIR%%/syntax/java.jsf +%%DATADIR%%/syntax/joerc.jsf +%%DATADIR%%/syntax/js.jsf +%%DATADIR%%/syntax/jsf.jsf +%%DATADIR%%/syntax/jsf_check.jsf +%%DATADIR%%/syntax/json.jsf +%%DATADIR%%/syntax/lisp.jsf +%%DATADIR%%/syntax/lua.jsf +%%DATADIR%%/syntax/m4.jsf +%%DATADIR%%/syntax/mail.jsf +%%DATADIR%%/syntax/mason.jsf +%%DATADIR%%/syntax/matlab.jsf +%%DATADIR%%/syntax/md.jsf +%%DATADIR%%/syntax/ocaml.jsf +%%DATADIR%%/syntax/pascal.jsf +%%DATADIR%%/syntax/perl.jsf +%%DATADIR%%/syntax/php.jsf +%%DATADIR%%/syntax/powershell.jsf +%%DATADIR%%/syntax/prolog.jsf +%%DATADIR%%/syntax/properties.jsf +%%DATADIR%%/syntax/ps.jsf +%%DATADIR%%/syntax/puppet.jsf +%%DATADIR%%/syntax/python.jsf +%%DATADIR%%/syntax/rexx.jsf +%%DATADIR%%/syntax/ruby.jsf +%%DATADIR%%/syntax/sed.jsf +%%DATADIR%%/syntax/sh.jsf +%%DATADIR%%/syntax/sieve.jsf +%%DATADIR%%/syntax/skill.jsf +%%DATADIR%%/syntax/sml.jsf +%%DATADIR%%/syntax/spec.jsf +%%DATADIR%%/syntax/sql.jsf +%%DATADIR%%/syntax/tabs.jsf +%%DATADIR%%/syntax/tcl.jsf +%%DATADIR%%/syntax/tex.jsf +%%DATADIR%%/syntax/texinfo.jsf +%%DATADIR%%/syntax/troff.jsf +%%DATADIR%%/syntax/txt2tags.jsf +%%DATADIR%%/syntax/typescript.jsf +%%DATADIR%%/syntax/verilog.jsf +%%DATADIR%%/syntax/vhdl.jsf +%%DATADIR%%/syntax/whitespace.jsf +%%DATADIR%%/syntax/xml.jsf +%%DATADIR%%/syntax/yaml.jsf