Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2016 19:12:12 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409063 - head/textproc/dtd2relax
Message-ID:  <201602171912.u1HJCCQu034400@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602171912.u1HJCCQu034400>