From 4e548c5caa39475ba4ad41c2c8a68050dfddfeed Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sun, 6 Oct 2013 20:55:20 +0000 Subject: - Change maintainer email to @FreeBSD.org - Add stage support - Add pkg-plist file Approved by: wg/culot (mentors, implicit) --- editors/jedit/Makefile | 39 ++---- editors/jedit/pkg-plist | 350 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 358 insertions(+), 31 deletions(-) create mode 100644 editors/jedit/pkg-plist (limited to 'editors') diff --git a/editors/jedit/Makefile b/editors/jedit/Makefile index 818fd181cdb5..47dd3baca4fd 100644 --- a/editors/jedit/Makefile +++ b/editors/jedit/Makefile @@ -10,7 +10,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}install EXTRACT_SUFX= .jar EXTRACT_ONLY= -MAINTAINER= danilogondolfo@gmail.com +MAINTAINER= danilo@FreeBSD.org COMMENT= Powerful programmer\'s text editor written in Java LICENSE= GPLv2 @@ -21,21 +21,7 @@ OPTIONS_DEFINE= MACROS DOCS MACROS_DESC= Install default set of macros (highly recommended) OPTIONS_DEFAULT= MACROS - -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MDOCS} -DOCS=y -.else -DOCS=n -.endif - -.if ${PORT_OPTIONS:MMACROS} -MACROS=y -.else -MACROS=n -.endif +OPTIONS_SUB= yes USE_JAVA= yes JAVA_VERSION= 1.6+ @@ -44,28 +30,19 @@ USE_XORG= x11 NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} - +DOCSDIR= ${DATADIR}/doc +PORTDOCS= * SUB_FILES= jedit.sh DESKTOP_ENTRIES="jEdit" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Development;" false -MAN1= jedit.1 -# The complete PLIST is generated in post-install -PLIST_FILES= bin/jedit share/pixmaps/${PORTNAME}.png - do-install: - @${PRINTF} "${DATADIR}\n${WRKDIR}\n${PREFIX}/man/man1\nY\n${MACROS}\n${DOCS}" | \ + @${PRINTF} "${STAGEDIR}${DATADIR}\n${WRKDIR}\n${STAGEDIR}${PREFIX}/man/man1\nY\nY\nY" | \ ${SETENV} CLASSPATH=${DISTDIR}/${DISTNAME}.jar \ ${JAVA} installer.Install text - @${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit - -post-install: - @${FIND} ${DATADIR} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${DATADIR} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} - @${INSTALL_DATA} ${DATADIR}/doc/jedit.png \ - ${PREFIX}/share/pixmaps/${PORTNAME}.png + @${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${STAGEDIR}${PREFIX}/bin/jedit + @${INSTALL_DATA} ${STAGEDIR}${DATADIR}/doc/jedit.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include diff --git a/editors/jedit/pkg-plist b/editors/jedit/pkg-plist new file mode 100644 index 000000000000..829cce496ed5 --- /dev/null +++ b/editors/jedit/pkg-plist @@ -0,0 +1,350 @@ +bin/jedit +man/man1/jedit.1.gz +share/java/jedit/jars/QuickNotepad.jar +share/java/jedit/jedit.jar +share/java/jedit/keymaps/Emacs_keys.props +share/java/jedit/keymaps/German_Keyboard_keys.props +share/java/jedit/keymaps/IntelliJ_IDEA_keys.props +share/java/jedit/keymaps/Mac_OS_X_keys.props +share/java/jedit/keymaps/jEdit_keys.props +%%MACROS%%share/java/jedit/macros/C/Include_Guard.bsh +%%MACROS%%share/java/jedit/macros/C/Toggle_Header_Source.bsh +%%MACROS%%share/java/jedit/macros/Clipboard/Copy_Lines.bsh +%%MACROS%%share/java/jedit/macros/Clipboard/Copy_Lines_Containing.bsh +%%MACROS%%share/java/jedit/macros/Clipboard/Copy_Visible_Lines.bsh +%%MACROS%%share/java/jedit/macros/Clipboard/Cut_Lines.bsh +%%MACROS%%share/java/jedit/macros/Clipboard/Cut_Lines_Containing.bsh +%%MACROS%%share/java/jedit/macros/Clipboard/Paste_Indent.bsh +%%MACROS%%share/java/jedit/macros/Editing/Duplicate_Lines_Above.bsh +%%MACROS%%share/java/jedit/macros/Editing/Duplicate_Lines_Below.bsh +%%MACROS%%share/java/jedit/macros/Editing/Go_to_Column.bsh +%%MACROS%%share/java/jedit/macros/Editing/Greedy_Backspace.bsh +%%MACROS%%share/java/jedit/macros/Editing/Greedy_Delete.bsh +%%MACROS%%share/java/jedit/macros/Editing/Greedy_Left.bsh +%%MACROS%%share/java/jedit/macros/Editing/Greedy_Right.bsh +%%MACROS%%share/java/jedit/macros/Editing/Keywords_to_Upper_Case.bsh +%%MACROS%%share/java/jedit/macros/Editing/Mode_Switcher.bsh +%%MACROS%%share/java/jedit/macros/Editing/Move_Lines_Down.bsh +%%MACROS%%share/java/jedit/macros/Editing/Move_Lines_Up.bsh +%%MACROS%%share/java/jedit/macros/Editing/Open_Line_Above.bsh +%%MACROS%%share/java/jedit/macros/Editing/Open_Line_Below.bsh +%%MACROS%%share/java/jedit/macros/Editing/Toggle_Fold.bsh +%%MACROS%%share/java/jedit/macros/Emacs/EmacsUtil.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Align_Decls.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Backward_Sentence.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Capitalize_Word.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Center_Line.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Ctrl-K.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Downcase_Word.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Exchange_Point_and_Mark.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Fixup_Whitespace.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Forward_Sentence.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Insert_File.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Kill_Line.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Kill_Region.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Kill_Ring_Save.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Kill_Sentence.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Next_Line.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Open_Line.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Previous_Line.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Set_Mark.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Set_Wrap.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Transpose_Chars.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Transpose_Lines.bsh +%%MACROS%%share/java/jedit/macros/Emacs/Emacs_Upcase_Word.bsh +%%MACROS%%share/java/jedit/macros/Emacs/LICENSE.md +%%MACROS%%share/java/jedit/macros/Emacs/README.md +%%MACROS%%share/java/jedit/macros/Files/Browse_Buffer_Directory.bsh +%%MACROS%%share/java/jedit/macros/Files/Browse_Directory.bsh +%%MACROS%%share/java/jedit/macros/Files/Buffer_Switcher.bsh +%%MACROS%%share/java/jedit/macros/Files/Copy_Name_to_Clipboard.bsh +%%MACROS%%share/java/jedit/macros/Files/Copy_Path_to_Clipboard.bsh +%%MACROS%%share/java/jedit/macros/Files/Delete_Current.bsh +%%MACROS%%share/java/jedit/macros/Files/Duplicate_Buffer.bsh +%%MACROS%%share/java/jedit/macros/Files/Glob_Close.bsh +%%MACROS%%share/java/jedit/macros/Files/Insert_Selection.bsh +%%MACROS%%share/java/jedit/macros/Files/Next_Dirty_Buffer.bsh +%%MACROS%%share/java/jedit/macros/Files/Open_Path.bsh +%%MACROS%%share/java/jedit/macros/Files/Open_Selection.bsh +%%MACROS%%share/java/jedit/macros/Files/Open_Selection_In_Desktop.bsh +%%MACROS%%share/java/jedit/macros/Files/Send_Buffer_To_Next_Split.bsh +%%MACROS%%share/java/jedit/macros/Files/Toggle_ReadOnly.bsh +%%MACROS%%share/java/jedit/macros/Interface/Decrease_Font_Size.bsh +%%MACROS%%share/java/jedit/macros/Interface/Increase_Font_Size.bsh +%%MACROS%%share/java/jedit/macros/Interface/Open_Context_Menu.bsh +%%MACROS%%share/java/jedit/macros/Interface/Reset_TextArea.bsh +%%MACROS%%share/java/jedit/macros/Interface/Splitpane_Grow.bsh +%%MACROS%%share/java/jedit/macros/Interface/Toggle_Bottom_Docking_Area.bsh +%%MACROS%%share/java/jedit/macros/Interface/Toggle_Left_Docking_Area.bsh +%%MACROS%%share/java/jedit/macros/Interface/Toggle_Right_Docking_Area.bsh +%%MACROS%%share/java/jedit/macros/Interface/Toggle_Top_Docking_Area.bsh +%%MACROS%%share/java/jedit/macros/Java/Create_Constructor.bsh +%%MACROS%%share/java/jedit/macros/Java/Get_Class_Name.bsh +%%MACROS%%share/java/jedit/macros/Java/Get_Package_Name.bsh +%%MACROS%%share/java/jedit/macros/Java/Java_File_Save.bsh +%%MACROS%%share/java/jedit/macros/Java/Make_Get_and_Set_Methods.bsh +%%MACROS%%share/java/jedit/macros/Java/Preview_JavaDoc_Of_Current_Buffer.bsh +%%MACROS%%share/java/jedit/macros/Misc/Buffer_to_HyperSearch_Results.bsh +%%MACROS%%share/java/jedit/macros/Misc/Debug_BufferSets.bsh +%%MACROS%%share/java/jedit/macros/Misc/Display_Abbreviations.bsh +%%MACROS%%share/java/jedit/macros/Misc/Display_Actions.bsh +%%MACROS%%share/java/jedit/macros/Misc/Display_Character_Code.bsh +%%MACROS%%share/java/jedit/macros/Misc/Display_Shortcuts.bsh +%%MACROS%%share/java/jedit/macros/Misc/Evaluate_Buffer_in_BeanShell.bsh +%%MACROS%%share/java/jedit/macros/Misc/Generate Encodings List.bsh +%%MACROS%%share/java/jedit/macros/Misc/Generate Modes List.bsh +%%MACROS%%share/java/jedit/macros/Misc/Hex_Convert.bsh +%%MACROS%%share/java/jedit/macros/Misc/HyperSearch_Results_to_Buffer.bsh +%%MACROS%%share/java/jedit/macros/Misc/Insert Plugins List.bsh +%%MACROS%%share/java/jedit/macros/Misc/Make_Bug_Report.bsh +%%MACROS%%share/java/jedit/macros/Misc/Run_Script.bsh +%%MACROS%%share/java/jedit/macros/Misc/Show_Threads.bsh +%%MACROS%%share/java/jedit/macros/Properties/Create_Plugin_Announcement.bsh +%%MACROS%%share/java/jedit/macros/Properties/Insert_Buffer_Properties.bsh +%%MACROS%%share/java/jedit/macros/Properties/Look_and_Feel_Properties.bsh +%%MACROS%%share/java/jedit/macros/Properties/System_Properties.bsh +%%MACROS%%share/java/jedit/macros/Properties/jEdit_Properties.bsh +%%MACROS%%share/java/jedit/macros/Text/Add_Prefix_and_Suffix.bsh +%%MACROS%%share/java/jedit/macros/Text/Color_Picker.bsh +%%MACROS%%share/java/jedit/macros/Text/Compose_Tag.bsh +%%MACROS%%share/java/jedit/macros/Text/Duplicate_Line.bsh +%%MACROS%%share/java/jedit/macros/Text/Insert_Date.bsh +%%MACROS%%share/java/jedit/macros/Text/Insert_Tag.bsh +%%MACROS%%share/java/jedit/macros/Text/Line_Filter.bsh +%%MACROS%%share/java/jedit/macros/Text/Next_Char.bsh +%%MACROS%%share/java/jedit/macros/Text/Reverse_Lines.bsh +%%MACROS%%share/java/jedit/macros/Text/Single_Space_Buffer.bsh +share/java/jedit/modes/actionscript.xml +share/java/jedit/modes/ada.xml +share/java/jedit/modes/ada95.xml +share/java/jedit/modes/ant.xml +share/java/jedit/modes/antlr.xml +share/java/jedit/modes/apacheconf.xml +share/java/jedit/modes/apdl.xml +share/java/jedit/modes/applescript.xml +share/java/jedit/modes/asp.xml +share/java/jedit/modes/aspect-j.xml +share/java/jedit/modes/assembly-agc.xml +share/java/jedit/modes/assembly-ags.xml +share/java/jedit/modes/assembly-m68k.xml +share/java/jedit/modes/assembly-macro32.xml +share/java/jedit/modes/assembly-mcs51.xml +share/java/jedit/modes/assembly-parrot.xml +share/java/jedit/modes/assembly-r2000.xml +share/java/jedit/modes/assembly-x86.xml +share/java/jedit/modes/avro.xml +share/java/jedit/modes/awk.xml +share/java/jedit/modes/b.xml +share/java/jedit/modes/batch.xml +share/java/jedit/modes/bbj.xml +share/java/jedit/modes/bcel.xml +share/java/jedit/modes/bibtex.xml +share/java/jedit/modes/binsource-agc.xml +share/java/jedit/modes/c.xml +share/java/jedit/modes/catalog +share/java/jedit/modes/cfscript.xml +share/java/jedit/modes/chill.xml +share/java/jedit/modes/cil.xml +share/java/jedit/modes/clips.xml +share/java/jedit/modes/clojure.xml +share/java/jedit/modes/cmake.xml +share/java/jedit/modes/cobol.xml +share/java/jedit/modes/coffeescript.xml +share/java/jedit/modes/coldfusion.xml +share/java/jedit/modes/cplexlp.xml +share/java/jedit/modes/cplusplus.xml +share/java/jedit/modes/csharp.xml +share/java/jedit/modes/css.xml +share/java/jedit/modes/csv.xml +share/java/jedit/modes/cvs-commit.xml +share/java/jedit/modes/d.xml +share/java/jedit/modes/dart.xml +share/java/jedit/modes/django.xml +share/java/jedit/modes/dot.xml +share/java/jedit/modes/doxygen.xml +share/java/jedit/modes/dsssl.xml +share/java/jedit/modes/eiffel.xml +share/java/jedit/modes/embperl.xml +share/java/jedit/modes/erlang.xml +share/java/jedit/modes/factor.xml +share/java/jedit/modes/fhtml.xml +share/java/jedit/modes/forth.xml +share/java/jedit/modes/fortran.xml +share/java/jedit/modes/fortran90.xml +share/java/jedit/modes/foxpro.xml +share/java/jedit/modes/freemarker.xml +share/java/jedit/modes/gcbasic.xml +share/java/jedit/modes/gettext.xml +share/java/jedit/modes/gnuplot.xml +share/java/jedit/modes/go.xml +share/java/jedit/modes/gradle.xml +share/java/jedit/modes/groovy.xml +share/java/jedit/modes/haskell.xml +share/java/jedit/modes/haxe.xml +share/java/jedit/modes/hex.xml +share/java/jedit/modes/hlsl.xml +share/java/jedit/modes/htaccess.xml +share/java/jedit/modes/html.xml +share/java/jedit/modes/hxml.xml +share/java/jedit/modes/i4gl.xml +share/java/jedit/modes/ical.xml +share/java/jedit/modes/icon.xml +share/java/jedit/modes/idl.xml +share/java/jedit/modes/inform.xml +share/java/jedit/modes/ini.xml +share/java/jedit/modes/inno-setup.xml +share/java/jedit/modes/interlis.xml +share/java/jedit/modes/io.xml +share/java/jedit/modes/jamon.xml +share/java/jedit/modes/java.xml +share/java/jedit/modes/javacc.xml +share/java/jedit/modes/javafx.xml +share/java/jedit/modes/javascript.xml +share/java/jedit/modes/jcl.xml +share/java/jedit/modes/jedit-actions.xml +share/java/jedit/modes/jflex.xml +share/java/jedit/modes/jhtml.xml +share/java/jedit/modes/jmk.xml +share/java/jedit/modes/json.xml +share/java/jedit/modes/jsp.xml +share/java/jedit/modes/latex.xml +share/java/jedit/modes/lex.xml +share/java/jedit/modes/lilypond.xml +share/java/jedit/modes/lisp.xml +share/java/jedit/modes/literate-haskell.xml +share/java/jedit/modes/logs.xml +share/java/jedit/modes/logtalk.xml +share/java/jedit/modes/lotos.xml +share/java/jedit/modes/lua.xml +share/java/jedit/modes/macroscheduler.xml +share/java/jedit/modes/mail.xml +share/java/jedit/modes/makefile.xml +share/java/jedit/modes/maple.xml +share/java/jedit/modes/maven.xml +share/java/jedit/modes/ml.xml +share/java/jedit/modes/modula3.xml +share/java/jedit/modes/moin.xml +share/java/jedit/modes/mpost.xml +share/java/jedit/modes/mqsc.xml +share/java/jedit/modes/mxml.xml +share/java/jedit/modes/myghty.xml +share/java/jedit/modes/mysql.xml +share/java/jedit/modes/n3.xml +share/java/jedit/modes/netrexx.xml +share/java/jedit/modes/nqc.xml +share/java/jedit/modes/nsis2.xml +share/java/jedit/modes/objective-c.xml +share/java/jedit/modes/objectrexx.xml +share/java/jedit/modes/occam.xml +share/java/jedit/modes/omnimark.xml +share/java/jedit/modes/osql.xml +share/java/jedit/modes/outline.xml +share/java/jedit/modes/pascal.xml +share/java/jedit/modes/patch.xml +share/java/jedit/modes/perl.xml +share/java/jedit/modes/pg-sql.xml +share/java/jedit/modes/php.xml +share/java/jedit/modes/pike.xml +share/java/jedit/modes/pl-sql.xml +share/java/jedit/modes/pl1.xml +share/java/jedit/modes/plaintex.xml +share/java/jedit/modes/pop11.xml +share/java/jedit/modes/postscript.xml +share/java/jedit/modes/povray.xml +share/java/jedit/modes/powerdynamo.xml +share/java/jedit/modes/powershell.xml +share/java/jedit/modes/progress.xml +share/java/jedit/modes/prolog.xml +share/java/jedit/modes/props.xml +share/java/jedit/modes/psp.xml +share/java/jedit/modes/ptl.xml +share/java/jedit/modes/pure.xml +share/java/jedit/modes/pvwave.xml +share/java/jedit/modes/pyrex.xml +share/java/jedit/modes/python.xml +share/java/jedit/modes/quake.xml +share/java/jedit/modes/rcp.xml +share/java/jedit/modes/rd.xml +share/java/jedit/modes/rebol.xml +share/java/jedit/modes/redcode.xml +share/java/jedit/modes/regex.xml +share/java/jedit/modes/relax-ng-compact.xml +share/java/jedit/modes/rest.xml +share/java/jedit/modes/rfc.xml +share/java/jedit/modes/rhtml.xml +share/java/jedit/modes/rib.xml +share/java/jedit/modes/roff.xml +share/java/jedit/modes/rpmspec.xml +share/java/jedit/modes/rtf.xml +share/java/jedit/modes/ruby.xml +share/java/jedit/modes/rview.xml +share/java/jedit/modes/sas.xml +share/java/jedit/modes/scala.xml +share/java/jedit/modes/scheme.xml +share/java/jedit/modes/sdl_pr.xml +share/java/jedit/modes/sgml.xml +share/java/jedit/modes/shellscript.xml +share/java/jedit/modes/shtml.xml +share/java/jedit/modes/sip.xml +share/java/jedit/modes/slate.xml +share/java/jedit/modes/slax.xml +share/java/jedit/modes/smalltalk.xml +share/java/jedit/modes/smarty.xml +share/java/jedit/modes/smi-mib.xml +share/java/jedit/modes/splus.xml +share/java/jedit/modes/sql-loader.xml +share/java/jedit/modes/sqr.xml +share/java/jedit/modes/squidconf.xml +share/java/jedit/modes/ssharp.xml +share/java/jedit/modes/stata.xml +share/java/jedit/modes/svn-commit.xml +share/java/jedit/modes/swig.xml +share/java/jedit/modes/tcl.xml +share/java/jedit/modes/tex.xml +share/java/jedit/modes/texinfo.xml +share/java/jedit/modes/text.xml +share/java/jedit/modes/tld.xml +share/java/jedit/modes/tpl.xml +share/java/jedit/modes/tsp.xml +share/java/jedit/modes/tsql.xml +share/java/jedit/modes/tthtml.xml +share/java/jedit/modes/turbobasic.xml +share/java/jedit/modes/twiki.xml +share/java/jedit/modes/typoscript.xml +share/java/jedit/modes/url.xml +share/java/jedit/modes/uscript.xml +share/java/jedit/modes/vala.xml +share/java/jedit/modes/vbscript.xml +share/java/jedit/modes/velocity.xml +share/java/jedit/modes/velocity_pure.xml +share/java/jedit/modes/verilog.xml +share/java/jedit/modes/vhdl.xml +share/java/jedit/modes/visualbasic.xml +share/java/jedit/modes/vrml2.xml +share/java/jedit/modes/xml.xml +share/java/jedit/modes/xq.xml +share/java/jedit/modes/xsl.xml +share/java/jedit/modes/yab.xml +share/java/jedit/modes/yaml.xml +share/java/jedit/modes/zpt.xml +share/java/jedit/properties/README.txt +share/java/jedit/startup/README.txt +share/java/jedit/startup/startup.bsh +share/pixmaps/jedit.png +@dirrmtry share/java/jedit/startup +@dirrmtry share/java/jedit/properties +@dirrmtry share/java/jedit/modes +@dirrmtry share/java/jedit/macros/Text +@dirrmtry share/java/jedit/macros/Properties +@dirrmtry share/java/jedit/macros/Misc +@dirrmtry share/java/jedit/macros/Java +@dirrmtry share/java/jedit/macros/Interface +@dirrmtry share/java/jedit/macros/Files +@dirrmtry share/java/jedit/macros/Emacs +@dirrmtry share/java/jedit/macros/Editing +@dirrmtry share/java/jedit/macros/Clipboard +@dirrmtry share/java/jedit/macros/C +@dirrmtry share/java/jedit/macros +@dirrmtry share/java/jedit/keymaps +@dirrmtry share/java/jedit/jars +@dirrmtry share/java/jedit -- cgit v1.2.3