Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 10:34:32 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340592 - head/textproc/jing
Message-ID:  <201401211034.s0LAYWdP010091@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Jan 21 10:34:32 2014
New Revision: 340592
URL: http://svnweb.freebsd.org/changeset/ports/340592
QAT: https://qat.redports.org/buildarchive/r340592/

Log:
  Convert to staging.
  
  Sponsored by:	Absolight

Deleted:
  head/textproc/jing/pkg-plist
Modified:
  head/textproc/jing/Makefile

Modified: head/textproc/jing/Makefile
==============================================================================
--- head/textproc/jing/Makefile	Tue Jan 21 10:33:24 2014	(r340591)
+++ head/textproc/jing/Makefile	Tue Jan 21 10:34:32 2014	(r340592)
@@ -10,30 +10,29 @@ DISTNAME=	${PORTNAME}-${PORTVERSION:S/./
 MAINTAINER=	gabor@FreeBSD.org
 COMMENT=	A RELAX NG validator in Java
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${FILESDIR}/doc/copying.html
+
 USE_ZIP=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 PORTDOCS=	*
-.endif
+PORTEXAMPLES=	*
 
 SUB_FILES=	jing.sh
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/jing %%JAVAJARDIR%%/jing.jar
+
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/jing.sh ${PREFIX}/bin/jing
-	${INSTALL_DATA} ${WRKSRC}/bin/jing.jar ${JAVAJARDIR}
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
-	cd ${WRKSRC}/doc \
-	  && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
-	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
-	cd ${WRKSRC}/sample \
-	  && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
-	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
-.endif
+	${INSTALL_SCRIPT} ${WRKDIR}/jing.sh ${STAGEDIR}${PREFIX}/bin/jing
+	${INSTALL_DATA} ${WRKSRC}/bin/jing.jar ${STAGEDIR}${JAVAJARDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+	(cd ${WRKSRC}/sample && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>



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