From owner-svn-ports-all@FreeBSD.ORG Wed Nov 20 14:54:31 2013 Return-Path: Delivered-To: svn-ports-all@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 A3289891; Wed, 20 Nov 2013 14:54:31 +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 930C720F1; Wed, 20 Nov 2013 14:54:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAKEsVwi038044; Wed, 20 Nov 2013 14:54:31 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAKEsVoM038043; Wed, 20 Nov 2013 14:54:31 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311201454.rAKEsVoM038043@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Wed, 20 Nov 2013 14:54:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334423 - head/games/ftjava 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.16 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: Wed, 20 Nov 2013 14:54:31 -0000 Author: danilo Date: Wed Nov 20 14:54:31 2013 New Revision: 334423 URL: http://svnweb.freebsd.org/changeset/ports/334423 Log: - Add DOCS option - Add stage support Modified: head/games/ftjava/Makefile Modified: head/games/ftjava/Makefile ============================================================================== --- head/games/ftjava/Makefile Wed Nov 20 14:25:28 2013 (r334422) +++ head/games/ftjava/Makefile Wed Nov 20 14:54:31 2013 (r334423) @@ -29,9 +29,7 @@ DATAFILES= Images IncomingGames Outgoing mailapi.jar png.jar pop3.jar skeetutil.jar smtp.jar xerces.jar \ xercesImpl.jar xmlParserAPIs.jar -.if !defined(NOPORTDOCS) PORTDOCS= FTJava_Linux.html faq.html FTJava_Documentation.html -.endif SUB_FILES= ftjava.sh @@ -40,17 +38,16 @@ DESKTOP_ENTRIES= "FTJava" "A PBEM client "ftjava" "Game;BoardGame;StrategyGame;" \ false -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} ";" - cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";" - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME:L} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} ";" + cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} ";" + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME:L} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${doc} ${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${doc} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include