Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 00:19:52 +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: r338706 - head/archivers/ruby-lha
Message-ID:  <201401050019.s050Jqq3078366@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan  5 00:19:52 2014
New Revision: 338706
URL: http://svnweb.freebsd.org/changeset/ports/338706

Log:
  Support stage

Modified:
  head/archivers/ruby-lha/Makefile

Modified: head/archivers/ruby-lha/Makefile
==============================================================================
--- head/archivers/ruby-lha/Makefile	Sun Jan  5 00:19:04 2014	(r338705)
+++ head/archivers/ruby-lha/Makefile	Sun Jan  5 00:19:52 2014	(r338706)
@@ -9,12 +9,11 @@ MASTER_SITES=	http://arton.no-ip.info/da
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
 DISTNAME=	lhalib-${PORTVERSION}
 DIST_SUBDIR=	ruby
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	Ruby extension to unpack LHA-compressed files
 
-NO_STAGE=	yes
-USE_ZIP=	yes
 USE_RUBY=	yes
 USE_RUBY_EXTCONF=	yes
 RUBY_EXTCONF=	ext/extconf.rb
@@ -25,10 +24,8 @@ EXAMPLES=	test/test.rb
 RUBY_SHEBANG_FILES=	${EXAMPLES}
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${RUBY_MODEXAMPLESDIR}
-	${INSTALL_SCRIPT} ${EXAMPLES:S,^,${WRKSRC}/,} ${RUBY_MODEXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
+	${INSTALL_SCRIPT} ${EXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
 
 .include <bsd.port.pre.mk>
 .if ${RUBY_VER} == 2.0



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