aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ioncube
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-01-25 23:35:43 +0800
committermarino <marino@FreeBSD.org>2014-01-25 23:35:43 +0800
commitafc50f0d0c17ee22e23694df2a324f9eb64915aa (patch)
tree40d30e307cdcc182b514ab44b5bbc072beb21849 /devel/ioncube
parentd376f0473d34fc74d06ab0026815a222c293a602 (diff)
downloadfreebsd-ports-gnome-afc50f0d0c17ee22e23694df2a324f9eb64915aa.tar.gz
freebsd-ports-gnome-afc50f0d0c17ee22e23694df2a324f9eb64915aa.tar.zst
freebsd-ports-gnome-afc50f0d0c17ee22e23694df2a324f9eb64915aa.zip
devel/ioncube: Update from version 4.5.0 to 4.5.1, support stage
Also: * reword COMMENT to satisfy portlint * Use OPSYS with OSVERSION * Remove ECHO PKGMESSAGE post-install target, redundant PR: ports/185627 Submitted by: John Marshall Approved by: maintainer (Svyatoslav Lempert) Fixed by: marino@
Diffstat (limited to 'devel/ioncube')
-rw-r--r--devel/ioncube/Makefile21
-rw-r--r--devel/ioncube/distinfo16
2 files changed, 16 insertions, 21 deletions
diff --git a/devel/ioncube/Makefile b/devel/ioncube/Makefile
index 06c05d984fb8..74716fc2ae56 100644
--- a/devel/ioncube/Makefile
+++ b/devel/ioncube/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ioncube
-DISTVERSION= 4.5.0
+DISTVERSION= 4.5.1
CATEGORIES= devel
MASTER_SITES= http://downloads3.ioncube.com/loader_downloads/ \
http://dl.ispsystem.info/ioncube/${DISTVERSION}/ \
@@ -10,7 +10,7 @@ MASTER_SITES= http://downloads3.ioncube.com/loader_downloads/ \
DISTNAME= ${PORTNAME}_loaders_fre_${VER}_${ARCH:S,i386,x86,:S,amd64,x86-64,}
MAINTAINER= svyatoslav.lempert@gmail.com
-COMMENT= ionCube loader for PHP code
+COMMENT= Loader for ionCube-encoded PHP files
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
@@ -21,10 +21,9 @@ SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}
DIST_SUBDIR= ${PORTNAME}/${DISTVERSION}
-NO_STAGE= yes
-
.include <bsd.port.pre.mk>
+.if ${OPSYS} == FreeBSD
# FreeBSD 10 is unsupported
.if ${OSVERSION} >= 1000000
IGNORE= is unsupported on FreeBSD 10
@@ -35,21 +34,17 @@ VER= 8
.if ${OSVERSION} >= 900000
VER= 9
.endif
-
-.if empty(PHP_VERSION)
-PHP_VERSION!= ${MAKE} -C ${PORTSDIR}/${PHP_PORT} -V PORTVERSION
+.else
+IGNORE= is unsupported on ${OPSYS}
.endif
PHP_INSTVER= ${PHP_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
do-install:
- @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/
${INSTALL_DATA} ${WRKSRC}/ioncube_loader_fre_${PHP_INSTVER}.so \
- ${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader.so
+ ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader.so
${INSTALL_DATA} ${WRKSRC}/ioncube_loader_fre_${PHP_INSTVER}_ts.so \
- ${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader_ts.so
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader_ts.so
.include <bsd.port.post.mk>
diff --git a/devel/ioncube/distinfo b/devel/ioncube/distinfo
index 2e8101dde79d..8a2731acafb3 100644
--- a/devel/ioncube/distinfo
+++ b/devel/ioncube/distinfo
@@ -1,8 +1,8 @@
-SHA256 (ioncube/4.5.0/ioncube_loaders_fre_8_x86-64.tar.bz2) = 00a4dbd78b2912a9f0614c4efb3171ab5514ad850a8409bb17ce3e7d0dbb870e
-SIZE (ioncube/4.5.0/ioncube_loaders_fre_8_x86-64.tar.bz2) = 4286047
-SHA256 (ioncube/4.5.0/ioncube_loaders_fre_8_x86.tar.bz2) = c7d71b7e2ceaec6e55d4903e7260955b1fd20028bbff2f86cd4f3d73662375bd
-SIZE (ioncube/4.5.0/ioncube_loaders_fre_8_x86.tar.bz2) = 4163909
-SHA256 (ioncube/4.5.0/ioncube_loaders_fre_9_x86-64.tar.bz2) = f5a89b020fdf5162c14526ea0ca795c056615b9d048579cf17fa270d04d1bb58
-SIZE (ioncube/4.5.0/ioncube_loaders_fre_9_x86-64.tar.bz2) = 4403538
-SHA256 (ioncube/4.5.0/ioncube_loaders_fre_9_x86.tar.bz2) = 8ee59169ad36175092dbcfb49af7ac9da604b0a79f645f3476f67e8a6f08366e
-SIZE (ioncube/4.5.0/ioncube_loaders_fre_9_x86.tar.bz2) = 4144589
+SHA256 (ioncube/4.5.1/ioncube_loaders_fre_8_x86-64.tar.bz2) = 215b583a10a1caf1d3b5838e3536803f6937ec458d541b0970250fcc1c844d53
+SIZE (ioncube/4.5.1/ioncube_loaders_fre_8_x86-64.tar.bz2) = 4351370
+SHA256 (ioncube/4.5.1/ioncube_loaders_fre_8_x86.tar.bz2) = 15d7fbcb10091c8dbff16938201a2ae6cc77857391ce7852862b0e7b2442e8bc
+SIZE (ioncube/4.5.1/ioncube_loaders_fre_8_x86.tar.bz2) = 4125316
+SHA256 (ioncube/4.5.1/ioncube_loaders_fre_9_x86-64.tar.bz2) = 2990bfd08f247ecf0dfaf9cbfd584a558a2aaad30a013473b14954686eb1055b
+SIZE (ioncube/4.5.1/ioncube_loaders_fre_9_x86-64.tar.bz2) = 4528536
+SHA256 (ioncube/4.5.1/ioncube_loaders_fre_9_x86.tar.bz2) = f9415dda250af994929c7eefaea721d9b40f911c0fbff256b267c177f5527258
+SIZE (ioncube/4.5.1/ioncube_loaders_fre_9_x86.tar.bz2) = 4126011