diff options
author | drochner <drochner@pkgsrc.org> | 2011-02-08 18:32:23 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-02-08 18:32:23 +0000 |
commit | 32a6163d63136bfa1f1a0922e6634659a361cebf (patch) | |
tree | 621896415f7293a0eaf4b07d2965f58cbb47dfad /devel | |
parent | b4fe2d309eb8fa76b8781c84086f1e9065c651b6 (diff) | |
download | pkgsrc-32a6163d63136bfa1f1a0922e6634659a361cebf.tar.gz |
add gps-5.0.0, a Multi-language IDE with an emphasis on Ada, from
John Marino per PR pkg/44440
(Python wasn't regognized for me, that's why I've commented it
out for now. Needs a second look.)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gps/DESCR | 18 | ||||
-rw-r--r-- | devel/gps/Makefile | 64 | ||||
-rw-r--r-- | devel/gps/PLIST | 572 | ||||
-rw-r--r-- | devel/gps/distinfo | 12 | ||||
-rw-r--r-- | devel/gps/options.mk | 27 | ||||
-rw-r--r-- | devel/gps/patches/patch-aa | 16 | ||||
-rw-r--r-- | devel/gps/patches/patch-ab | 13 | ||||
-rw-r--r-- | devel/gps/patches/patch-ac | 13 | ||||
-rw-r--r-- | devel/gps/patches/patch-ad | 33 | ||||
-rw-r--r-- | devel/gps/patches/patch-ae | 87 | ||||
-rw-r--r-- | devel/gps/patches/patch-af | 22 | ||||
-rw-r--r-- | devel/gps/patches/patch-ag | 43 |
12 files changed, 920 insertions, 0 deletions
diff --git a/devel/gps/DESCR b/devel/gps/DESCR new file mode 100644 index 00000000000..a04ee1048ea --- /dev/null +++ b/devel/gps/DESCR @@ -0,0 +1,18 @@ +The GNAT Programming Studio (GPS) is a cutting-edge Free Software IDE that +streamlines the interaction between developers and their software. With its +intuitive interface, GPS is easy to use, simplying source navigation and +highlighting fundamental ideas in the program. + +Features Tools + * Developer-friendly * Language-sensitive editor + * Multi-language * Version control + * Multi-platform * Graphical debugger + * Modern GUI * Automatic code fixing + * Multiple document interface * Graphs (call, dependencies, entities) + * Customizable * Application builder + * Extensible tool integration * Visual file comparison + * Free Software * Source code reformatting + * Automatic body file generation + * intelligent source code navigation + * Project Explorer + * Project Wizard diff --git a/devel/gps/Makefile b/devel/gps/Makefile new file mode 100644 index 00000000000..40eb3b17783 --- /dev/null +++ b/devel/gps/Makefile @@ -0,0 +1,64 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/02/08 18:32:23 drochner Exp $ +# + +DISTNAME= gps-${GPS_VERSION} +CATEGORIES= devel +MASTER_SITES= http://downloads.dragonlace.net/src/ \ + http://dragonlace.mirrors.ada.cx/src/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= draco@marino.st +HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gps/ +COMMENT= GNAT Programming Studio - IDE for Ada and many other languages +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_TOOLS+= gmake sed perl awk + +GPS_VERSION= 5.0.0 +FULL_PATH= /sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin:${PREFIX}/lib/pkgconfig +MY_CONFIGURE_ENV= PATH=${FULL_PATH} +MY_CONFIGURE_ENV+= CC=gnatgcc +APP= ${PREFIX}/lib/gnat +TPLS= ${PREFIX}/share/gps/templates + +.include "options.mk" + +# Do to hardcoding on GPS' part, can't get python to work yet +CONFIGURE_ARGS+= --with-gmp=${PREFIX} +CONFIGURE_ARGS+= --with-python=no +CONFIGURE_ARGS+= --enable-shared-python=yes + +do-wrapper: + # Disable problematic wrappers + @${ECHO} "### Pkgsrc wrappers disabled ###" + +do-configure: + cd ${WRKSRC} && ${SETENV} ${MY_CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} +do-build: + cd ${WRKSRC} && ${SETENV} ADA_PROJECT_PATH=${APP} gmake default + +# "scripts" directory does not exist, tests disable +#do-test: +# cd ${WRKSRC}/scripts && ./testsuites +#test-clean: +# cd ${WRKSRC}/scripts && ./testsuites clean + +post-install: + ${TOUCH} ${DESTDIR}${PREFIX}/share/doc/gps/pdf/IGNORE.ME + ${TOUCH} ${DESTDIR}${PREFIX}/share/doc/gps/txt/IGNORE.ME + ${TOUCH} ${DESTDIR}${PREFIX}/share/examples/gps/tutorial/matrix_handling/IGNORE.ME + ${TOUCH} ${DESTDIR}${TPLS}/ajis_hello/obj/IGNORE.ME + ${TOUCH} ${DESTDIR}${TPLS}/ajis_hello/bin/IGNORE.ME + ${TOUCH} ${DESTDIR}${TPLS}/ajis_hello/binding/IGNORE.ME + ${TOUCH} ${DESTDIR}${TPLS}/gtkada_minimal/obj/IGNORE.ME + ${TOUCH} ${DESTDIR}${TPLS}/simple_project/obj/IGNORE.ME + ${STRIP} ${DESTDIR}${PREFIX}/bin/gps + +.include "../../x11/gtkada/buildlink3.mk" +.include "../../textproc/xmlada/buildlink3.mk" +.include "../../devel/gprbuild-aux/buildlink3.mk" +#.include "../../lang/python26/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/gps/PLIST b/devel/gps/PLIST new file mode 100644 index 00000000000..884b060b3f9 --- /dev/null +++ b/devel/gps/PLIST @@ -0,0 +1,572 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/02/08 18:32:24 drochner Exp $ +bin/gps +share/doc/gps/html/welcome.jpg +share/doc/gps/html/visual-diff.jpg +share/doc/gps/html/vcs-explorer.jpg +share/doc/gps/html/vcs-activities.jpg +share/doc/gps/html/user_guide.png +share/doc/gps/html/tutorial.png +share/doc/gps/html/triangle_x.png +share/doc/gps/html/tooltips.jpg +share/doc/gps/html/toolchains-config.jpg +share/doc/gps/html/tip-of-the-day.jpg +share/doc/gps/html/tasks.jpg +share/doc/gps/html/task-manager.jpg +share/doc/gps/html/target-configuration-dialog.jpg +share/doc/gps/html/switch-editor-revert.jpg +share/doc/gps/html/switch-editor.jpg +share/doc/gps/html/square_x.png +share/doc/gps/html/source-editor.jpg +share/doc/gps/html/smart-completion.jpg +share/doc/gps/html/shell-window.jpg +share/doc/gps/html/servers-configuration.jpg +share/doc/gps/html/search-options.jpg +share/doc/gps/html/search-hide.jpg +share/doc/gps/html/scenario-view.jpg +share/doc/gps/html/scenarios.jpg +share/doc/gps/html/save-dialog.jpg +share/doc/gps/html/revision-view.jpg +share/doc/gps/html/report-of-analysis_tree.jpg +share/doc/gps/html/report-of-analysis_flat.jpg +share/doc/gps/html/remote-view.jpg +share/doc/gps/html/remote-view-full.jpg +share/doc/gps/html/project-wizard.jpg +share/doc/gps/html/project-view.jpg +share/doc/gps/html/project-properties.jpg +share/doc/gps/html/project-modified.jpg +share/doc/gps/html/project-deps.jpg +share/doc/gps/html/project-browser.jpg +share/doc/gps/html/preferences-general.jpg +share/doc/gps/html/overview.png +share/doc/gps/html/outline-view.jpg +share/doc/gps/html/open-from-project.jpg +share/doc/gps/html/open-file.jpg +share/doc/gps/html/naming-scheme.jpg +share/doc/gps/html/messages.jpg +share/doc/gps/html/memory-view.jpg +share/doc/gps/html/main-gps.jpg +share/doc/gps/html/locations-view.jpg +share/doc/gps/html/key-shortcuts.jpg +share/doc/gps/html/help_index.html +share/doc/gps/html/gps-welcome.html +share/doc/gps/html/gps-vcs-up-to-date.jpg +share/doc/gps/html/gps-vcs-unknown.jpg +share/doc/gps/html/gps-vcs-removed.jpg +share/doc/gps/html/gps-vcs-not-registered.jpg +share/doc/gps/html/gps-vcs-needs-update.jpg +share/doc/gps/html/gps-vcs-needs-merge.jpg +share/doc/gps/html/gps-vcs-modified.jpg +share/doc/gps/html/gps-vcs-has-conflicts.jpg +share/doc/gps/html/gps-vcs-added.jpg +share/doc/gps/html/gps_title.gif +share/doc/gps/html/gps-splash.png +share/doc/gps/html/gps-splash-gpl.png +share/doc/gps/html/gps-splash-academic.png +share/doc/gps/html/gps_index.xml +share/doc/gps/html/gps.html +share/doc/gps/html/file-view.jpg +share/doc/gps/html/explorer-scenario.jpg +share/doc/gps/html/entity-view.jpg +share/doc/gps/html/entity-browser.jpg +share/doc/gps/html/dot_x.png +share/doc/gps/html/docgen.jpg +share/doc/gps/html/diamond_x.png +share/doc/gps/html/dependency-browser.jpg +share/doc/gps/html/colors.jpg +share/doc/gps/html/circle_x.png +share/doc/gps/html/canvas.jpg +share/doc/gps/html/call-stack.jpg +share/doc/gps/html/call-graph.jpg +share/doc/gps/html/breakpoints.jpg +share/doc/gps/html/bp-advanced.jpg +share/doc/gps/html/assembly.jpg +share/doc/gps/html/aliases.jpg +share/doc/gps/html/about.jpg +share/doc/gps/pdf/IGNORE.ME +share/doc/gps/txt/IGNORE.ME +share/gps/templates/ajis_hello/obj/IGNORE.ME +share/gps/templates/ajis_hello/bin/IGNORE.ME +share/gps/templates/ajis_hello/binding/IGNORE.ME +share/gps/templates/gtkada_minimal/obj/IGNORE.ME +share/gps/templates/simple_project/obj/IGNORE.ME +share/gps/templates/simple_project/src/@_main_name_@.adb +share/gps/templates/simple_project/simple_project.gpt +share/gps/templates/simple_project/@_project_name_@.gpr +share/gps/templates/gtkada_minimal/src/@_main_name_@.adb +share/gps/templates/gtkada_minimal/@_project_name_@.gpr +share/gps/templates/gtkada_minimal/gtkada_minimal.gpt +share/gps/templates/aws_web_server/web_server.gpt +share/gps/templates/aws_web_server/tmplt/main.thtml +share/gps/templates/aws_web_server/src/@_project_name_@-main.adb +share/gps/templates/aws_web_server/src/@_project_name_@-dispatchers.ads +share/gps/templates/aws_web_server/src/@_project_name_@-dispatchers.adb +share/gps/templates/aws_web_server/src/@_project_name_@.ads +share/gps/templates/aws_web_server/@_project_name_@.gpr +share/gps/templates/aws_web_server/img/gps_logo.png +share/gps/templates/aws_web_server/css/style.css +share/gps/templates/aws_web_server_blocks/web_server_blocks.gpt +share/gps/templates/aws_web_server_blocks/tmplt/widget_counter.thtml +share/gps/templates/aws_web_server_blocks/tmplt/r_widget_counter.txml +share/gps/templates/aws_web_server_blocks/tmplt/main.thtml +share/gps/templates/aws_web_server_blocks/src/@_project_name_@-web_blocks.ads +share/gps/templates/aws_web_server_blocks/src/@_project_name_@-web_blocks.adb +share/gps/templates/aws_web_server_blocks/src/@_project_name_@-main.adb +share/gps/templates/aws_web_server_blocks/src/@_project_name_@-dispatchers.ads +share/gps/templates/aws_web_server_blocks/src/@_project_name_@-dispatchers.adb +share/gps/templates/aws_web_server_blocks/src/@_project_name_@-ajax.ads +share/gps/templates/aws_web_server_blocks/src/@_project_name_@-ajax.adb +share/gps/templates/aws_web_server_blocks/src/@_project_name_@.ads +share/gps/templates/aws_web_server_blocks/@_project_name_@.gpr +share/gps/templates/aws_web_server_blocks/open_readme.py +share/gps/templates/aws_web_server_blocks/makefile +share/gps/templates/aws_web_server_blocks/js/scriptaculous.js +share/gps/templates/aws_web_server_blocks/js/prototype.js +share/gps/templates/aws_web_server_blocks/js/behaviour.js +share/gps/templates/aws_web_server_blocks/js/aws.tjs +share/gps/templates/aws_web_server_blocks/js/aws_kernel.tjs +share/gps/templates/aws_web_server_blocks/js/ajax_api.tjs +share/gps/templates/aws_web_server_blocks/img/gps_logo.png +share/gps/templates/aws_web_server_blocks/gen/templates.tada +share/gps/templates/aws_web_server_blocks/css/style.css +share/gps/templates/aws_web_server_blocks/README +share/gps/templates/aws_simple_web_server/src/@_project_name_@-main.adb +share/gps/templates/aws_simple_web_server/src/@_project_name_@-callbacks.ads +share/gps/templates/aws_simple_web_server/src/@_project_name_@-callbacks.adb +share/gps/templates/aws_simple_web_server/src/@_project_name_@.ads +share/gps/templates/aws_simple_web_server/simple_web_server.gpt +share/gps/templates/aws_simple_web_server/@_project_name_@.gpr +share/gps/templates/ajis_hello/src_java/com/adacore/example/@_Main_Name_@.java +share/gps/templates/ajis_hello/src_ada/hello.ads +share/gps/templates/ajis_hello/src_ada/hello.adb +share/gps/templates/ajis_hello/@_project_name_@.gpr +share/gps/templates/ajis_hello/ajis_hello.gpt +share/gps/templates/ajis_hello/Makefile +share/gps/shell_commands.xml +share/gps/readonly.gpr +share/gps/predefined_ada.xml +share/gps/plug-ins/zoom.py +share/gps/plug-ins/xml_support.py +share/gps/plug-ins/xcov.py +share/gps/plug-ins/url.py +share/gps/plug-ins/toolchains.xml +share/gps/plug-ins/tip_of_the_day.py +share/gps/plug-ins/text_utils.py +share/gps/plug-ins/subversion.xml +share/gps/plug-ins/spark_support.py +share/gps/plug-ins/spark/spark.py +share/gps/plug-ins/sort_selection.py +share/gps/plug-ins/shell.py +share/gps/plug-ins/runtime.xml +share/gps/plug-ins/reset_gps_registry.py +share/gps/plug-ins/rectangles.py +share/gps/plug-ins/python_support.py +share/gps/plug-ins/python_doc.py +share/gps/plug-ins/protocols.xml +share/gps/plug-ins/projects.xml +share/gps/plug-ins/pipe.py +share/gps/plug-ins/os_utils.py +share/gps/plug-ins/navigation_utils.py +share/gps/plug-ins/methods.py +share/gps/plug-ins/locations_view_utils.py +share/gps/plug-ins/listvars.py +share/gps/plug-ins/languages.xml +share/gps/plug-ins/images/tip_task_manager.png +share/gps/plug-ins/images/tip_os_shell.png +share/gps/plug-ins/images/tip_notebook_tabs_position.png +share/gps/plug-ins/images/tip_multiple_views.png +share/gps/plug-ins/images/tip_multi_language_builder.png +share/gps/plug-ins/images/tip_makefile_support.png +share/gps/plug-ins/images/tip_keyboard_macro.png +share/gps/plug-ins/images/tip_jump_to_first_location.png +share/gps/plug-ins/images/tip_insert_spaces_with_tab.png +share/gps/plug-ins/images/tip_entity_view.png +share/gps/plug-ins/images/tip_entity_view_dnd.png +share/gps/plug-ins/images/tip_build_menu.png +share/gps/plug-ins/images/tip_all_occurrences.png +share/gps/plug-ins/icons.xml +share/gps/plug-ins/gps_utils/switches.py +share/gps/plug-ins/gps_utils/__init__.py +share/gps/plug-ins/gps_utils/highlighter.py +share/gps/plug-ins/gps_utils/gnat_rules.py +share/gps/plug-ins/gps_utils/gnatcheck_rules_editor.py +share/gps/plug-ins/gps_utils/gnatcheck_default.py +share/gps/plug-ins/gps_utils/console_process.py +share/gps/plug-ins/gpr.xml +share/gps/plug-ins/gnat_switches.py +share/gps/plug-ins/gnatstub.xml +share/gps/plug-ins/gnatstack.py +share/gps/plug-ins/gnatpsta.py +share/gps/plug-ins/gnatpp.xml +share/gps/plug-ins/gnatmetric.xml +share/gps/plug-ins/gnatdist_support.py +share/gps/plug-ins/gnatcheck.py +share/gps/plug-ins/git.xml +share/gps/plug-ins/git_support.py +share/gps/plug-ins/gcov.py +share/gps/plug-ins/expanded_code.py +share/gps/plug-ins/editors.py +share/gps/plug-ins/docgen_base_tags.py +share/gps/plug-ins/dispatching.py +share/gps/plug-ins/cvs.xml +share/gps/plug-ins/c_support.xml +share/gps/plug-ins/csharp.xml +share/gps/plug-ins/codepeer.py +share/gps/plug-ins/clearcase.xml +share/gps/plug-ins/childtree.png +share/gps/plug-ins/childtree2.png +share/gps/plug-ins/changelog.xml +share/gps/plug-ins/build_targets.xml +share/gps/plug-ins/build_modes.xml +share/gps/plug-ins/block_completion.py +share/gps/plug-ins/auto_highlight_occurrences.py +share/gps/plug-ins/align.py +share/gps/plug-ins/ada-support.xml +share/gps/plug-ins/ada_support.py +share/gps/plug-ins/Makefile.py +share/gps/perspectives.xml +share/gps/library/vi.py +share/gps/library/unused_entities.py +share/gps/library/unicode.py +share/gps/library/skeleton.py +share/gps/library/simple_project.py +share/gps/library/separate.py +share/gps/library/save_on_compile.py +share/gps/library/pygps/tree.py +share/gps/library/pygps/project.py +share/gps/library/pygps/notebook.py +share/gps/library/pygps/__init__.py +share/gps/library/ppc.xml +share/gps/library/open_file.py +share/gps/library/online_support.py +share/gps/library/occurrences.py +share/gps/library/local_history.py +share/gps/library/ispell.py +share/gps/library/isearch.py +share/gps/library/highlight_selection.py +share/gps/library/gnatr.xml +share/gps/library/gnatpp_switches.py +share/gps/library/first_subtype.py +share/gps/library/filepos.py +share/gps/library/filedeps.py +share/gps/library/execute_extended.py +share/gps/library/enter.xml +share/gps/library/emacs.xml +share/gps/library/eclipse.py +share/gps/library/dependencies.py +share/gps/library/debugger.py +share/gps/library/create_missing_dirs.py +share/gps/library/createfile.py +share/gps/library/copy_paste_toolbar.py +share/gps/library/copy_paste.py +share/gps/library/autognatpp.py +share/gps/library/autoformat.py +share/gps/library/auto_changelog.py +share/gps/library/addr2line.py +share/gps/library/GPS_old.py +share/gps/icons/other/welcome_header.png +share/gps/icons/other/get_started.png +share/gps/icons/other/button_tutorial.png +share/gps/icons/other/button_tutorial_over.png +share/gps/icons/other/button_overview.png +share/gps/icons/other/button_overview_over.png +share/gps/icons/other/button_guide.png +share/gps/icons/other/button_guide_over.png +share/gps/icons/other/adacore_logo.png +share/gps/icons/9px/wrench.png +share/gps/icons/9px/wrench_multi.png +share/gps/icons/9px/partially_covered_code.png +share/gps/icons/9px/non_executed_code.png +share/gps/icons/9px/line_might_have_code.png +share/gps/icons/9px/line_has_code.png +share/gps/icons/9px/executed_code.png +share/gps/icons/9px/build_warning.png +share/gps/icons/9px/build_warning_fixable.png +share/gps/icons/9px/build_style.png +share/gps/icons/9px/build_style_fixable.png +share/gps/icons/9px/build_error.png +share/gps/icons/9px/build_error_fixable.png +share/gps/icons/48px/gps_48.png +share/gps/icons/32px/gps_32.png +share/gps/icons/24px/undo_24.png +share/gps/icons/24px/syntax_check_24.png +share/gps/icons/24px/stop_24.png +share/gps/icons/24px/step_24.png +share/gps/icons/24px/stack_up_24.png +share/gps/icons/24px/stack_down_24.png +share/gps/icons/24px/semantic_check_24.png +share/gps/icons/24px/save_24.png +share/gps/icons/24px/redo_24.png +share/gps/icons/24px/play_24.png +share/gps/icons/24px/open_24.png +share/gps/icons/24px/next_24.png +share/gps/icons/24px/newfile_24.png +share/gps/icons/24px/goto_previous_24.png +share/gps/icons/24px/goto_next_24.png +share/gps/icons/24px/finish_24.png +share/gps/icons/24px/cut_24.png +share/gps/icons/24px/custom_build_24.png +share/gps/icons/24px/copy_24.png +share/gps/icons/24px/compute_xref_24.png +share/gps/icons/24px/compile_24.png +share/gps/icons/24px/clipboard_24.png +share/gps/icons/24px/cleanup_24.png +share/gps/icons/24px/build_main_24.png +share/gps/icons/24px/build_all_24.png +share/gps/icons/20px/vcs-up-to-date.png +share/gps/icons/20px/vcs-unknown.png +share/gps/icons/20px/vcs-removed.png +share/gps/icons/20px/vcs-not-registered.png +share/gps/icons/20px/vcs-needs-update.png +share/gps/icons/20px/vcs-needs-merge.png +share/gps/icons/20px/vcs-modified.png +share/gps/icons/20px/vcs-has-conflicts.png +share/gps/icons/20px/vcs-added.png +share/gps/icons/18px/undo_18.png +share/gps/icons/18px/syntax_check_18.png +share/gps/icons/18px/stop_18.png +share/gps/icons/18px/step_18.png +share/gps/icons/18px/stack_up_18.png +share/gps/icons/18px/stack_down_18.png +share/gps/icons/18px/semantic_check_18.png +share/gps/icons/18px/save_18.png +share/gps/icons/18px/redo_18.png +share/gps/icons/18px/play_18.png +share/gps/icons/18px/open_18.png +share/gps/icons/18px/next_18.png +share/gps/icons/18px/newfile_18.png +share/gps/icons/18px/goto_previous_18.png +share/gps/icons/18px/goto_next_18.png +share/gps/icons/18px/finish_18.png +share/gps/icons/18px/cut_18.png +share/gps/icons/18px/custom_build_18.png +share/gps/icons/18px/copy_18.png +share/gps/icons/18px/compute_xref_18.png +share/gps/icons/18px/compile_18.png +share/gps/icons/18px/clipboard_18.png +share/gps/icons/18px/cleanup_18.png +share/gps/icons/18px/build_main_18.png +share/gps/icons/18px/build_all_18.png +share/gps/icons/16px/warning.png +share/gps/icons/16px/undo_16.png +share/gps/icons/16px/syntax_check_16.png +share/gps/icons/16px/sync_to_remote.png +share/gps/icons/16px/sync_to_local.png +share/gps/icons/16px/stop_16.png +share/gps/icons/16px/step_16.png +share/gps/icons/16px/stack_up_16.png +share/gps/icons/16px/stack_down_16.png +share/gps/icons/16px/semantic_check_16.png +share/gps/icons/16px/save_16.png +share/gps/icons/16px/redo_16.png +share/gps/icons/16px/project_box_warning.png +share/gps/icons/16px/project_box.png +share/gps/icons/16px/project_box_pencil.png +share/gps/icons/16px/project_box_open.png +share/gps/icons/16px/project_box_open_altered.png +share/gps/icons/16px/project_box_error.png +share/gps/icons/16px/project_box_altered.png +share/gps/icons/16px/play_16.png +share/gps/icons/16px/open_16.png +share/gps/icons/16px/next_16.png +share/gps/icons/16px/newfile_b_16.png +share/gps/icons/16px/newfile_16.png +share/gps/icons/16px/gps_16.png +share/gps/icons/16px/goto_previous_16.png +share/gps/icons/16px/goto_next_16.png +share/gps/icons/16px/folder_open.png +share/gps/icons/16px/folder_o_open.png +share/gps/icons/16px/folder_o_closed.png +share/gps/icons/16px/folder_e_open.png +share/gps/icons/16px/folder_e_closed.png +share/gps/icons/16px/folder_closed.png +share/gps/icons/16px/finish_16.png +share/gps/icons/16px/file_warning.png +share/gps/icons/16px/file.png +share/gps/icons/16px/file_pencil.png +share/gps/icons/16px/file_error.png +share/gps/icons/16px/file_altered.png +share/gps/icons/16px/error.png +share/gps/icons/16px/entities/triangle_xs.png +share/gps/icons/16px/entities/triangle_x.png +share/gps/icons/16px/entities/triangle_s.png +share/gps/icons/16px/entities/triangle_ps.png +share/gps/icons/16px/entities/triangle_p.png +share/gps/icons/16px/entities/triangle.png +share/gps/icons/16px/entities/square_xs.png +share/gps/icons/16px/entities/square_x.png +share/gps/icons/16px/entities/square_s.png +share/gps/icons/16px/entities/square_ps.png +share/gps/icons/16px/entities/square_p.png +share/gps/icons/16px/entities/square.png +share/gps/icons/16px/entities/dot_xs.png +share/gps/icons/16px/entities/dot_x.png +share/gps/icons/16px/entities/dot_s.png +share/gps/icons/16px/entities/dot_ps.png +share/gps/icons/16px/entities/dot_p.png +share/gps/icons/16px/entities/dot.png +share/gps/icons/16px/entities/diamond_xs.png +share/gps/icons/16px/entities/diamond_x.png +share/gps/icons/16px/entities/diamond_s.png +share/gps/icons/16px/entities/diamond_ps.png +share/gps/icons/16px/entities/diamond_p.png +share/gps/icons/16px/entities/diamond.png +share/gps/icons/16px/entities/circle_xs.png +share/gps/icons/16px/entities/circle_x.png +share/gps/icons/16px/entities/circle_s.png +share/gps/icons/16px/entities/circle_ps.png +share/gps/icons/16px/entities/circle_p.png +share/gps/icons/16px/entities/circle.png +share/gps/icons/16px/debug_indicator.png +share/gps/icons/16px/debug_break.png +share/gps/icons/16px/cut_16.png +share/gps/icons/16px/custom_build_16.png +share/gps/icons/16px/copy_16.png +share/gps/icons/16px/compute_xref_16.png +share/gps/icons/16px/compile_16.png +share/gps/icons/16px/clipboard_16.png +share/gps/icons/16px/cleanup_16.png +share/gps/icons/16px/build_main_16.png +share/gps/icons/16px/build_all_16.png +share/gps/icons/16px/box.png +share/gps/gps-splash.png +share/gps/gps-animation.png +share/gps/gps-animation.gif +share/gps/docgen2/userdef.tmpl +share/gps/docgen2/tree.tmpl +share/gps/docgen2/tree_elem.tmpl +share/gps/docgen2/support/images/variable-spec.png +share/gps/docgen2/support/images/type-spec.png +share/gps/docgen2/support/images/tree_root.png +share/gps/docgen2/support/images/tree_item.png +share/gps/docgen2/support/images/treechildren_bg.png +share/gps/docgen2/support/images/treechildren_bg_bottom.png +share/gps/docgen2/support/images/subprogram-spec.png +share/gps/docgen2/support/images/sidebarframe.png +share/gps/docgen2/support/images/sidebarframebottom.png +share/gps/docgen2/support/images/rightside.png +share/gps/docgen2/support/images/rightsidebottom.png +share/gps/docgen2/support/images/package-spec.png +share/gps/docgen2/support/images/nav2_btn_up.png +share/gps/docgen2/support/images/nav2_btn_mo.png +share/gps/docgen2/support/images/nav1_btn_up.png +share/gps/docgen2/support/images/nav1_btn_mo.png +share/gps/docgen2/support/images/menubar.png +share/gps/docgen2/support/images/menubarbottom.png +share/gps/docgen2/support/images/link.png +share/gps/docgen2/support/images/generic-spec.png +share/gps/docgen2/support/images/arrow_open.png +share/gps/docgen2/support/images/arrow_close.png +share/gps/docgen2/support/docgen.js +share/gps/docgen2/support/docgen.css +share/gps/docgen2/src.tmpl +share/gps/docgen2/navigation.tmpl +share/gps/docgen2/navbutton.tmpl +share/gps/docgen2/multilink.tmpl +share/gps/docgen2/index_entry.tmpl +share/gps/docgen2/html.tmpl +share/gps/docgen2/entities.tmpl +share/gps/docgen2/custom/tags.css +share/gps/default.gpr +share/gps/aunit/test_suite.ads.tmpl +share/gps/aunit/test_suite.adb.tmpl +share/gps/aunit/test_case.ads.tmpl +share/gps/aunit/test_case.adb.tmpl +share/gps/aunit/harness.adb.tmpl +share/gps/activity_log.tmplt +share/examples/gps/xml/gnatmake.xml +share/examples/gps/xml/README +share/examples/gps/tutorial/struct/values-operations.ads +share/examples/gps/tutorial/struct/values-operations.adb +share/examples/gps/tutorial/struct/values.ads +share/examples/gps/tutorial/struct/values.adb +share/examples/gps/tutorial/struct/tokens.ads +share/examples/gps/tutorial/struct/tokens.adb +share/examples/gps/tutorial/struct/instructions.ads +share/examples/gps/tutorial/struct/instructions.adb +share/examples/gps/tutorial/sdc.gpr +share/examples/gps/tutorial/projects/prj4/src4.adb +share/examples/gps/tutorial/projects/prj4.gpr +share/examples/gps/tutorial/projects/prj3/src3.adb +share/examples/gps/tutorial/projects/prj3.gpr +share/examples/gps/tutorial/projects/prj2/src2.adb +share/examples/gps/tutorial/projects/prj2.gpr +share/examples/gps/tutorial/projects/prj1/src1.adb +share/examples/gps/tutorial/projects/prj1.gpr +share/examples/gps/tutorial/obj/.cvsignore +share/examples/gps/tutorial/input.txt +share/examples/gps/tutorial/common/stack.ads +share/examples/gps/tutorial/common/stack.adb +share/examples/gps/tutorial/common/sdc.ads +share/examples/gps/tutorial/common/sdc.adb +share/examples/gps/tutorial/common/screen_output.ads +share/examples/gps/tutorial/common/screen_output.adb +share/examples/gps/tutorial/common/input.ads +share/examples/gps/tutorial/common/input.adb +share/examples/gps/tutorial/common/except.ads +share/examples/gps/tutorial/matrix_handling/IGNORE.ME +share/examples/gps/remote/src/instr.ads +share/examples/gps/remote/src/instr.adb +share/examples/gps/remote/src/gen_list.ads +share/examples/gps/remote/src/gen_list.adb +share/examples/gps/remote/src/demo1.adb +share/examples/gps/remote/remote.gpr +share/examples/gps/remote/obj/.cvsignore +share/examples/gps/remote/my_ssh +share/examples/gps/remote/README +share/examples/gps/python/remote_server_assign_variable.py +share/examples/gps/python/reformat_project.py +share/examples/gps/python/readonly.py +share/examples/gps/python/project_view.py +share/examples/gps/python/prefs.py +share/examples/gps/python/misc_text_utils.py +share/examples/gps/python/indent_all.py +share/examples/gps/python/hello_gtk.py +share/examples/gps/python/globals.py +share/examples/gps/python/doc.py +share/examples/gps/python/docgen_gtkada.py +share/examples/gps/python/colors.py +share/examples/gps/python/clipboards.py +share/examples/gps/python/build.py +share/examples/gps/python/bookmarks.py +share/examples/gps/python/ada_expansion.py +share/examples/gps/python/README +share/examples/gps/language/language_custom.h +share/examples/gps/language/language_custom.ads +share/examples/gps/language/gprcustom.c +share/examples/gps/language/gpr_custom.ads +share/examples/gps/language/gpr_custom.adb +share/examples/gps/language/README +share/examples/gps/language/Makefile +share/examples/gps/demo/struct/values-operations.ads +share/examples/gps/demo/struct/values-operations.adb +share/examples/gps/demo/struct/values.ads +share/examples/gps/demo/struct/values.adb +share/examples/gps/demo/struct/tokens.ads +share/examples/gps/demo/struct/tokens.adb +share/examples/gps/demo/struct/instructions.ads +share/examples/gps/demo/struct/instructions.adb +share/examples/gps/demo/projects/prj4/src4.adb +share/examples/gps/demo/projects/prj4.gpr +share/examples/gps/demo/projects/prj3/src3.adb +share/examples/gps/demo/projects/prj3.gpr +share/examples/gps/demo/projects/prj2/src2.adb +share/examples/gps/demo/projects/prj2.gpr +share/examples/gps/demo/projects/prj1/src1.adb +share/examples/gps/demo/projects/prj1.gpr +share/examples/gps/demo/obj/.cvsignore +share/examples/gps/demo/matrix_handling/matrix_utils.c +share/examples/gps/demo/matrix_handling/matrix.h +share/examples/gps/demo/matrix_handling/matrix.c +share/examples/gps/demo/matrix_handling/matrix_binding.ads +share/examples/gps/demo/matrix_handling/matrix_binding.adb +share/examples/gps/demo/input.txt +share/examples/gps/demo/demo.gpr +share/examples/gps/demo/common/stack.ads +share/examples/gps/demo/common/stack.adb +share/examples/gps/demo/common/sdc.ads +share/examples/gps/demo/common/sdc.adb +share/examples/gps/demo/common/screen_output.ads +share/examples/gps/demo/common/screen_output.adb +share/examples/gps/demo/common/input.ads +share/examples/gps/demo/common/input.adb +share/examples/gps/demo/common/except.ads diff --git a/devel/gps/distinfo b/devel/gps/distinfo new file mode 100644 index 00000000000..e64d40e4bbf --- /dev/null +++ b/devel/gps/distinfo @@ -0,0 +1,12 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/02/08 18:32:23 drochner Exp $ + +SHA1 (gps-5.0.0.tar.bz2) = 913aca264a341e228b3b02e7bb8ea77b0cb96805 +RMD160 (gps-5.0.0.tar.bz2) = 67fd5e95e1e4fd1f728522395623812091b7dfda +Size (gps-5.0.0.tar.bz2) = 9325721 bytes +SHA1 (patch-aa) = 0f361b4be86052efb2926659a025b611e4d339eb +SHA1 (patch-ab) = 59c13a902436f3953a467b914e8b3c01443263c6 +SHA1 (patch-ac) = 4c350aa10b82aef2baaf29465ffec30942ed6c0d +SHA1 (patch-ad) = 058f89c0fa9bf2c2d4baca8d35ce11c97086697a +SHA1 (patch-ae) = 2847e353fdec774262adc14f80c4ba6c6a5fe283 +SHA1 (patch-af) = c3c29f06eb91a7656a8c251b1914686b4aea9723 +SHA1 (patch-ag) = b1756db403619becb790c3e0641d5e0606f4e92c diff --git a/devel/gps/options.mk b/devel/gps/options.mk new file mode 100644 index 00000000000..8964196b8b3 --- /dev/null +++ b/devel/gps/options.mk @@ -0,0 +1,27 @@ +# $NetBSD: options.mk,v 1.1.1.1 2011/02/08 18:32:23 drochner Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gps +PKG_SUPPORTED_OPTIONS= sqlite pgsql +PKG_SUGGESTED_OPTIONS= + +.include "../../mk/bsd.options.mk" + + +###################### +## SQLITE SUPPORT ## +###################### + +.if !empty(PKG_OPTIONS:Msqlite) +CONFIGURE_ARGS+= --with-sqlite=${PREFIX} +.include "../../databases/sqlite/buildlink3.mk" +.endif + + +########################## +## POSTGRESQL SUPPORT ## +########################## + +.if !empty(PKG_OPTIONS:Mpgsql) +CONFIGURE_ARGS+= --with-postgresql=${PREFIX} +.include "../../databases/postgresql90-client/buildlink3.mk" +.endif diff --git a/devel/gps/patches/patch-aa b/devel/gps/patches/patch-aa new file mode 100644 index 00000000000..4389c04fbd2 --- /dev/null +++ b/devel/gps/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2011/02/08 18:32:24 drochner Exp $ + +--- common/tty/terminals.c.orig 2010-12-04 03:57:46 +0000 ++++ common/tty/terminals.c +@@ -31,7 +31,10 @@ + #ifndef WIN32 + + /* First defined some macro to identify easily some systems */ +-#if defined (__FreeBSD__) || defined (__NetBSD__) ++#if defined (__FreeBSD__) \ ++ || defined (__OpenBSD__) \ ++ || defined (__NetBSD__) \ ++ || defined (__DragonFly__) + # define FREEBSD + #endif + #if defined (__alpha__) && defined (__osf__) diff --git a/devel/gps/patches/patch-ab b/devel/gps/patches/patch-ab new file mode 100644 index 00000000000..0c024aa585e --- /dev/null +++ b/devel/gps/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2011/02/08 18:32:24 drochner Exp $ + +--- gnatlib/gnatcoll_shared.gpr.in.orig 2010-12-04 00:20:09 +0000 ++++ gnatlib/gnatcoll_shared.gpr.in +@@ -45,7 +45,7 @@ project GnatColl_Shared is + for Switches ("Ada") use + ("-g", "-O1", "-gnata", "-gnatVa", "-gnatQ", "-gnaty", + "-gnatwaCJe", "-gnat05"); +- for Switches ("C") use ("-g", "-fdump-xref"); ++ for Switches ("C") use ("-g"); + when "Production" => + for Switches ("Ada") use + ("-O2", "-gnatn", "-gnatws", "-gnat05"); diff --git a/devel/gps/patches/patch-ac b/devel/gps/patches/patch-ac new file mode 100644 index 00000000000..f19d64fc438 --- /dev/null +++ b/devel/gps/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2011/02/08 18:32:24 drochner Exp $ + +--- shared.gpr.orig 2010-12-04 06:47:54 +0000 ++++ shared.gpr +@@ -35,7 +35,7 @@ project Shared is + "-gnatwaCJe", "-gnat05"); + + for Default_Switches ("C") use +- ("-g", "-O1", "-fdump-xref") & GnatColl_Shared.Gtk_Include; ++ ("-g", "-O1") & GnatColl_Shared.Gtk_Include; + + when "Production" => + for Default_Switches ("Ada") use diff --git a/devel/gps/patches/patch-ad b/devel/gps/patches/patch-ad new file mode 100644 index 00000000000..10c15a12e1f --- /dev/null +++ b/devel/gps/patches/patch-ad @@ -0,0 +1,33 @@ +$NetBSD: patch-ad,v 1.1.1.1 2011/02/08 18:32:24 drochner Exp $ + +--- gnatlib/gnat_src/gnatvsn.adb.orig 2010-12-04 08:12:30 +0000 ++++ gnatlib/gnat_src/gnatvsn.adb +@@ -53,27 +53,13 @@ package body Gnatvsn is + " FOR A PARTICULAR PURPOSE."; + end Gnat_Free_Software; + +- Version_String : String (1 .. Ver_Len_Max); +- -- Import the C string defined in the (language-independent) source file +- -- version.c. +- -- The size is not the real one, which does not matter since we will +- -- check for the nul character in Gnat_Version_String. +- pragma Import (C, Version_String, "version_string"); +- + ------------------------- + -- Gnat_Version_String -- + ------------------------- + + function Gnat_Version_String return String is +- NUL_Pos : Positive := 1; + begin +- loop +- exit when Version_String (NUL_Pos) = ASCII.NUL; +- +- NUL_Pos := NUL_Pos + 1; +- end loop; +- +- return Version_String (1 .. NUL_Pos - 1); ++ return Gnat_Static_Version_String; + end Gnat_Version_String; + + end Gnatvsn; diff --git a/devel/gps/patches/patch-ae b/devel/gps/patches/patch-ae new file mode 100644 index 00000000000..9c0ab021c4f --- /dev/null +++ b/devel/gps/patches/patch-ae @@ -0,0 +1,87 @@ +$NetBSD: patch-ae,v 1.1.1.1 2011/02/08 18:32:24 drochner Exp $ + +--- Makefile.in.orig 2010-12-14 22:30:45.000000000 +0000 ++++ Makefile.in +@@ -24,12 +24,12 @@ test-clean: + (cd scripts; ./testsuites clean) + + install-common: +- $(MKDIR) $(bindir) +- $(MKDIR) $(sharedir) +- $(MKDIR) $(examplesdir) +- $(MKDIR) $(sharedir)/gps +- $(MKDIR) $(sharedir)/gps/docgen2 +- $(MKDIR) $(sharedir)/gps/aunit ++ $(MKDIR) $(DESTDIR)$(bindir) ++ $(MKDIR) $(DESTDIR)$(sharedir) ++ $(MKDIR) $(DESTDIR)$(examplesdir) ++ $(MKDIR) $(DESTDIR)$(sharedir)/gps ++ $(MKDIR) $(DESTDIR)$(sharedir)/gps/docgen2 ++ $(MKDIR) $(DESTDIR)$(sharedir)/gps/aunit + ifeq ($(OS),Windows_NT) + # On Windows we distribute two versions of subversion.xml, one that + # supports Cygwin/Subversion and one for native Subversion. +@@ -42,45 +42,40 @@ ifeq ($(OS),Windows_NT) + share/plug-ins/_subversion_ \ + > share/plug-ins/subversion_native_windows.xml + endif +- $(RM) $(sharedir)/gps/library/*.py +- $(RM) $(sharedir)/gps/library/*.xml +- $(RM) $(sharedir)/gps/plug-ins/*.py +- $(RM) $(sharedir)/gps/plug-ins/*.xml +- $(RMDIR) $(sharedir)/gps/templates + # update runtime.xml before copying the plug-ins files. + (cd distrib; $(PERL) from_impunit.pl) +- (cd share; tar cf - plug-ins/*.xml) | (cd $(sharedir)/gps; tar xf -) ++ (cd share; tar cf - plug-ins/*.xml) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) + ifeq ($(OS),Windows_NT) + # Clean-up changes made above for Windows. + $(MV) share/plug-ins/_subversion_ share/plug-ins/subversion.xml + $(RM) share/plug-ins/subversion_native_windows.xml + endif +- $(AWK) -f distrib/gnat_switches.awk < gnat/gnat_ugn.texi > $(sharedir)/gps/plug-ins/gnat_switches.py +- (cd share; tar cf - plug-ins/*.py) | (cd $(sharedir)/gps; tar xf -) +- (cd share; tar cf - plug-ins/gps_utils/*.py) | (cd $(sharedir)/gps; tar xf -) +- (cd share; tar cf - plug-ins/spark/*.py) | (cd $(sharedir)/gps; tar xf -) +- (cd share; tar cf - plug-ins/*.png) | (cd $(sharedir)/gps; tar xf -) +- (cd share; tar cf - plug-ins/images/*.png) | (cd $(sharedir)/gps; tar xf -) +- (cd share; tar cf - library/*.xml) | (cd $(sharedir)/gps; tar xf -) +- (cd share; tar cf - library/*.py) | (cd $(sharedir)/gps; tar xf -) +- (cd share; tar cf - library/pygps/*.py) | (cd $(sharedir)/gps; tar xf -) +- $(RM) $(sharedir)/gps/plug-ins/emacs.xml +- (cd share; tar cf - icons/) | (cd $(sharedir)/gps; tar xf -) +- (cd share; tar cf - templates/) | (cd $(sharedir)/gps; tar xf -) +- (cd share; tar cf - *.*) | (cd $(sharedir)/gps; tar xf -) ++ $(AWK) -f distrib/gnat_switches.awk < gnat/gnat_ugn.texi > $(DESTDIR)$(sharedir)/gps/plug-ins/gnat_switches.py ++ (cd share; tar cf - plug-ins/*.py) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ (cd share; tar cf - plug-ins/gps_utils/*.py) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ (cd share; tar cf - plug-ins/spark/*.py) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ (cd share; tar cf - plug-ins/*.png) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ (cd share; tar cf - plug-ins/images/*.png) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ (cd share; tar cf - library/*.xml) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ (cd share; tar cf - library/*.py) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ (cd share; tar cf - library/pygps/*.py) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ $(RM) $(DESTDIR)$(sharedir)/gps/plug-ins/emacs.xml ++ (cd share; tar cf - icons/) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ (cd share; tar cf - templates/) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) ++ (cd share; tar cf - *.*) | (cd $(DESTDIR)$(sharedir)/gps; tar xf -) + (cd docgen2/resources; tar cf - *.tmpl custom/*.css support/*.css support/*.js support/images/*.png) \ +- | (cd $(sharedir)/gps/docgen2; tar xf -) ++ | (cd $(DESTDIR)$(sharedir)/gps/docgen2; tar xf -) + (cd aunit/templates; tar cf - *.tmpl) \ +- | (cd $(sharedir)/gps/aunit; tar xf -) ++ | (cd $(DESTDIR)$(sharedir)/gps/aunit; tar xf -) + $(MAKE) -C docs install +- (cd examples; tar cf - --exclude .svn . ) | (cd $(examplesdir); tar xf -) ++ (cd examples; tar cf - --exclude .svn . ) | (cd $(DESTDIR)$(examplesdir); tar xf -) + + install: install-common + ifeq ($(OS),Windows_NT) + $(INSTALL_PROGRAM) gps/obj/gps.exe $(bindir) + $(MAKE) -C common/expect install + else +- $(INSTALL_PROGRAM) gps/obj/gps $(bindir) ++ $(INSTALL_PROGRAM) gps/obj/gps $(DESTDIR)$(bindir) + endif + + install-strip: install-common diff --git a/devel/gps/patches/patch-af b/devel/gps/patches/patch-af new file mode 100644 index 00000000000..df4af2247fc --- /dev/null +++ b/devel/gps/patches/patch-af @@ -0,0 +1,22 @@ +$NetBSD: patch-af,v 1.1.1.1 2011/02/08 18:32:24 drochner Exp $ + +--- gnatlib/configure.orig 2011-01-29 19:21:47.000000000 +0000 ++++ gnatlib/configure +@@ -3449,7 +3449,7 @@ echo "${ECHO_T}no" >&6 + ;; + esac + +- if test x$PYTHON_WIN32 == xyes; then ++ if test x$PYTHON_WIN32 = xyes; then + PYTHON_VERSION=$PYTHON_MAJOR_VERSION$PYTHON_MINOR_VERSION + PYTHON_DIR=${PYTHON_BASE}/libs + else +@@ -3520,7 +3520,7 @@ echo "${ECHO_T}yes (version $PYTHON_MAJO + PYTHON_LIBS="-L${PYTHON_DIR} -lpython${PYTHON_VERSION} ${PYTHON_LIBS}" + fi + +- if test x$PYTHON_WIN32 == xyes; then ++ if test x$PYTHON_WIN32 = xyes; then + PYTHON_CFLAGS="-I${PYTHON_BASE}/include" + else + PYTHON_CFLAGS="-I${PYTHON_BASE}/include/python${PYTHON_VERSION}" diff --git a/devel/gps/patches/patch-ag b/devel/gps/patches/patch-ag new file mode 100644 index 00000000000..3e1d5c9b4ef --- /dev/null +++ b/devel/gps/patches/patch-ag @@ -0,0 +1,43 @@ +$NetBSD: patch-ag,v 1.1.1.1 2011/02/08 18:32:24 drochner Exp $ + +--- docs/Makefile.in.orig 2010-12-14 22:30:38.000000000 +0000 ++++ docs/Makefile.in +@@ -77,23 +77,23 @@ endif + + + install: +- $(MKDIR) $(docdir) +- $(MKDIR) $(sharedir) +- $(MKDIR) $(docdir)/html +- $(MKDIR) $(docdir)/pdf +- $(MKDIR) $(docdir)/txt +- -$(INSTALL_DATA) gps-welcome.html $(docdir)/html +- -$(INSTALL_DATA) gps-tutorial.html $(docdir)/html +- -$(CP) gps/* $(docdir)/html/ +- -$(INSTALL_DATA) gps.html $(docdir)/html/ +- -$(INSTALL_DATA) gps.pdf $(docdir)/pdf +- -$(INSTALL_DATA) gps.txt $(docdir)/txt ++ $(MKDIR) $(DESTDIR)$(docdir) ++ $(MKDIR) $(DESTDIR)$(sharedir) ++ $(MKDIR) $(DESTDIR)$(docdir)/html ++ $(MKDIR) $(DESTDIR)$(docdir)/pdf ++ $(MKDIR) $(DESTDIR)$(docdir)/txt ++ -$(INSTALL_DATA) gps-welcome.html $(DESTDIR)$(docdir)/html ++ -$(INSTALL_DATA) gps-tutorial.html $(DESTDIR)$(docdir)/html ++ -$(CP) gps/* $(DESTDIR)$(docdir)/html/ ++ -$(INSTALL_DATA) gps.html $(DESTDIR)$(docdir)/html/ ++ -$(INSTALL_DATA) gps.pdf $(DESTDIR)$(docdir)/pdf ++ -$(INSTALL_DATA) gps.txt $(DESTDIR)$(docdir)/txt + -for img in $(IMAGES); do \ +- $(INSTALL_DATA) $$img $(docdir)/html/; \ ++ $(INSTALL_DATA) $$img $(DESTDIR)$(docdir)/html/; \ + done +- -$(INSTALL_DATA) gps-splash.png $(sharedir) +- -${INSTALL_DATA} gps_index.xml ${docdir}/html +- -${INSTALL_DATA} help_index.html ${docdir}/html ++ -$(INSTALL_DATA) gps-splash.png $(DESTDIR)$(sharedir) ++ -${INSTALL_DATA} gps_index.xml $(DESTDIR)${docdir}/html ++ -${INSTALL_DATA} help_index.html $(DESTDIR)${docdir}/html + + clean-temp-files: + -$(RM) *.aux |