svn commit: r323754 - head/devel/adasdl

John Marino marino at FreeBSD.org
Fri Jul 26 20:52:07 UTC 2013


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 at realityrift.com>
-#
+# Created by: David Holm <david at 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 at 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 \


More information about the svn-ports-head mailing list