aboutsummaryrefslogtreecommitdiff
path: root/lang/glade-gpl/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-05-25 17:37:23 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-05-25 17:37:23 +0000
commit3cdf7f744813f54d898738e951bbbf63ef8bda6d (patch)
tree6df444892c327b1fb0ee34d8abbddc3915aa0720 /lang/glade-gpl/Makefile
parent0b8661aca93e56c8509ca229f0b2e8053b4903e7 (diff)
- Update to 2005;
- Take maintainership. PR: ports/95055 Submitted by: Max E. Kuznecov <mek (at) mek.uz.ua>
Notes
Notes: svn path=/head/; revision=163383
Diffstat (limited to 'lang/glade-gpl/Makefile')
-rw-r--r--lang/glade-gpl/Makefile43
1 files changed, 21 insertions, 22 deletions
diff --git a/lang/glade-gpl/Makefile b/lang/glade-gpl/Makefile
index 38e3e9b6c1a1..7346a352277a 100644
--- a/lang/glade-gpl/Makefile
+++ b/lang/glade-gpl/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>