From owner-svn-ports-head@freebsd.org Tue May 10 21:30:48 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9515FB35460; Tue, 10 May 2016 21:30:48 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CCF61716; Tue, 10 May 2016 21:30:48 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4ALUlOQ078923; Tue, 10 May 2016 21:30:47 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4ALUljC078922; Tue, 10 May 2016 21:30:47 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201605102130.u4ALUljC078922@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 10 May 2016 21:30:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414966 - head/textproc/xincluder 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.22 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: Tue, 10 May 2016 21:30:48 -0000 Author: amdmi3 Date: Tue May 10 21:30:47 2016 New Revision: 414966 URL: https://svnweb.freebsd.org/changeset/ports/414966 Log: - Add LICENSE - Add NO_ARCH - Switch to options helpers Modified: head/textproc/xincluder/Makefile Modified: head/textproc/xincluder/Makefile ============================================================================== --- head/textproc/xincluder/Makefile Tue May 10 21:30:42 2016 (r414965) +++ head/textproc/xincluder/Makefile Tue May 10 21:30:47 2016 (r414966) @@ -11,39 +11,35 @@ DISTNAME= ${PORTNAME}-1.0d11 MAINTAINER= ports@FreeBSD.org COMMENT= Java-based XInclude processors +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/lgpl.txt + RUN_DEPENDS= ${JAVALIBDIR}/jdom.jar:java/jdom \ ${JAVALIBDIR}/xercesImpl.jar:textproc/xerces-j USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes +NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME} -OPTIONS_DEFINE= DOCS - SUFFIXES= -sax -dom -jdom PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar bin/xincluder ${SUFFIXES:S,^,bin/xincluder,} PORTDOCS= apidoc index.html SUB_FILES= xincluder.sh +OPTIONS_DEFINE= DOCS + do-install: - @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/ - @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing scripts in ${PREFIX}/bin..." - @${ECHO_MSG} -n " xincluder" ${INSTALL_SCRIPT} ${WRKDIR}/xincluder.sh ${STAGEDIR}${PREFIX}/bin/xincluder .for suffix in ${SUFFIXES} - @${ECHO_MSG} -n " xincluder${suffix}" ${LN} -s xincluder ${STAGEDIR}${PREFIX}/bin/xincluder${suffix} .endfor - @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - cd ${WRKSRC} \ - && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ - && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; - @${ECHO_MSG} " [ DONE ]" + +do-install-DOCS-on: + @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include