1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/archivers/ruby-lha/Makefile
Stanislav Sedov d0323fcfe5 - Fix shebang line in installed examples
- bump PORTREVISION.

Reported by:	John E Hein <jhein@timing.com>
2008-06-14 16:23:47 +00:00

37 lines
760 B
Makefile

# New ports collection makefile for: ruby-lha
# Date created: 09 January 2006
# Whom: stas
#
# $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= stas@FreeBSD.org
COMMENT= A Ruby extension to unpack lha-compressed files
USE_ZIP= yes
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:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/
@${INSTALL_SCRIPT} ${EXAMPLES:S,^,${WRKSRC}/,} ${RUBY_MODEXAMPLESDIR}/
.endif
.include <bsd.port.mk>