aboutsummaryrefslogtreecommitdiff
path: root/lang/gnatdroid-armv5
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-30 12:38:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-30 12:38:52 +0000
commit6ed50c6a1f68332cb2dda3bee786b4e1301d6266 (patch)
tree5584adacbe99a7fa939a98ab22680b07a52dbd9e /lang/gnatdroid-armv5
parentd143e58e863eae63cfe7f840230c940c0bcaa8ac (diff)
downloadports-6ed50c6a1f68332cb2dda3bee786b4e1301d6266.tar.gz
ports-6ed50c6a1f68332cb2dda3bee786b4e1301d6266.zip
Notes
Diffstat (limited to 'lang/gnatdroid-armv5')
-rw-r--r--lang/gnatdroid-armv5/Makefile26
-rw-r--r--lang/gnatdroid-armv5/distinfo22
2 files changed, 22 insertions, 26 deletions
diff --git a/lang/gnatdroid-armv5/Makefile b/lang/gnatdroid-armv5/Makefile
index 4c591862700d..0239fadf16ed 100644
--- a/lang/gnatdroid-armv5/Makefile
+++ b/lang/gnatdroid-armv5/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gnatdroid-armv5
-# Date created: 2011-07-20
-# Whom: John Marino <draco@marino>
-#
+# Created by: John Marino <draco@marino>
# $FreeBSD$
-#
PORTNAME= armv5
PORTVERSION= ${SNAPSHOT}
@@ -32,10 +28,12 @@ APPLY_DIFFS= core ada ada-testsuite gcc-testsuite
NO_MTREE= YES
# Disable C++ until arm.cc/no-rtti issue resolved for libsupc++
-#OPTIONS+= CXX "Also build C++ language" off
-OPTIONS+= FORT "Also build Fortran language" off
-OPTIONS+= OBJC "Also build Objective-C language" off
+OPTIONS_DEFINE= FORT OBJC #CXX
+OPTIONS_DEFAULT=
+CXX_DESC= Also build c++ language
+FORT_DESC= Also build Fortran language
+OBJC_DESC= Also build Objective-C language
DROID_TARGET= arm-android-eabi
DROID_ARCH= armv5te
@@ -60,17 +58,17 @@ ADA_CONFIGURE_ENV= CC=${FULL_GNATGCC}
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
-.if ${ARCH} == "amd64"
-OS_LABEL4VERS= "[FreeBSD64 x Android ${ARMVERSION}]"
+.if ${ARCH:S/amd64/x86_64/} == x86_64
+OS_LABEL4VERS= "[${OPSYS}64 x Android ${ARMVERSION}]"
.else
-OS_LABEL4VERS= "[FreeBSD32 x Android ${ARMVERSION}]"
+OS_LABEL4VERS= "[${OPSYS}32 x Android ${ARMVERSION}]"
.endif
###########
## C++ ##
###########
-.if defined(WITH_CXX)
+.if ${PORT_OPTIONS:MCXX}
LANGS+= c++
APPLY_DIFFS+= cxx cxx-testsuite
DISTFILES+= gcc-g++-${GCC_VERSION}.tar.bz2
@@ -84,7 +82,7 @@ PLIST_SUB+= CXX="@comment "
## Fortran ##
###############
-.if defined(WITH_FORT)
+.if ${PORT_OPTIONS:MFORT}
LANGS+= fortran
APPLY_DIFFS+= fortran
DISTFILES+= gcc-fortran-${GCC_VERSION}.tar.bz2
@@ -97,7 +95,7 @@ PLIST_SUB+= FRT="@comment "
## Objective-C ##
###################
-.if defined(WITH_OBJC)
+.if ${PORT_OPTIONS:MOBJC}
LANGS+= objc
DISTFILES+= gcc-objc-${GCC_VERSION}.tar.bz2
.endif
diff --git a/lang/gnatdroid-armv5/distinfo b/lang/gnatdroid-armv5/distinfo
index da2b7e66ca42..98afe87394ed 100644
--- a/lang/gnatdroid-armv5/distinfo
+++ b/lang/gnatdroid-armv5/distinfo
@@ -1,12 +1,10 @@
-SHA256 (gcc-core-4.6.3.tar.bz2) = 283e00881c0de258fafc5170843e4d9b14ee2a7dc4426f0d426e6be0400251c1
-SIZE (gcc-core-4.6.3.tar.bz2) = 30305971
-SHA256 (gcc-ada-4.6.3.tar.bz2) = 7bb213ec3948646df72720580fcba3489c84aa452bd0e4238712607ef83cbdf6
-SIZE (gcc-ada-4.6.3.tar.bz2) = 6092418
-SHA256 (gcc-g++-4.6.3.tar.bz2) = b3e0c733e900e99096b0c5480f57e22e3e583ec3d83596cc2cb9986bd64b29e8
-SIZE (gcc-g++-4.6.3.tar.bz2) = 6928430
-SHA256 (gcc-fortran-4.6.3.tar.bz2) = fe1bdf3485f33e6d0a998ff7bcb42526fbf3083dbfc107c3d95a88c00739eadb
-SIZE (gcc-fortran-4.6.3.tar.bz2) = 1676490
-SHA256 (gcc-objc-4.6.3.tar.bz2) = 4c193397ce0b8b7b3a6b090078f7228e22999edb14a53480ac709f7f165a4ca3
-SIZE (gcc-objc-4.6.3.tar.bz2) = 342441
-SHA256 (gcc-testsuite-4.6.3.tar.bz2) = a3448d09e5e8ce6baee4080981efc85e6af1621b66a68258dd645c04ae381bed
-SIZE (gcc-testsuite-4.6.3.tar.bz2) = 6354781
+SHA256 (gcc-core-4.6.4.tar.bz2) = 48b566f1288f099dff8fba868499a320f83586245ec69b8c82a9042566a5bf62
+SIZE (gcc-core-4.6.4.tar.bz2) = 30353380
+SHA256 (gcc-ada-4.6.4.tar.bz2) = 2a09bbf942b2557839722d4807e67559123037356f5cb1a3b12f44539968d0ad
+SIZE (gcc-ada-4.6.4.tar.bz2) = 6084085
+SHA256 (gcc-testsuite-4.6.4.tar.bz2) = bfa9a5188dde3332df3eaf1ab0bc2bec11aa5e02146a445c23547c8fbe8d895b
+SIZE (gcc-testsuite-4.6.4.tar.bz2) = 6388458
+SHA256 (gcc-fortran-4.6.4.tar.bz2) = 4f402e0d27995a02354570f0a63047f27463c72c62f1ba3c08ef5a7c6c9c3d1c
+SIZE (gcc-fortran-4.6.4.tar.bz2) = 1679632
+SHA256 (gcc-objc-4.6.4.tar.bz2) = f1f399fedc52d70d91e13211f0ccff56b7183f429d248010a5d7b43fa9bada3d
+SIZE (gcc-objc-4.6.4.tar.bz2) = 346591