From owner-svn-ports-all@FreeBSD.ORG Thu Dec 6 18:20:45 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 018ADBE1; Thu, 6 Dec 2012 18:20:45 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D96A08FC0C; Thu, 6 Dec 2012 18:20:44 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB6IKifG008033; Thu, 6 Dec 2012 18:20:44 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB6IKiDe008032; Thu, 6 Dec 2012 18:20:44 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201212061820.qB6IKiDe008032@svn.freebsd.org> From: Jason Helfman Date: Thu, 6 Dec 2012 18:20:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308395 - in head/databases/jasperserver: . files 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: Thu, 06 Dec 2012 18:20:45 -0000 Author: jgh Date: Thu Dec 6 18:20:44 2012 New Revision: 308395 URL: http://svnweb.freebsd.org/changeset/ports/308395 Log: - fix leftover of mysql for backend (spotted by tj@) - while here drop non-default tomcat5 as a dependency (eol coming soon) as well as non-default alternative xls patch - trim historical header Feature safe: yes Deleted: head/databases/jasperserver/files/alt-patch-jasperserver__common__shared-config__applicationContext.xml head/databases/jasperserver/files/alt-patch-jasperserver__jasperserver-war__src__main__webappAdditions__WEB-INF__classes__jasperreports.properties Modified: head/databases/jasperserver/Makefile Modified: head/databases/jasperserver/Makefile ============================================================================== --- head/databases/jasperserver/Makefile Thu Dec 6 17:46:10 2012 (r308394) +++ head/databases/jasperserver/Makefile Thu Dec 6 18:20:44 2012 (r308395) @@ -1,9 +1,5 @@ -# New ports collection makefile for: jasperserver -# Date created: 27 August 2010 -# Whom: Jason Helfman -# +# Created by: Jason Helfman # $FreeBSD$ -# PORTNAME= jasperserver PORTVERSION= 4.7.0 @@ -41,10 +37,8 @@ USE_ZIP= yes # use own DOS2UNIX in pre-patch, not the one from bsd.port.mk! DOS2UNIX_REGEX= .*(css|dtd|java|js|txt|wsdd|xml|xsl)$$ -OPTIONS_DEFINE= XLS -XLS_DESC= Alternative Patches for XLS Spreadsheets OPTIONS_SINGLE= AS DB -OPTIONS_SINGLE_AS= TOMCAT5 TOMCAT6 TOMCAT7 +OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7 OPTIONS_SINGLE_DB= MYSQL PGSQL OPTIONS_DEFAULT= TOMCAT6 PGSQL @@ -95,15 +89,6 @@ PLIST_SUB+= JDBC=${JDBC} MASTER_SITES+= http://jdbc.postgresql.org/download/:source2 .endif -.if ${PORT_OPTIONS:MTOMCAT5} -APPHOME?= ${LOCALBASE}/tomcat5.5 -BUILD_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55 -RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55 -APPTYPE= tomcat5 -PLIST_SUB+= APP_VERSION="tomcat5.5" -JDBCLOC= common/lib -.endif - .if ${PORT_OPTIONS:MTOMCAT6} APPHOME?= ${LOCALBASE}/apache-tomcat-6.0 BUILD_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6 @@ -164,12 +149,6 @@ post-patch: .endfor @${REINPLACE_CMD} -e 's|--DROP|-- DROP|' ${SQLSRC}/mysql/quartz.ddl -.if ${PORT_OPTIONS:MXLS} - @${ECHO} "Applying alternative patches for Xls." - @cd ${PATCH_WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/alt-patch-jasperserver__common__shared-config__applicationContext.xml - @cd ${PATCH_WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/alt-patch-jasperserver__jasperserver-war__src__main__webappAdditions__WEB-INF__classes__jasperreports.properties -.endif - post-patch-script: @${ECHO_MSG} -n ">> Removing unneeded patched files..." @${FIND} ${WRKDIR} -type f \( -name '*.orig' \) -delete @@ -243,6 +222,7 @@ do-install: ${INSTALL_DATA} ${DISTDIR}/${JDBC} ${APPHOME}/${JDBCLOC} @${RM} ${APPHOME}/${JDBCLOC}/postgresql-9.0-801.jdbc4.jar .else + @${RM} ${APPHOME}/${JDBCLOC}/mysql-connector-java-5.1.17-bin.jar ${LN} -s ${JAVAJARDIR}/mysql-connector-java.jar ${APPHOME}/${JDBCLOC} .endif