to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2013/06/03 10:04:45 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= gps-${GPS_VERSION}
|
|
PKGREVISION= 18
|
|
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
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake sed perl awk pkg-config
|
|
|
|
GPS_VERSION= 5.0.1
|
|
USE_LANGUAGES= c ada c++ fortran
|
|
MY_CONFIGURE_ENV+= ADA_PROJECT_PATH=${APP}
|
|
MY_CONFIGURE_ENV+= PYTHON=${PREFIX}/bin/python${PYVERSSUFFIX}
|
|
APP= ${PREFIX}/lib/gnat
|
|
|
|
.include "options.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-gmp=${PREFIX}
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${MY_CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}
|
|
do-build:
|
|
cd ${WRKSRC} && ${SETENV} ADA_PROJECT_PATH=${APP} gmake default
|
|
|
|
pre-install:
|
|
.if !empty(PKG_OPTIONS:Mpython)
|
|
${PY_COMPILE_ALL} ${WRKSRC}/share/plug-ins
|
|
${PY_COMPILE_ALL} ${WRKSRC}/share/library
|
|
.endif
|
|
|
|
.include "../../x11/gtkada/buildlink3.mk"
|
|
.include "../../textproc/xmlada/buildlink3.mk"
|
|
.include "../../devel/gprbuild-aux/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|