aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2012-01-03 10:32:28 +0800
committertota <tota@FreeBSD.org>2012-01-03 10:32:28 +0800
commit8f6ee23d544b9355b84f39134c5e3f6ecc6cbaa5 (patch)
tree2b917e53e6522dc76d14879549a0cd70d55b1ed9
parentb3f467850a2fd3ec3ff6e1d33853f4062d9ebb03 (diff)
downloadfreebsd-ports-gnome-8f6ee23d544b9355b84f39134c5e3f6ecc6cbaa5.tar.gz
freebsd-ports-gnome-8f6ee23d544b9355b84f39134c5e3f6ecc6cbaa5.tar.zst
freebsd-ports-gnome-8f6ee23d544b9355b84f39134c5e3f6ecc6cbaa5.zip
- Update to 4.0.12
PR: ports/163764 Submitted by: Takefu <takefu_AT_airport_DOT_fm> Approved by: Svyatoslav Lempert (maintainer)
-rw-r--r--devel/ioncube/Makefile26
-rw-r--r--devel/ioncube/distinfo16
2 files changed, 13 insertions, 29 deletions
diff --git a/devel/ioncube/Makefile b/devel/ioncube/Makefile
index a0b08ed1454d..389f88f5f72a 100644
--- a/devel/ioncube/Makefile
+++ b/devel/ioncube/Makefile
@@ -6,17 +6,18 @@
#
PORTNAME= ioncube
-DISTVERSION= 4.0.11
+DISTVERSION= 4.0.12
CATEGORIES= devel
MASTER_SITES= http://downloads2.ioncube.com/loader_downloads/ \
- http://ls.fvds.ru/ioncube/4.0.11/
-DISTNAME= ${PORTNAME}_loaders_fre_${VER}_${ARCH_DIST}
+ http://ls.fvds.ru/ioncube/${DISTVERSION}/
+DISTNAME= ${PORTNAME}_loaders_fre_${VER}_${ARCH:S,i386,x86,:S,amd64,x86-64,}
MAINTAINER= svyatoslav.lempert@gmail.com
COMMENT= An ionCube loader for PHP code
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
+USE_BZIP2= yes
USE_PHP= yes
USE_DOS2UNIX= LICENSE.txt README.txt loader-wizard.php
@@ -32,24 +33,7 @@ VER= 8
VER= 7
.endif
-# Detect OS Architecture
-.if ${ARCH} == amd64
-ARCH_DIST= x86-64
-.else
-ARCH_DIST= x86
-.endif
-
-# Detect PHP version
-.if ${PHP_VER} == 4
-PHP_INSTVER= 4.4
-.endif
-.if ${PHP_VER} == 5
-PHP_INSTVER= 5.3
-.endif
-# If you have old lang/php52
-.if ${PHP_VER} == 52
-PHP_INSTVER= 5.2
-.endif
+PHP_INSTVER= ${PHP_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
do-install:
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/
diff --git a/devel/ioncube/distinfo b/devel/ioncube/distinfo
index ed4c8bd4aee1..4704f6328781 100644
--- a/devel/ioncube/distinfo
+++ b/devel/ioncube/distinfo
@@ -1,8 +1,8 @@
-SIZE (ioncube_loaders_fre_7_x86-64.tar.gz) = 3158811
-SIZE (ioncube_loaders_fre_7_x86.tar.gz) = 2896976
-SIZE (ioncube_loaders_fre_8_x86-64.tar.gz) = 3159699
-SIZE (ioncube_loaders_fre_8_x86.tar.gz) = 2896869
-SHA256 (ioncube_loaders_fre_7_x86-64.tar.gz) = 2f7f1072da027e7bdbd2b9bd567c405bf24e3944563e8fd16c300acddaf6f11b
-SHA256 (ioncube_loaders_fre_7_x86.tar.gz) = 8aac8611c19afccbab32eb6872ee7d7500322819be3cc44dc6fd0d82fd66dfdc
-SHA256 (ioncube_loaders_fre_8_x86-64.tar.gz) = 5d912187de4eb73a04f767da93ed0ed84a701e50dc3045d773a3f6b5c0491460
-SHA256 (ioncube_loaders_fre_8_x86.tar.gz) = a09b89c8cc0d548115edb10d5a8f55691b4eba52a71fefa61faa275f742c84a5
+SHA256 (ioncube_loaders_fre_7_x86.tar.bz2) = d59727010334d63acf82c4856415a21a91c57572bfc39536d7f5f0b3b5b3f58c
+SIZE (ioncube_loaders_fre_7_x86.tar.bz2) = 2619578
+SHA256 (ioncube_loaders_fre_7_x86-64.tar.bz2) = 4f1ef063503e6ba1d6bd403b0ae34be6f00dff21df46f0a29cee15363990a33c
+SIZE (ioncube_loaders_fre_7_x86-64.tar.bz2) = 2778300
+SHA256 (ioncube_loaders_fre_8_x86.tar.bz2) = 3a4dffad4f0c01be25573167e1758d4dd6a924f215c40510c4d2a71ec61423db
+SIZE (ioncube_loaders_fre_8_x86.tar.bz2) = 2618127
+SHA256 (ioncube_loaders_fre_8_x86-64.tar.bz2) = 67d5f331acb4d30bcb2363a046ebc4d703ee03ea97bacd7c224eebbe5a9e37af
+SIZE (ioncube_loaders_fre_8_x86-64.tar.bz2) = 2778284