freebsd-ports/archivers/ruby-lha/Makefile
John Marino 9951638e48 2 more ports: convert to USES+= zip
USES=zip is currently desired when all distfiles are zip archives, unless
the after-extraction arguments are tailored for ${TAR}.  Currently
USES=zip is incompatible with multiple distfiles of different formats,
but this is being worked on.

Approved by:	general infrastructure blanket
2014-05-29 20:18:17 +00:00

34 lines
794 B
Makefile

# Created by: Stanislav Sedov <stas@FreeBSD.org>
# $FreeBSD$
PORTNAME= lha
PORTVERSION= 0.8.1
PORTREVISION= 1
CATEGORIES= archivers ruby
MASTER_SITES= http://arton.no-ip.info/data/lhalib/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= lhalib-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby extension to unpack LHA-compressed files
USES= zip
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
RUBY_EXTCONF= ext/extconf.rb
CONFIGURE_ARGS= --rubyprog=${RUBY}
EXAMPLES= test/test.rb
RUBY_SHEBANG_FILES= ${EXAMPLES}
post-install:
@${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
${INSTALL_SCRIPT} ${EXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 2.0
BROKEN= Does not build with Ruby 2.0
.endif
.include <bsd.port.post.mk>