aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/phpmyid/Makefile12
-rw-r--r--security/phpmyid/distinfo6
2 files changed, 13 insertions, 5 deletions
diff --git a/security/phpmyid/Makefile b/security/phpmyid/Makefile
index 40eeb9972cae..70aaff15ac70 100644
--- a/security/phpmyid/Makefile
+++ b/security/phpmyid/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= phpMyID
-PORTVERSION= 0.8
+PORTVERSION= 0.9
CATEGORIES= security www
MASTER_SITES= http://siege.org/projects/phpMyID/
EXTRACT_SUFX= .tgz
@@ -17,8 +17,16 @@ COMMENT= A single user Identity Provider for the OpenID framework
NO_BUILD= yes
USE_PHP= session
+OPTIONS= BCMATH "Big math using bcmath lib (recommended by author)" on
+
do-install:
${MKDIR} ${PREFIX}/www/${PORTNAME}
${CP} -R ${WRKSRC}/ ${PREFIX}/www/${PORTNAME}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_BCMATH)
+USE_PHP+= bcmath
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/phpmyid/distinfo b/security/phpmyid/distinfo
index 9c0ede24fe91..de38f7a93817 100644
--- a/security/phpmyid/distinfo
+++ b/security/phpmyid/distinfo
@@ -1,3 +1,3 @@
-MD5 (phpMyID-0.8.tgz) = 557db8fde577fae8bd40db5b0b677fea
-SHA256 (phpMyID-0.8.tgz) = 34f9bf61df45824d69600cf4a118e629ca55e8d1e0a71ce848545e03f72bb759
-SIZE (phpMyID-0.8.tgz) = 29463
+MD5 (phpMyID-0.9.tgz) = fa6ee681e71cf424e02be453393be346
+SHA256 (phpMyID-0.9.tgz) = 65ea3bdd0e573060fbdc062e8e59d942ba2d0bdea9ca656a98ffa08bc001e8ef
+SIZE (phpMyID-0.9.tgz) = 30756