aboutsummaryrefslogtreecommitdiff
path: root/devel/ioncube/Makefile
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-07-28 07:45:28 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-07-28 07:45:28 +0000
commitde7d91543c90bdfda730949fdf14d633a488f6fc (patch)
tree081666c2fb154ceb4952538220752e781120a955 /devel/ioncube/Makefile
parentebadaab04790091d6a1ed784bcedf4261bf5ec6b (diff)
downloadports-de7d91543c90bdfda730949fdf14d633a488f6fc.tar.gz
ports-de7d91543c90bdfda730949fdf14d633a488f6fc.zip
Notes
Diffstat (limited to 'devel/ioncube/Makefile')
-rw-r--r--devel/ioncube/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/ioncube/Makefile b/devel/ioncube/Makefile
index 74017ddf6103..0f6851e0894d 100644
--- a/devel/ioncube/Makefile
+++ b/devel/ioncube/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= ioncube
-DISTVERSION= 4.2.1
+DISTVERSION= 4.2.2
CATEGORIES= devel
MASTER_SITES= http://downloads2.ioncube.com/loader_downloads/ \
- http://ls.fvds.ru/ioncube/${DISTVERSION}/
+ http://dl.ispsystem.info/ioncube/${DISTVERSION}/
DISTNAME= ${PORTNAME}_loaders_fre_${VER}_${ARCH:S,i386,x86,:S,amd64,x86-64,}
MAINTAINER= svyatoslav.lempert@gmail.com
@@ -22,14 +22,17 @@ USE_PHP= yes
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}
+DIST_SUBDIR= ${PORTNAME}/${DISTVERSION}
.include <bsd.port.pre.mk>
# Detect OS Version
+VER= 7
.if ${OSVERSION} >= 800000
-VER= 8
-.else
-VER= 7
+VER= 8
+.endif
+.if ${OSVERSION} >= 900000
+VER= 9
.endif
PHP_INSTVER= ${PHP_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}