Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2012 09:48:01 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306268 - head/www/helma
Message-ID:  <201210220948.q9M9m1wD082903@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: decke
Date: Mon Oct 22 09:48:01 2012
New Revision: 306268
URL: http://svn.freebsd.org/changeset/ports/306268

Log:
  - Convert to OptionsNG
  - Fix alternate distfile mirror
  - Trim Makefile header
  
  Feature safe:	yes

Modified:
  head/www/helma/Makefile

Modified: head/www/helma/Makefile
==============================================================================
--- head/www/helma/Makefile	Mon Oct 22 09:45:42 2012	(r306267)
+++ head/www/helma/Makefile	Mon Oct 22 09:48:01 2012	(r306268)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210220948.q9M9m1wD082903>