freebsd-ports/devel/adacurses/Makefile
2003-05-18 09:55:25 +00:00

42 lines
1.2 KiB
Makefile

# New ports collection makefile for: adacurses
# Date created: 19 June 2002
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= adacurses
PORTVERSION= 5.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ncurses
DISTNAME= ncurses-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Curses library for Ada
BUILD_DEPENDS= gnat:${PORTSDIR}/lang/gnat
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
USE_LIBTOOL= 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"
do-install:
@${MKDIR} ${PREFIX}/lib/adacurses
@${CP} ${WRKSRC}/Ada95/src/*.ads ${PREFIX}/lib/adacurses
@${CP} ${WRKSRC}/Ada95/src/*.ali ${PREFIX}/lib/adacurses
@${CP} ${WRKSRC}/Ada95/src/*.adb ${PREFIX}/lib/adacurses
@${CP} ${WRKSRC}/Ada95/src/*.a ${PREFIX}/lib/adacurses
@${INSTALL_SCRIPT} ${FILESDIR}/adacurses-config ${PREFIX}/bin
.include <bsd.port.post.mk>