Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 23:15:23 +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: r343173 - head/devel/svnkit
Message-ID:  <201402062315.s16NFNtg080990@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Feb  6 23:15:23 2014
New Revision: 343173
URL: http://svnweb.freebsd.org/changeset/ports/343173
QAT: https://qat.redports.org/buildarchive/r343173/

Log:
  Support stage
  Use bsdtar to extract distfile

Modified:
  head/devel/svnkit/Makefile

Modified: head/devel/svnkit/Makefile
==============================================================================
--- head/devel/svnkit/Makefile	Thu Feb  6 23:11:58 2014	(r343172)
+++ head/devel/svnkit/Makefile	Thu Feb  6 23:15:23 2014	(r343173)
@@ -6,14 +6,16 @@ PORTVERSION=	1.3.0
 CATEGORIES=	devel java
 MASTER_SITES=	http://svnkit.com/
 DISTNAME=	org.tmatesoft.svn_${PORTVERSION}.standalone
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	The only pure Java Subversion client library in the world
 
 RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper
 
+OPTIONS_DEFINE=	DOCS
+
 NO_BUILD=	yes
-USE_ZIP=	yes
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 DATADIR=	${JAVASHAREDIR}/${PORTNAME}
@@ -33,29 +35,22 @@ PLIST_FILES=	bin/jsvn bin/jsvnadmin bin/
 PLIST_DIRS=	%%DATADIR%%
 
 SUB_FILES=	javasvn.sh svnsync.sh jsvnadmin.sh jsvnlook.sh jsvnversion.sh jsvndumpfilter.sh
-
-.if !defined(NOPORTDOCS)
 PORTDOCS=	*
-.endif
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for file in ${DATA_FILES}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DATADIR}
 .endfor
-	${INSTALL_SCRIPT} ${WRKDIR}/javasvn.sh ${PREFIX}/bin/jsvn
-	${INSTALL_SCRIPT} ${WRKDIR}/svnsync.sh ${PREFIX}/bin/jsvnsync
-	${INSTALL_SCRIPT} ${WRKDIR}/jsvnadmin.sh ${PREFIX}/bin/jsvnadmin
-	${INSTALL_SCRIPT} ${WRKDIR}/jsvnlook.sh ${PREFIX}/bin/jsvnlook
-	${INSTALL_SCRIPT} ${WRKDIR}/jsvnversion.sh ${PREFIX}/bin/jsvnversion
-	${INSTALL_SCRIPT} ${WRKDIR}/jsvndumpfilter.sh ${PREFIX}/bin/jsvndumpfilter
-
-.if !defined(NOPORTDOCS)
+	${INSTALL_SCRIPT} ${WRKDIR}/javasvn.sh ${STAGEDIR}${PREFIX}/bin/jsvn
+	${INSTALL_SCRIPT} ${WRKDIR}/svnsync.sh ${STAGEDIR}${PREFIX}/bin/jsvnsync
+	${INSTALL_SCRIPT} ${WRKDIR}/jsvnadmin.sh ${STAGEDIR}${PREFIX}/bin/jsvnadmin
+	${INSTALL_SCRIPT} ${WRKDIR}/jsvnlook.sh ${STAGEDIR}${PREFIX}/bin/jsvnlook
+	${INSTALL_SCRIPT} ${WRKDIR}/jsvnversion.sh ${STAGEDIR}${PREFIX}/bin/jsvnversion
+	${INSTALL_SCRIPT} ${WRKDIR}/jsvndumpfilter.sh ${STAGEDIR}${PREFIX}/bin/jsvndumpfilter
 	cd ${WRKSRC}/doc/javadoc && \
-		${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
+		${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
 	cd ${WRKSRC}/doc/javadoc && \
-		${FIND} . -not -type d -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
-.endif
+		${FIND} . -not -type d -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
 
 .include <bsd.port.mk>



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