Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2013 20:52:07 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323754 - head/devel/adasdl
Message-ID:  <201307262052.r6QKq7Rp018066@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Jul 26 20:52:06 2013
New Revision: 323754
URL: http://svnweb.freebsd.org/changeset/ports/323754

Log:
  devel/adasdl: Move to Ada framework
  
  Currently this port has a hard dependency on lang/gnat.  This has been
  replaced with USES+=ada and minor changes to incorporate it into the Ada
  framework with a PORTREVISION bump.
  
  The makefile header was trimmed, spaces were replaced with tabs, the
  leading article was removed from the COMMENT, USES_GMAKE was converted
  to USES and GMAKE was redefined in order to access the environment
  variables.
  
  This is a very old program, and the data types defined in it in are
  too small for amd64.  Redports confirms it will not build on this platform
  so ONLY_FOR_ARCHS=i386 is set as well.
  
  Approved by:	bapt & culot (mentors)

Modified:
  head/devel/adasdl/Makefile

Modified: head/devel/adasdl/Makefile
==============================================================================
--- head/devel/adasdl/Makefile	Fri Jul 26 20:50:50 2013	(r323753)
+++ head/devel/adasdl/Makefile	Fri Jul 26 20:52:06 2013	(r323754)
@@ -1,25 +1,21 @@
-# New ports collection makefile for:   adasdl
-# Date created:        21 December 2002
-# Whom:                David Holm <david@realityrift.com>
-#
+# Created by: David Holm <david@realityrift.com>
 # $FreeBSD$
-#
 
-PORTNAME=      adasdl
-PORTVERSION=   20010504
-PORTREVISION=	11
-CATEGORIES=    devel
-MASTER_SITES=  SF/${PORTNAME}/AdaSDL_${PORTVERSION}/AdaSDL_${PORTVERSION}
-DISTNAME=      AdaSDL_${PORTVERSION}
+PORTNAME=	adasdl
+PORTVERSION=	20010504
+PORTREVISION=	12
+CATEGORIES=	devel
+MASTER_SITES=	SF/${PORTNAME}/AdaSDL_${PORTVERSION}/AdaSDL_${PORTVERSION}
+DISTNAME=	AdaSDL_${PORTVERSION}
 
 MAINTAINER=	david@realityrift.com
-COMMENT=	An Ada thin binding to SDL
+COMMENT=	Ada thin binding to SDL
 
-LIB_DEPENDS=	${GL_DEPENDS}
-BUILD_DEPENDS=	gnatmake:${PORTSDIR}/lang/gnat
+ONLY_FOR_ARCHS=	i386
 
 USE_SDL=	mixer image sdl
-USE_GMAKE=     yes
+USES=		ada gmake
+GMAKE=		${SETENV} ${MAKE_ENV} gmake
 
 do-patch:
 	for i in `${FIND} ${WRKSRC} -name 'Makefile'`; do \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307262052.r6QKq7Rp018066>