aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2012-08-03 21:02:45 +0800
committerwen <wen@FreeBSD.org>2012-08-03 21:02:45 +0800
commit0086bfc34a49913bbd8369648b5aa864d22234a3 (patch)
tree77d6910e8e677e198389199f7a191da5d33fd5d4
parent071cfcc5afd3290170bbd8cbd9529b1aee093d75 (diff)
downloadfreebsd-ports-gnome-0086bfc34a49913bbd8369648b5aa864d22234a3.tar.gz
freebsd-ports-gnome-0086bfc34a49913bbd8369648b5aa864d22234a3.tar.zst
freebsd-ports-gnome-0086bfc34a49913bbd8369648b5aa864d22234a3.zip
- Update to 3.2.5
- Use the new options framework
-rw-r--r--www/ilias/Makefile19
-rw-r--r--www/ilias/distinfo4
2 files changed, 10 insertions, 13 deletions
diff --git a/www/ilias/Makefile b/www/ilias/Makefile
index d17b905b2319..e6557714b99a 100644
--- a/www/ilias/Makefile
+++ b/www/ilias/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= ilias
-PORTVERSION= 4.2.3
-PORTREVISION= 1
+PORTVERSION= 4.2.5
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/1.%20ILIAS%204.2/ILIAS%20${PORTVERSION}
@@ -37,21 +36,19 @@ PLIST_SUB= ILIASDATADIR=${ILIASDATADIR}
SUB_FILES= pkg-message
SUB_LIST= ILIASDATADIR=${ILIASDATADIR}
-OPTIONS= SCORM2004 "Using SCORM2004 support" off \
- Checker "Link Checker" off \
- Mail "Internet compliant E-Mail addresses" off
+OPTIONS_DEFINE= SCORM2004 Checker Mail Docs
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_SCORM2004)
+.if ${PORT_OPTIONS:MSCORM2004}
USE_PHP+= json
.endif
-.if defined(WITH_Checker)
+.if ${PORT_OPTIONS:MChecker}
RUN_DEPENDS+= ${LOCALBASE}/share/pear/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request
.endif
-.if defined(WITH_Mail)
+.if ${PORT_OPTIONS:MMail}
RUN_DEPENDS+= ${LOCALBASE}/share/pear/Mail.php:${PORTSDIR}/mail/pear-Mail
.endif
@@ -77,10 +74,10 @@ do-install:
>> ${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${PREFIX}/${ILIASDATADIR}' >>${TMPPLIST}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@cd ${WRKDIR}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/ilias/distinfo b/www/ilias/distinfo
index c380017a80f1..8735a8c31d00 100644
--- a/www/ilias/distinfo
+++ b/www/ilias/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ilias-4.2.3.tar.gz) = a32b3f86da22e2168c4132088f2adaeb0256d753409d1ddae8f3bffa781f5e30
-SIZE (ilias-4.2.3.tar.gz) = 94191186
+SHA256 (ilias-4.2.5.tar.gz) = b454d9376f19ab1cf570833c109451d5536bdc5c686b855c44edaee5d820c8fc
+SIZE (ilias-4.2.5.tar.gz) = 94218152