Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 00:43:30 +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: r340772 - head/devel/looks
Message-ID:  <201401230043.s0N0hUpO050739@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jan 23 00:43:29 2014
New Revision: 340772
URL: http://svnweb.freebsd.org/changeset/ports/340772
QAT: https://qat.redports.org/buildarchive/r340772/

Log:
  Support stage

Modified:
  head/devel/looks/Makefile

Modified: head/devel/looks/Makefile
==============================================================================
--- head/devel/looks/Makefile	Thu Jan 23 00:41:11 2014	(r340771)
+++ head/devel/looks/Makefile	Thu Jan 23 00:43:29 2014	(r340772)
@@ -7,13 +7,15 @@ PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	http://www.jgoodies.com/download/libraries/${PORTNAME}/
 DISTNAME=	jgoodies-${PORTNAME}-${PORTVERSION:S|.|_|g}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	JGoodies Looks improve the appearance of your Java applications
 
-LICENSE=	BSD
+OPTIONS_DEFINE=	DOCS
+
+LICENSE=	BSD3CLAUSE
 
-USE_ZIP=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
@@ -27,17 +29,11 @@ PLIST_FILES=	%%JAVAJARDIR%%/${JARFILE} \
 DOCFILES=	README.html RELEASE-NOTES.txt
 PORTDOCS=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}
-	${LN} -s ${JAVAJARDIR}/${JARFILE} ${JAVAJARDIR}/looks.jar
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${DOCSDIR}
-	@(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
-	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
+	${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
+	${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/looks.jar
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	@(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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