1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

x11-toolkits/gtkada: update to 2.24.4.0

- Update to 2.24.4.0
- Auto generate pkg-plist

PR:		ports/180172
Submitted by:	John Marino <draco@marino.st> (maintainer)
This commit is contained in:
William Grzybowski 2013-07-02 14:06:12 +00:00
parent 1747733f20
commit ec8f26835a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322170
17 changed files with 86 additions and 2827 deletions

View File

@ -2,34 +2,84 @@
# $FreeBSD$
PORTNAME= gtkada
PORTVERSION= ${GTKADA_VERSION}
PORTREVISION= 2
PORTVERSION= 2.24.4.0
CATEGORIES= x11-toolkits
MASTER_SITES= http://downloads.dragonlace.net/src/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
gtkada-rm-${GTKADA_VERSION}${EXTRACT_SUFX}
gtkada-rm-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= draco@marino.st
COMMENT= Ada graphical toolkit based on Gtk2+
LICENSE= GPLv2
BUILD_DEPENDS+= makeinfo:${PORTSDIR}/print/texinfo
BUILD_DEPENDS+= gtk>=${GTKADA_VERSION}:${PORTSDIR}/x11-toolkits/gtk20
RUN_DEPENDS+= gtk>=${GTKADA_VERSION}:${PORTSDIR}/x11-toolkits/gtk20
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
USE_PERL5_BUILD=yes
USES+= ada
USE_GNOME= gtk20
USES= ada
GTKADA_VERSION= 2.22
PLIST_SUB+= PKGNAME="${PORTNAME}-${GTKADA_VERSION}"
DESTINY= ${WRKDIR}/destino
MAKE_ENV+= DESTDIR=${DESTINY}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
# Setting MAKE_JOBS_SAFE=yes will break the build because -j is passed
# to gmake. So we need to roll our own parallel-job support here.
# We can check MAKE_JOBS_NUMBER because /etc/make.conf is loaded
# before this makefile and bsd.port.mk isn't.
.if !defined(DISABLE_MAKE_JOBS)
. if defined(MAKE_JOBS_NUMBER)
MAKE_ENV+= PROCESSORS=${MAKE_JOBS_NUMBER}
. else
. if ${OPSYS} == FreeBSD
NCPU!= ${SYSCTL} -n kern.smp.cpus
. elif ${OPSYS} == DragonFly
NCPU!= ${SYSCTL} -n hw.ncpu
. else
NCPU= 1
. endif
MAKE_ENV+= PROCESSORS=${NCPU}
. endif
.endif
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx
.endif
.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+= --enable-nls
USES+= gettext
.else
CONFIGURE_ARGS+= --disable-nls
.endif
post-patch:
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/misc.c
@${REINPLACE_CMD} -e '/DESTDIR =/d' ${WRKSRC}/src/Makefile.common.in
.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's/^all: \(.*\)/all: \1 docs/g' ${WRKSRC}/Makefile.in
.endif
post-install:
@${MKDIR} ${DESTINY}${PREFIX}/libdata
@${MV} ${DESTINY}${PREFIX}/lib/pkgconfig ${DESTINY}${PREFIX}/libdata/
${RM} -rf ${DESTINY}${PREFIX}/share/doc/gtkada/gtkada_ug/_sources
${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/
@cd ${DESTINY}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
${SORT} > ${WRKDIR}/PLIST.all
@cd ${DESTINY}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | ${SORT} -r | \
${SED} -e '/lib\/gnat$$/d' -e '/share\/doc$$/d' -e '/share\/gps/d' \
-e '/share\/examples$$/d' -e '/libdata\/pkgconfig/d' \
-e 's/^/@dirrm /g' >> ${WRKDIR}/PLIST.all
@echo "@unexec rmdir %D/lib/gnat 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
@echo "@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
@echo "@unexec rmdir %D/share/gps/plug-ins 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
@echo "@unexec rmdir %D/share/gps 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
@echo "@unexec rmdir %D/share/examples 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
@echo "@unexec rmdir %D/share/doc 2>/dev/null || true" >> ${WRKDIR}/PLIST.all
@${CAT} ${WRKDIR}/PLIST.all >> ${TMPPLIST}
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
SHA256 (gtkada-2.22.tar.bz2) = 2512f98925bc6d1e782aade1b4371c0900469d3afa3a79f3c2e9d71f3accffa7
SIZE (gtkada-2.22.tar.bz2) = 2775194
SHA256 (gtkada-rm-2.22.tar.bz2) = 14e8b69b2b84896b8fdc4ef3a9daf7c0af41b42d004a0d1487881fc3d61fb827
SIZE (gtkada-rm-2.22.tar.bz2) = 3263320
SHA256 (gtkada-2.24.4.0.tar.bz2) = f26715695052218ddcf7dfb9ccd2248376f7239ab757b61e66201df03c56c3e5
SIZE (gtkada-2.24.4.0.tar.bz2) = 2758322
SHA256 (gtkada-rm-2.24.4.0.tar.bz2) = 50456e41ce87a4b795c70f5a2271c43e6ccdeb5dc1b9bd2aef44d0cd56c07855
SIZE (gtkada-rm-2.24.4.0.tar.bz2) = 3009953

View File

@ -1,12 +0,0 @@
$NetBSD: patch-af,v 1.1 2011/10/14 14:02:17 marino Exp $
--- Makefile.in.orig 2011-10-13 16:16:09.000000000 +0000
+++ Makefile.in
@@ -16,6 +16,7 @@ all: src tests
src:
$(MAKE) -C $(src_dir)
+ $(MAKE) -C $(doc_dir)
tests: src
$(MAKE) -C $(testgtk_dir)

View File

@ -1,11 +0,0 @@
--- testgtk/testcairo_printing.ads.orig 2010-12-03 08:55:04 +0000
+++ testgtk/testcairo_printing.ads
@@ -48,7 +48,7 @@ package Testcairo_Printing is
Testcairo_Print_Operation_Record'Class;
overriding procedure Draw_Page
- (Op : not null access Testcairo_Print_Operation_Record;
+ (Op : access Testcairo_Print_Operation_Record;
Context : Gtk_Print_Context;
Page_Number : Gint);
-- Handler responsible for printing pages

View File

@ -1,11 +0,0 @@
--- testgtk/testcairo_printing.adb.orig 2010-12-03 08:56:15 +0000
+++ testgtk/testcairo_printing.adb
@@ -37,7 +37,7 @@ package body Testcairo_Printing is
---------------
overriding procedure Draw_Page
- (Op : not null access Testcairo_Print_Operation_Record;
+ (Op : access Testcairo_Print_Operation_Record;
Context : Gtk_Print_Context;
Page_Number : Gint)
is

View File

@ -1,22 +0,0 @@
$NetBSD: patch-ah,v 1.1 2011/10/14 14:02:17 marino Exp $
--- configure.orig 2010-12-01 21:51:08.000000000 +0000
+++ configure
@@ -3834,7 +3834,7 @@ echo "${ECHO_T}yes" >&6
EXEC_PREFIX="$prefix"
- ac_config_files="$ac_config_files Makefile src/Makefile.common src/Makefile src/tools/gtkada-config src/tools/gate src/tools/Makefile testgtk/Makefile src/gtkextra/Makefile src/opengl/Makefile src/glade/Makefile src/gnome/Makefile docs/gtkada_ug/Makefile docs/gtkada_rm/Makefile po/Makefile src/config.h projects/gtkada.pc projects/gtkada_install_dynamic.gpr projects/gtkada_install_dynamic_gl.gpr"
+ ac_config_files="$ac_config_files Makefile src/Makefile.common src/Makefile src/tools/gtkada-config src/tools/gate src/tools/Makefile testgtk/Makefile src/gtkextra/Makefile src/opengl/Makefile src/glade/Makefile src/gnome/Makefile docs/gtkada_ug/Makefile docs/gtkada_rm_pregen/Makefile po/Makefile src/config.h projects/gtkada.pc projects/gtkada_install_dynamic.gpr projects/gtkada_install_dynamic_gl.gpr"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
@@ -4397,7 +4397,7 @@ do
"src/glade/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
"src/gnome/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnome/Makefile" ;;
"docs/gtkada_ug/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/gtkada_ug/Makefile" ;;
- "docs/gtkada_rm/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/gtkada_rm/Makefile" ;;
+ "docs/gtkada_rm_pregen/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/gtkada_rmi_pregen/Makefile" ;;
"po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
"src/config.h" ) CONFIG_FILES="$CONFIG_FILES src/config.h" ;;
"projects/gtkada.pc" ) CONFIG_FILES="$CONFIG_FILES projects/gtkada.pc" ;;

View File

@ -1,22 +0,0 @@
$NetBSD: patch-ag,v 1.1 2011/10/14 14:02:17 marino Exp $
--- docs/Makefile.orig 2010-12-01 21:51:08.000000000 +0000
+++ docs/Makefile
@@ -1,15 +1,13 @@
all::
- ${MAKE} -C gtkada_rm
${MAKE} -C gtkada_ug
install::
- ${MAKE} -C gtkada_rm install
${MAKE} -C gtkada_ug install
+ ${MAKE} -C gtkada_rm_pregen install
clean::
- ${MAKE} -C gtkada_rm clean
${MAKE} -C gtkada_ug clean
distclean::
- ${MAKE} -C gtkada_rm distclean
${MAKE} -C gtkada_ug distclean
+ ${MAKE} -c gtkada_rm_pregen install

View File

@ -0,0 +1,18 @@
--- docs/Makefile.in.orig 2013-07-01 09:42:48.000000000 +0000
+++ docs/Makefile.in
@@ -4,13 +4,12 @@ CP=cp -p
MKDIR=mkdir -p
all::
- ${MAKE} -C gtkada_rm
- ${MAKE} -C gtkada_ug html latexpdf
+ ${MAKE} -C gtkada_ug html
install::
- ${MAKE} -C gtkada_rm install
$(MKDIR) ${DESTDIR}$(docdir)/gtkada_ug/
-$(CP) -r gtkada_ug/_build/html/* ${DESTDIR}$(docdir)/gtkada_ug/
+ $(CP) -r gtkada_rm_pregen/gtkada_rm ${DESTDIR}$(docdir)/
clean::
${MAKE} -C gtkada_rm clean

View File

@ -1,28 +0,0 @@
$NetBSD: patch-bf,v 1.2 2011/10/14 14:02:17 marino Exp $
--- docs/gtkada_ug/Makefile.in.orig 2010-12-01 21:51:07.000000000 +0000
+++ docs/gtkada_ug/Makefile.in
@@ -6,21 +6,16 @@ INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
all: gtkada_ug.texi gfdl.texi
- echo x | tex gtkada_ug.texi
- texindex gtkada_ug.cp
- tex gtkada_ug.texi
- tex gtkada_ug.texi
- dvips gtkada_ug.dvi -o gtkada_ug.ps
perl ../texi2html -menu -monolithic gtkada_ug.texi
makeinfo --force -o gtkada_ug.info gtkada_ug.texi
makeinfo --force --no-headers --no-split -o gtkada_ug.txt gtkada_ug.texi
-$(RM) *.aux *.cp *.cps *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr
install:
- -$(MKDIR) $(docdir)
+ -$(MKDIR) $(DESTDIR)$(docdir)
for i in `ls *.html *.info* *.ps *.texi *.txt *.tex *.gif *.jpg`; \
do \
- $(INSTALL_DATA) $$i $(docdir); \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(docdir); \
done
clean:

View File

@ -1,23 +0,0 @@
$NetBSD: patch-bg,v 1.1.1.1 2011/02/03 18:57:15 drochner Exp $
--- examples/Makefile.orig 2011-02-02 18:48:10.000000000 +0000
+++ examples/Makefile
@@ -44,13 +44,13 @@ all: ${DIRECTORIES}
done
install:
- mkdir -p $(examples)
+ mkdir -p $(DESTDIR)$(examples)
-for dir in ${DIRECTORIES} ${TUTORIAL_DIRS}; do \
- mkdir -p $(examples)/$${dir}; \
+ mkdir -p $(DESTDIR)$(examples)/$${dir}; \
rm -f $${dir}/b~*; \
- cp -p $${dir}/*.ad? $${dir}/*.gpr $(examples)/$${dir} 2>/dev/null; \
- cp -p $${dir}/Makefile $(examples)/$${dir} 2>/dev/null; \
- cp -p $${dir}/README $(examples)/$${dir} 2>/dev/null; \
+ cp -p $${dir}/*.ad? $${dir}/*.gpr $(DESTDIR)$(examples)/$${dir} 2>/dev/null; \
+ cp -p $${dir}/Makefile $(DESTDIR)$(examples)/$${dir} 2>/dev/null; \
+ cp -p $${dir}/README $(DESTDIR)$(examples)/$${dir} 2>/dev/null; \
done
clean::

View File

@ -1,37 +0,0 @@
$NetBSD: patch-bc,v 1.1.1.1 2011/02/03 18:57:15 drochner Exp $
--- projects/Makefile.orig 2011-02-02 18:42:10.000000000 +0000
+++ projects/Makefile
@@ -5,24 +5,23 @@ MKDIR = mkdir -p
SOVER=${MAJOR}.${MINOR}
install: force
- ${MKDIR} $(prefix)/lib/gnat/
- ${MKDIR} $(prefix)/lib/gnat/gtkada
- $(MKDIR) $(prefix)/lib/pkgconfig/
- ${CP} gtkada.pc $(prefix)/lib/pkgconfig/
- -${RM} ${prefix}/projects/gtkada*
+ ${MKDIR} $(DESTDIR)$(prefix)/lib/gnat/
+ ${MKDIR} $(DESTDIR)$(prefix)/lib/gnat/gtkada
+ $(MKDIR) $(DESTDIR)$(prefix)/libdata/pkgconfig/
+ ${CP} gtkada.pc $(DESTDIR)$(prefix)/libdata/pkgconfig/
./generate_prj.sh GtkAda "${prefix}" ${DEFAULT_LIBRARY_TYPE} ${SOVER} ""
- ${CP} gtkada.gpr ${prefix}/lib/gnat/
+ ${CP} gtkada.gpr $(DESTDIR)${prefix}/lib/gnat/
ifeq ($(HAVE_LIBGLADE), True)
./generate_prj.sh GtkAda_Glade "${prefix}" ${DEFAULT_LIBRARY_TYPE} ${SOVER} ""
- ${CP} gtkada_glade.gpr ${prefix}/lib/gnat/
+ ${CP} gtkada_glade.gpr $(DESTDIR)${prefix}/lib/gnat/
endif
ifeq ($(HAVE_OPENGL), True)
./generate_prj.sh GtkAda_GL "${prefix}" ${DEFAULT_LIBRARY_TYPE} ${SOVER} opengl
- ${CP} gtkada_gl.gpr ${prefix}/lib/gnat/
+ ${CP} gtkada_gl.gpr $(DESTDIR)${prefix}/lib/gnat/
endif
ifeq ($(HAVE_GNOME), True)
./generate_prj.sh GtkAda_Gnome "${prefix}" ${DEFAULT_LIBRARY_TYPE} ${SOVER} ""
- ${CP} gtkada_gnome.gpr ${prefix}/lib/gnat/
+ ${CP} gtkada_gnome.gpr $(DESTDIR)${prefix}/lib/gnat/
endif
ifeq ($(OS),Windows_NT)
${CP} gtkada_install_*.gpr ${prefix}/include/gtkada

View File

@ -1,15 +1,11 @@
$NetBSD: patch-ad,v 1.1.1.1 2011/02/03 18:57:15 drochner Exp $
--- src/Makefile.common.in.orig 2011-01-19 22:48:51.000000000 +0100
--- src/Makefile.common.in.orig 2013-07-01 09:42:47.000000000 +0000
+++ src/Makefile.common.in
@@ -12,9 +12,9 @@
@@ -14,8 +14,8 @@ MAJOR = @GTKADA_MAJOR_VERSION@
MINOR = @GTKADA_MINOR_VERSION@
MICRO = @GTKADA_MICRO_VERSION@
GTK_LIBS = @GTK_LIBS@
-HAVE_LIBGLADE = @HAVE_LIBGLADE@
GTK_LIBS = @GTK_LIBS_FOR_GNATMAKE@
-HAVE_OPENGL = @HAVE_OPENGL@
-HAVE_GNOME = @HAVE_GNOME@
+HAVE_LIBGLADE = False
+HAVE_OPENGL = False
+HAVE_GNOME = False
BUILD_TYPE = @BUILD_TYPE@

View File

@ -1,75 +0,0 @@
$NetBSD: patch-ba,v 1.2 2011/02/10 10:43:41 drochner Exp $
--- src/Makefile.in.orig 2010-12-01 21:51:07.000000000 +0000
+++ src/Makefile.in
@@ -58,46 +58,44 @@ gtkada-intl.adb: gtkada-intl.gpb Makefil
install: force
@if [ "$(prefix)" != `pwd` ]; then \
echo Installing GtkAda in $(prefix); \
- $(MKDIR) $(bindir); \
- $(MKDIR) $(libdir); \
- $(MKDIR) $(incdir); \
- $(MKDIR) $(alidir)/static; \
- $(INSTALL_DATA) ${OBJ_DIR}/$(ARCHIVENAME) $(alidir)/static; \
- $(RM) $(libdir)/$(ARCHIVENAME); \
+ $(MKDIR) $(DESTDIR)$(bindir); \
+ $(MKDIR) $(DESTDIR)$(libdir); \
+ $(MKDIR) $(DESTDIR)$(incdir); \
+ $(MKDIR) $(DESTDIR)$(alidir)/static; \
+ $(INSTALL_DATA) ${OBJ_DIR}/$(ARCHIVENAME) $(DESTDIR)$(alidir)/static; \
if [ -f /usr/bin/$(RANLIB) -o -f /bin/$(RANLIB) ]; then \
- $(RANLIB) $(alidir)/static/$(ARCHIVENAME); \
+ $(RANLIB) $(DESTDIR)$(alidir)/static/$(ARCHIVENAME); \
fi; \
if [ $(BUILD_SHARED) = yes ]; then \
- $(MKDIR) $(alidir)/relocatable; \
+ $(MKDIR) $(DESTDIR)$(alidir)/relocatable; \
if [ "$(OS)" = "Windows_NT" ]; then \
$(INSTALL_DATA) ${OBJ_DIR}/$(SONAME) $(bindir); \
$(CHMOD) +x $(bindir)/$(SONAME); \
else \
- $(INSTALL_DATA) ${OBJ_DIR}/$(SONAME) $(alidir)/relocatable; \
- $(RM) $(libdir)/$(LIBNAME); \
- $(LN) $(SONAME) $(alidir)/relocatable/$(LIBNAME); \
- $(LN) gtkada/relocatable/$(SONAME) $(libdir)/$(LIBNAME); \
- $(LN) gtkada/relocatable/$(SONAME) $(libdir)/$(SONAME); \
+ $(INSTALL_DATA) ${OBJ_DIR}/$(SONAME) $(DESTDIR)$(alidir)/relocatable; \
+ $(LN) $(SONAME) $(DESTDIR)$(alidir)/relocatable/$(LIBNAME); \
+ $(LN) gtkada/relocatable/$(SONAME) $(DESTDIR)$(libdir)/$(LIBNAME); \
+ $(LN) gtkada/relocatable/$(SONAME) $(DESTDIR)$(libdir)/$(SONAME); \
fi; \
- $(CP) $(OBJ_DIR)/glib*.ali $(OBJ_DIR)/gdk*.ali $(alidir)/relocatable; \
- $(CP) $(OBJ_DIR)/gtk*.ali $(OBJ_DIR)/pango*.ali $(alidir)/relocatable; \
- $(CP) $(OBJ_DIR)/cairo*.ali $(alidir)/relocatable; \
+ $(CP) $(OBJ_DIR)/glib*.ali $(OBJ_DIR)/gdk*.ali $(DESTDIR)$(alidir)/relocatable; \
+ $(CP) $(OBJ_DIR)/gtk*.ali $(OBJ_DIR)/pango*.ali $(DESTDIR)$(alidir)/relocatable; \
+ $(CP) $(OBJ_DIR)/cairo*.ali $(DESTDIR)$(alidir)/relocatable; \
fi; \
- $(CP) glib*.ads glib*.adb $(MESA_SPECS) $(incdir); \
- $(CP) gdk*.ads gdk*.adb $(incdir); \
- $(CP) gtk*.ads gtk*.adb $(incdir); \
- $(CP) pango*.ads pango*.adb $(incdir); \
- $(CP) cairo*.ads cairo*.adb $(incdir); \
- $(CP) $(OBJ_DIR)/glib*.ali $(OBJ_DIR)/gdk*.ali $(alidir)/static; \
- $(CP) $(OBJ_DIR)/gtk*.ali $(OBJ_DIR)/pango*.ali $(alidir)/static; \
- $(CP) $(OBJ_DIR)/cairo*.ali $(alidir)/static; \
+ $(CP) glib*.ads glib*.adb $(MESA_SPECS) $(DESTDIR)$(incdir); \
+ $(CP) gdk*.ads gdk*.adb $(DESTDIR)$(incdir); \
+ $(CP) gtk*.ads gtk*.adb $(DESTDIR)$(incdir); \
+ $(CP) pango*.ads pango*.adb $(DESTDIR)$(incdir); \
+ $(CP) cairo*.ads cairo*.adb $(DESTDIR)$(incdir); \
+ $(CP) $(OBJ_DIR)/glib*.ali $(OBJ_DIR)/gdk*.ali $(DESTDIR)$(alidir)/static; \
+ $(CP) $(OBJ_DIR)/gtk*.ali $(OBJ_DIR)/pango*.ali $(DESTDIR)$(alidir)/static; \
+ $(CP) $(OBJ_DIR)/cairo*.ali $(DESTDIR)$(alidir)/static; \
$(MAKE) -C opengl install; \
$(MAKE) -C glade install; \
$(MAKE) -C gnome install; \
$(MAKE) -C tools install; \
- $(CHMOD) ugo-w $(alidir)/static/*.ali; \
+ $(CHMOD) ugo-w $(DESTDIR)$(alidir)/static/*.ali; \
if [ $(BUILD_SHARED) = yes ]; then \
- $(CHMOD) ugo-w $(alidir)/relocatable/*.ali; \
+ $(CHMOD) ugo-w $(DESTDIR)$(alidir)/relocatable/*.ali; \
fi; \
fi

View File

@ -1,19 +0,0 @@
$NetBSD: patch-bb,v 1.1.1.1 2011/02/03 18:57:15 drochner Exp $
--- src/tools/Makefile.in.orig 2011-02-02 18:40:39.000000000 +0000
+++ src/tools/Makefile.in
@@ -27,10 +27,10 @@ all: force
install: force
-${CHMOD} +x ${GATE} ${GTKADA_CONFIG}
- ${INSTALL_SCRIPT} ${GATE} ${bindir}
- ${INSTALL_SCRIPT} ${GTKADA_CONFIG} ${bindir}
- ${INSTALL_PROGRAM} ${OBJ_DIR}/${GATE_EX} ${bindir}
- ${INSTALL_PROGRAM} ${OBJ_DIR}/${GDIALOG} ${bindir}
+ ${INSTALL_SCRIPT} ${GATE} $(DESTDIR)${bindir}
+ ${INSTALL_SCRIPT} ${GTKADA_CONFIG} $(DESTDIR)${bindir}
+ ${INSTALL_PROGRAM} ${OBJ_DIR}/${GATE_EX} $(DESTDIR)${bindir}
+ ${INSTALL_PROGRAM} ${OBJ_DIR}/${GDIALOG} $(DESTDIR)${bindir}
clean: module_clean

View File

@ -1,34 +0,0 @@
$NetBSD: patch-ae,v 1.2 2012/07/08 20:19:00 marino Exp $
$NetBSD: patch-bd,v 1.1.1.1 2011/02/03 18:57:15 drochner Exp $
--- testgtk/Makefile.in.orig 2011-01-19 23:19:14.000000000 +0100
+++ testgtk/Makefile.in
@@ -29,7 +29,7 @@
GTKADA_GL_LIBS=
endif
-GNATMAKELDFLAGS = -largs -L$(src_dir)/lib-obj -L$(opengl_dir) -lgtkada \
+GNATMAKELDFLAGS = -shared-libgcc -lgnat -L$(src_dir)/lib-obj -L$(opengl_dir) -lgtkada \
$(GTKADA_GL_LIBS) @GTK_LIBS@ $(TARGET_LFLAGS)
all: opengl/view_gl.adb $(OPENGL_C_OBJECTS) $(target)
@@ -45,13 +45,13 @@ lw.o: opengl/lw.c opengl/lw.h
$(CC) -c opengl/lw.c -Iopengl @GTK_CFLAGS@
install: force
- $(MKDIR) $(examples)
- $(MKDIR) $(examples)/opengl
+ $(MKDIR) $(DESTDIR)$(examples)
+ $(MKDIR) $(DESTDIR)$(examples)/opengl
$(RM) b~*
- -$(INSTALL_PROGRAM) testgtk$(EXEEXT) $(examples)
- -$(INSTALL_PROGRAM) testcairo$(EXEEXT) $(examples)
- $(CP) *.ad? *.xpm *.png *.jpg *.gif *.lwo *.xml $(examples)
- $(CP) opengl/*.ad? opengl/*.[ch] $(examples)/opengl
+ -$(INSTALL_PROGRAM) testgtk$(EXEEXT) $(DESTDIR)$(examples)
+ -$(INSTALL_PROGRAM) testcairo$(EXEEXT) $(DESTDIR)$(examples)
+ $(CP) *.ad? *.xpm *.png *.jpg *.gif *.lwo *.xml $(DESTDIR)$(examples)
+ $(CP) opengl/*.ad? opengl/*.[ch] $(DESTDIR)$(examples)/opengl
clean: module_clean

View File

@ -1,15 +0,0 @@
$NetBSD: patch-bh,v 1.1.1.1 2011/02/03 18:57:15 drochner Exp $
--- xml/Makefile.orig 2011-02-02 18:49:32.000000000 +0000
+++ xml/Makefile
@@ -3,8 +3,8 @@ include ../src/Makefile.common
MKDIR = mkdir -p
install: force
- ${MKDIR} $(prefix)/share/gps/plug-ins
- ${CP} gtkada.xml ${prefix}/share/gps/plug-ins/
+ ${MKDIR} $(DESTDIR)$(prefix)/share/gps/plug-ins
+ ${CP} gtkada.xml $(DESTDIR)${prefix}/share/gps/plug-ins/
force:

File diff suppressed because it is too large Load Diff