Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 09:05:40 +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: r340586 - head/devel/tinylaf
Message-ID:  <201401210905.s0L95erZ074859@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jan 21 09:05:40 2014
New Revision: 340586
URL: http://svnweb.freebsd.org/changeset/ports/340586
QAT: https://qat.redports.org/buildarchive/r340586/

Log:
  Support stage

Modified:
  head/devel/tinylaf/Makefile

Modified: head/devel/tinylaf/Makefile
==============================================================================
--- head/devel/tinylaf/Makefile	Tue Jan 21 09:02:38 2014	(r340585)
+++ head/devel/tinylaf/Makefile	Tue Jan 21 09:05:40 2014	(r340586)
@@ -6,11 +6,13 @@ PORTVERSION=	1.4.0
 CATEGORIES=	devel java
 MASTER_SITES=	http://www.muntjak.de/hans/java/tinylaf/
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/./_/g}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ayu@commun.jp
-COMMENT=	A pluggable Look and Feel for Java
+COMMENT=	Pluggable Look and Feel for Java
+
+OPTIONS_DEFINE=	DOCS
 
-USE_ZIP=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
@@ -19,15 +21,11 @@ JARFILE=	${PORTNAME}.jar tinycp.jar
 PORTDOCS=	readme.html gpl.txt lgpl.txt
 PLIST_FILES=	${JARFILE:S|^|%%JAVAJARDIR%%/|}
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_DATA} ${JARFILE:S|^|${WRKSRC}/|} ${JAVAJARDIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${JARFILE:S|^|${WRKSRC}/|} ${STAGEDIR}${JAVAJARDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in readme.html license/gpl.txt license/lgpl.txt
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
 
 .include <bsd.port.mk>



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