summaryrefslogtreecommitdiffstats
path: root/lang/gnat-glade/Makefile
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-05-25 17:37:23 +0000
committerthierry <thierry@FreeBSD.org>2006-05-25 17:37:23 +0000
commitc13a6cf793721c6c2fab7a984ee01b2a09f2b2b8 (patch)
tree37348ba6bab94f9353ccc9255c9b9b5214eb80c6 /lang/gnat-glade/Makefile
parent3afefd7ec68fe401889a8ea872ed02cae36c3cdc (diff)
downloadFreeBSD-ports-c13a6cf793721c6c2fab7a984ee01b2a09f2b2b8.zip
FreeBSD-ports-c13a6cf793721c6c2fab7a984ee01b2a09f2b2b8.tar.gz
- Update to 2005;
- Take maintainership. PR: ports/95055 Submitted by: Max E. Kuznecov <mek (at) mek.uz.ua>
Diffstat (limited to 'lang/gnat-glade/Makefile')
-rw-r--r--lang/gnat-glade/Makefile43
1 files changed, 21 insertions, 22 deletions
diff --git a/lang/gnat-glade/Makefile b/lang/gnat-glade/Makefile
index 38e3e9b..7346a35 100644
--- a/lang/gnat-glade/Makefile
+++ b/lang/gnat-glade/Makefile
@@ -6,36 +6,35 @@
#
PORTNAME= gnat-glade
-PORTVERSION= 3.15p
-PORTREVISION= 1
+PORTVERSION= 2005
CATEGORIES= lang
-MASTER_SITES= ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/glade/
-DISTNAME= glade-${PORTVERSION}-src
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+DISTNAME= glade-gpl-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mek@mek.uz.ua
COMMENT= GNU Ada distributed systems annex
-BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
+BUILD_DEPENDS= gnatgcc:${PORTSDIR}/lang/gnat
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500039
-WITHOUT_CPU_CFLAGS= yes
-.endif
-USE_AUTOTOOLS= automake:14 autoconf:213
-CONFIGURE_ENV= ADA=adagcc
+USE_AUTOTOOLS= automake:14 autoconf:259
USE_GMAKE= yes
-USE_PERL5_BUILD=yes
+CONFIGURE_ARGS= --prefix=${PREFIX} --program-transform-name=''
-ADACFLAGS?=
-CFLAGS=${ADACFLAGS}
-
-pre-configure:
- ${PERL} -pi -e "s@aclocal\)@${ACLOCAL})@g;\
- s@automake\)@${AUTOMAKE})@g" ${WRKSRC}/aclocal.m4
+.include <bsd.port.pre.mk>
-post-install:
- ${STRIP_CMD} ${PREFIX}/bin/gnatdist
+# Check for GLADE sources.
+GLADE_SRC=${DISTNAME}${EXTRACT_SUFX}
+
+.if !exists(${DISTDIR}/${GLADE_SRC}) && !defined(PACKAGE_BUILDING)
+ECHO_MSG=/usr/bin/printf
+IGNORE=: Because of licensing and registration restrictions,\n\
+you must fetch the source distribution manually.\n\
+Please access http://libre.adacore.com/\n\
+with a web browser, register (it's free), and log in. Download the source\n\
+file:\n\
+\t${DISTFILES}\n\
+and place it in ${DISTDIR}.\n
+.endif
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud