summaryrefslogtreecommitdiffstats
path: root/devel/adacurses/Makefile
blob: b160bbf36d28d37d8e21522a16e5995e7ca5e31c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	adacurses
# Date created:				19 June 2002
# Whom:					olgeni@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=		adacurses
PORTVERSION=		5.6
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	ncurses
DISTNAME=		ncurses-${PORTVERSION}

MAINTAINER=		araujo@bsdmail.org
COMMENT=		Curses library for Ada

BUILD_DEPENDS=		gnat:${PORTSDIR}/lang/gnat

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	--datadir=${PREFIX}/share/misc --disable-overwrite \
		--disable-termcap --includedir=${PREFIX}/include/ncurses \
		--with-profile --with-shared --without-debug \
		--without-curses-h --with-termlib --with-libtool
CONFIGURE_ENV=	ac_cv_path_LDCONFIG="${LDCONFIG} -m ${PREFIX}/lib" \
		 ADA_SUBDIRS="gen src"

do-install:
	@${MKDIR} ${PREFIX}/lib/adacurses
	@${INSTALL_DATA} ${WRKSRC}/Ada95/src/*.ads ${PREFIX}/lib/adacurses
	@${INSTALL_DATA} ${WRKSRC}/Ada95/src/*.adb ${PREFIX}/lib/adacurses
	@${INSTALL_SCRIPT} ${FILESDIR}/adacurses-config ${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud