aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2012-10-22 17:48:01 +0800
committerdecke <decke@FreeBSD.org>2012-10-22 17:48:01 +0800
commitb44c194f373b5b11ccbacd16c84d8bb23155ff31 (patch)
tree142f33f69758555409f674f73793aa9adc4cc753 /www
parent64718b4a0dc40771f4f3f48b933fad7a8e6679bd (diff)
downloadfreebsd-ports-gnome-b44c194f373b5b11ccbacd16c84d8bb23155ff31.tar.gz
freebsd-ports-gnome-b44c194f373b5b11ccbacd16c84d8bb23155ff31.tar.zst
freebsd-ports-gnome-b44c194f373b5b11ccbacd16c84d8bb23155ff31.zip
- Convert to OptionsNG
- Fix alternate distfile mirror - Trim Makefile header Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r--www/helma/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/helma/Makefile b/www/helma/Makefile
index 3949c85f3241..c2958c00686b 100644
--- a/www/helma/Makefile
+++ b/www/helma/Makefile
@@ -1,15 +1,11 @@
-# New ports collection makefile for: helma
-# Date created: 2008-06-22
-# Whom: Bernhard Froehlich <decke@bluelife.at>
-#
+# Created by: Bernhard Froehlich <decke@bluelife.at>
# $FreeBSD$
-#
PORTNAME= helma
PORTVERSION= 1.7.0
CATEGORIES= www java
MASTER_SITES= http://adele.helma.org/download/helma/${PORTVERSION}/ \
- http://home.bluelife.at/ports/distfiles/helma/${PORTVERSION}/
+ LOCAL/decke
DISTFILES= helma-${PORTVERSION}.tar.gz helma-${PORTVERSION}-src.tar.gz
MAINTAINER= decke@FreeBSD.org
@@ -36,11 +32,12 @@ PLIST_SUB= DBDIR="${DBDIR}" \
HELMA_USER="${HELMA_USER}" \
HELMA_GROUP="${HELMA_GROUP}"
-OPTIONS= MYSQL "Install MySQL Connector for Java" off
+OPTIONS_DEFINE= MYSQL
+OPTIONS_DESC= "Install MySQL Connector for Java"
.include <bsd.port.pre.mk>
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+= ${JAVALIBDIR}/mysql-connector-java.jar:${PORTSDIR}/databases/mysql-connector-java
PLIST_SUB+= MYSQL=""
.else
@@ -112,7 +109,7 @@ do-install:
(cd ${WRKBASE}/modules/jala/docs && ${COPYTREE_SHARE} \* ${DOCSDIR}/docs/api/jala)
.endif
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
${LN} -sf ${JAVALIBDIR}/mysql-connector-java.jar ${DATADIR}/lib/ext/mysql-connector-java.jar
.endif