From owner-svn-ports-all@FreeBSD.ORG Mon Oct 22 09:48:01 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B98CE558; Mon, 22 Oct 2012 09:48:01 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A147C8FC0C; Mon, 22 Oct 2012 09:48:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9M9m14g082906; Mon, 22 Oct 2012 09:48:01 GMT (envelope-from decke@svn.freebsd.org) Received: (from decke@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9M9m1wD082903; Mon, 22 Oct 2012 09:48:01 GMT (envelope-from decke@svn.freebsd.org) Message-Id: <201210220948.q9M9m1wD082903@svn.freebsd.org> From: Bernhard Froehlich Date: Mon, 22 Oct 2012 09:48:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306268 - head/www/helma X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 09:48:01 -0000 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 -# +# Created by: Bernhard Froehlich # $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 -.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