aboutsummaryrefslogtreecommitdiff
path: root/archivers/ruby-lha
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 00:19:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 00:19:52 +0000
commiteaaf1dbf255159c09a4b05cd13d75efd40f0cd82 (patch)
tree04db7d0920c22f56f3374287cfe148b834430979 /archivers/ruby-lha
parent4f1c1aa65d751079a2dde63d17867a1801eec1c8 (diff)
downloadports-eaaf1dbf255159c09a4b05cd13d75efd40f0cd82.tar.gz
ports-eaaf1dbf255159c09a4b05cd13d75efd40f0cd82.zip
Support stage
Notes
Notes: svn path=/head/; revision=338706
Diffstat (limited to 'archivers/ruby-lha')
-rw-r--r--archivers/ruby-lha/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/archivers/ruby-lha/Makefile b/archivers/ruby-lha/Makefile
index a67e44047dbc..6ad4821527de 100644
--- a/archivers/ruby-lha/Makefile
+++ b/archivers/ruby-lha/Makefile
@@ -9,12 +9,11 @@ MASTER_SITES= http://arton.no-ip.info/data/lhalib/
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