From owner-svn-ports-head@FreeBSD.ORG Sun Feb 16 12:30:16 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C17E9796; Sun, 16 Feb 2014 12:30:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ADDCE1907; Sun, 16 Feb 2014 12:30:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1GCUG5T015523; Sun, 16 Feb 2014 12:30:16 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1GCUGS4015522; Sun, 16 Feb 2014 12:30:16 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201402161230.s1GCUGS4015522@svn.freebsd.org> From: Antoine Brodin Date: Sun, 16 Feb 2014 12:30:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344553 - head/java/cos X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2014 12:30:16 -0000 Author: antoine Date: Sun Feb 16 12:30:16 2014 New Revision: 344553 URL: http://svnweb.freebsd.org/changeset/ports/344553 QAT: https://qat.redports.org/buildarchive/r344553/ Log: - Stage support - Remove infozip dependency Modified: head/java/cos/Makefile Modified: head/java/cos/Makefile ============================================================================== --- head/java/cos/Makefile Sun Feb 16 12:28:31 2014 (r344552) +++ head/java/cos/Makefile Sun Feb 16 12:30:16 2014 (r344553) @@ -9,11 +9,11 @@ CATEGORIES= java devel MASTER_SITES= http://www.servlets.com/cos/ \ http://www.oreilly.com.tw/bookcode/ DISTNAME= ${PORTNAME}-05Nov2002 +EXTRACT_SUFX= .zip MAINTAINER= java@FreeBSD.org -COMMENT= The O\'Reilly package of utility classes for servlet developers +COMMENT= The O'Reilly package of utility classes for servlet developers -USE_ZIP= yes NO_WRKSUBDIR= yes USE_JAVA= yes NO_BUILD= yes @@ -21,12 +21,9 @@ RESTRICTED= Special conditions apply for DATAFILES= readme.txt license.txt doc DATADIR= ${JAVASHAREDIR}/${PORTNAME} -NO_STAGE= yes do-install: - @${INSTALL_DATA} ${WRKSRC}/lib/cos.jar ${JAVAJARDIR}/ - @cd ${WRKSRC} \ - && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \ - && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; - @${INSTALL_DATA} ${WRKSRC}/upload.war ${DATADIR}/doc + @${INSTALL_DATA} ${WRKSRC}/lib/cos.jar ${STAGEDIR}${JAVAJARDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATAFILES}" ${STAGEDIR}${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/upload.war ${STAGEDIR}${DATADIR}/doc .include