Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 23:57:14 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340501 - head/devel/flexjson
Message-ID:  <201401202357.s0KNvEwk053330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 20 23:57:14 2014
New Revision: 340501
URL: http://svnweb.freebsd.org/changeset/ports/340501
QAT: https://qat.redports.org/buildarchive/r340501/

Log:
  Support stage

Modified:
  head/devel/flexjson/Makefile

Modified: head/devel/flexjson/Makefile
==============================================================================
--- head/devel/flexjson/Makefile	Mon Jan 20 23:54:28 2014	(r340500)
+++ head/devel/flexjson/Makefile	Mon Jan 20 23:57:14 2014	(r340501)
@@ -7,36 +7,28 @@ PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/Flexjson%201.0
 DISTNAME=	${PORTNAME}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A lightweight Java library to write JSON
+COMMENT=	Lightweight Java library to write JSON
 
+OPTIONS_DEFINE=	DOCS
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
-USE_ZIP=	yes
 
 PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar
 
-.if !defined(NOPORTDOCS)
 PORTDOCS=	LICENSE-2.0.txt docs
-.endif
 
-NO_STAGE=	yes
 do-install:
-	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
-	@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar \
-		${JAVAJARDIR}/${PORTNAME}.jar
-
-	@${ECHO_MSG} " [DONE]"
-.if !defined(NOPORTDOCS)
-	@${ECHO_MSG} -n ">> Installing documentation..."
-	@${MKDIR} ${DOCSDIR}/docs/
+	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar \
+		${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/docs/
 	@cd ${WRKDIR}/docs \
-	  && ${INSTALL_DATA} example_object_model.jpg ${DOCSDIR}/docs/. \
-	  && ${INSTALL_DATA} index.html ${DOCSDIR}/docs/.
-	@${INSTALL_DATA} ${WRKDIR}/LICENSE-2.0.txt ${DOCSDIR}/
-	@${ECHO_MSG} " [DONE]"
-.endif
+	  && ${INSTALL_DATA} example_object_model.jpg ${STAGEDIR}${DOCSDIR}/docs/. \
+	  && ${INSTALL_DATA} index.html ${STAGEDIR}${DOCSDIR}/docs/.
+	@${INSTALL_DATA} ${WRKDIR}/LICENSE-2.0.txt ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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