caa9280011
This is the minimum version necessary to build the next version of the GNAT Programming Studio. It is also the last version to support GTK2+. As this will break GPS 5.0, GPS will be imminently upgraded to version 5.2.1 following this commit.
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2013/07/09 10:14:53 marino Exp $
|
|
#
|
|
|
|
DISTNAME= gtkada-${GTKADA_VERSION}
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://downloads.dragonlace.net/src/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
DISTFILES+= gtkada-rm-${GTKADA_VERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= draco@marino.st
|
|
HOMEPAGE= http://libre.adacore.com/libre/tools/gtkada/
|
|
COMMENT= Ada graphical toolkit based on Gtk+
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake perl pkg-config
|
|
USE_LANGUAGES= c ada c++ fortran
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
GTKADA_VERSION= 2.24.4.0
|
|
PKGCONFIG_OVERRIDE+= projects/gtkada.pc.in
|
|
CONFIGURE_ARGS+= --enable-nls \
|
|
--with-GL=no
|
|
MAKE_ENV+= PROCESSORS=${MAKE_JOBS}
|
|
|
|
SUBST_CLASSES+= docs lgnat
|
|
SUBST_STAGE.docs= post-patch
|
|
SUBST_FILES.docs= Makefile.in
|
|
SUBST_SED.docs= -e 's/^all: \(.*\)/all: \1 docs/g'
|
|
SUBST_STAGE.lgnat= post-patch
|
|
SUBST_FILES.lgnat= src/tools/Makefile.in testgtk/Makefile.in
|
|
SUBST_SED.lgnat= -e 's|-largs|-largs -lgnat|'
|
|
|
|
GENERATE_PLIST= cd ${DESTDIR}${PREFIX}; \
|
|
${FIND} * \( -type f -or -type l \) | ${SORT};
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${MY_CONFIGURE_ENV} \
|
|
./configure ${CONFIGURE_ARGS}
|
|
|
|
do-build:
|
|
# This target is recreated because -j cannot be set, but
|
|
# MAKE_JOBS_SAFE=yes is needed for PROCESSORS value
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gmake all
|
|
|
|
post-install:
|
|
${RM} -rf ${DESTDIR}${PREFIX}/share/doc/gtkada/gtkada_ug/_sources
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|