| @@ -1,46 +1,47 @@ | | | @@ -1,46 +1,47 @@ |
1 | # $NetBSD: Makefile,v 1.2 2011/04/22 13:42:46 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2011/10/09 23:57:09 marino Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= gtkada-2.22 | | 4 | DISTNAME= gtkada-2.22 |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
6 | CATEGORIES= x11 | | 6 | CATEGORIES= x11 |
7 | MASTER_SITES= http://downloads.dragonlace.net/src/ \ | | 7 | MASTER_SITES= http://downloads.dragonlace.net/src/ \ |
8 | http://dragonlace.mirrors.ada.cx/src/ | | 8 | http://dragonlace.mirrors.ada.cx/src/ |
9 | EXTRACT_SUFX= .tar.bz2 | | 9 | EXTRACT_SUFX= .tar.bz2 |
10 | | | 10 | |
11 | MAINTAINER= draco@marino.st | | 11 | MAINTAINER= draco@marino.st |
12 | HOMEPAGE= http://libre.adacore.com/libre/tools/gtkada/ | | 12 | HOMEPAGE= http://libre.adacore.com/libre/tools/gtkada/ |
13 | COMMENT= Ada graphical toolkit based on Gtk+ | | 13 | COMMENT= Ada graphical toolkit based on Gtk+ |
14 | LICENSE= gnu-gpl-v2 | | 14 | LICENSE= gnu-gpl-v2 |
15 | | | 15 | |
16 | PKG_DESTDIR_SUPPORT= user-destdir | | 16 | PKG_DESTDIR_SUPPORT= user-destdir |
17 | | | 17 | |
18 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
19 | USE_TOOLS+= gmake pkg-config | | 19 | USE_TOOLS+= gmake pkg-config |
| | | 20 | MAKE_JOBS_SAFE= no |
20 | | | 21 | |
21 | FULL_PATH= /sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin:${PREFIX}/lib/pkgconfig | | 22 | FULL_PATH= /sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/sbin:${PREFIX}/bin:${PREFIX}/lib/pkgconfig |
22 | MY_CONFIGURE_ENV= PATH=${FULL_PATH} | | 23 | MY_CONFIGURE_ENV= PATH=${FULL_PATH} |
23 | MY_CONFIGURE_ENV+= CC=gnatgcc | | 24 | MY_CONFIGURE_ENV+= CC=gnatgcc |
24 | CONFIGURE_ARGS+= --disable-nls | | 25 | CONFIGURE_ARGS+= --disable-nls |
25 | PKGCONFIG_OVERRIDE+= projects/gtkada.pc.in | | 26 | PKGCONFIG_OVERRIDE+= projects/gtkada.pc.in |
26 | | | 27 | |
27 | post-wrapper: | | 28 | post-wrapper: |
28 | # We disable at least the wrapper binaries on all GNAT AUX ports to | | 29 | # We disable at least the wrapper binaries on all GNAT AUX ports to |
29 | # avoid linkage and build problems. In this case we need the wrappers | | 30 | # avoid linkage and build problems. In this case we need the wrappers |
30 | # for the sed transformation script. | | 31 | # for the sed transformation script. |
31 | ${RM} ${WRKDIR}/.wrapper/bin/* | | 32 | ${RM} ${WRKDIR}/.wrapper/bin/* |
32 | | | 33 | |
33 | do-configure: | | 34 | do-configure: |
34 | # OpenGL, Gnome, and glade are normally detected automatically, but | | 35 | # OpenGL, Gnome, and glade are normally detected automatically, but |
35 | # at least with OpenGL, there is an installation bug. Rather than | | 36 | # at least with OpenGL, there is an installation bug. Rather than |
36 | # test everything, patch-ad just disables support for these features. | | 37 | # test everything, patch-ad just disables support for these features. |
37 | cd ${WRKSRC} && ${SETENV} ${MY_CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} | | 38 | cd ${WRKSRC} && ${SETENV} ${MY_CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} |
38 | | | 39 | |
39 | post-install: | | 40 | post-install: |
40 | ${TOUCH} ${DESTDIR}${PREFIX}/lib/gnat/gtkada/IGNORE.ME | | 41 | ${TOUCH} ${DESTDIR}${PREFIX}/lib/gnat/gtkada/IGNORE.ME |
41 | ${TOUCH} ${DESTDIR}${PREFIX}/share/doc/gtkada/gtkada_rm/IGNORE.ME | | 42 | ${TOUCH} ${DESTDIR}${PREFIX}/share/doc/gtkada/gtkada_rm/IGNORE.ME |
42 | | | 43 | |
43 | # gtk2 includes atk, glib and pango among others | | 44 | # gtk2 includes atk, glib and pango among others |
44 | .include "../../x11/gtk2/buildlink3.mk" | | 45 | .include "../../x11/gtk2/buildlink3.mk" |
45 | .include "../../lang/gnat-aux/buildlink3.mk" | | 46 | .include "../../lang/gnat-aux/buildlink3.mk" |
46 | .include "../../mk/bsd.pkg.mk" | | 47 | .include "../../mk/bsd.pkg.mk" |