From owner-svn-ports-head@freebsd.org Wed Feb 17 19:12:13 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 5EEA6AAB70C; Wed, 17 Feb 2016 19:12:13 +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 267BE1CAC; Wed, 17 Feb 2016 19:12:13 +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 u1HJCCL7034401; Wed, 17 Feb 2016 19:12:12 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1HJCCQu034400; Wed, 17 Feb 2016 19:12:12 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602171912.u1HJCCQu034400@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 17 Feb 2016 19:12:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409063 - head/textproc/dtd2relax 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.20 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: Wed, 17 Feb 2016 19:12:13 -0000 Author: amdmi3 Date: Wed Feb 17 19:12:11 2016 New Revision: 409063 URL: https://svnweb.freebsd.org/changeset/ports/409063 Log: - Add NO_ARCH - Switch to options helpers Modified: head/textproc/dtd2relax/Makefile Modified: head/textproc/dtd2relax/Makefile ============================================================================== --- head/textproc/dtd2relax/Makefile Wed Feb 17 19:12:06 2016 (r409062) +++ head/textproc/dtd2relax/Makefile Wed Feb 17 19:12:11 2016 (r409063) @@ -16,18 +16,23 @@ COMMENT= DTD to RELAX converter for Java USES= zip USE_JAVA= yes NO_BUILD= yes - -OPTIONS_DEFINE= DOCS EXAMPLES +NO_ARCH= yes JARFILE= ${DISTNAME}-bin-XML4J.jar PLIST_FILES= ${JAVAJARDIR:S/${PREFIX}\///}/dtd2relax.jar PORTDOCS= * PORTEXAMPLES= * +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: ${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}