aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-07-27 04:52:06 +0800
committermarino <marino@FreeBSD.org>2013-07-27 04:52:06 +0800
commitba28865b5dbedbfd537aa048eba97e04595f6f13 (patch)
tree95ddfca2ba0bde8d82e279f7a7a036ee28874c4c
parent042517a89934872c14cba1a6718ceb124755c64f (diff)
downloadfreebsd-ports-gnome-ba28865b5dbedbfd537aa048eba97e04595f6f13.tar.gz
freebsd-ports-gnome-ba28865b5dbedbfd537aa048eba97e04595f6f13.tar.zst
freebsd-ports-gnome-ba28865b5dbedbfd537aa048eba97e04595f6f13.zip
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)
-rw-r--r--devel/adasdl/Makefile26
1 files changed, 11 insertions, 15 deletions
diff --git a/devel/adasdl/Makefile b/devel/adasdl/Makefile
index 73bb4accc7a6..50b48a388836 100644
--- a/devel/adasdl/Makefile
+++ b/devel/adasdl/Makefile
@@ -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 \