2002-01-26 13:27:30 +01:00
|
|
|
# New ports collection makefile for: rubyzip
|
|
|
|
# Date created: 26 January 2002
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= zip
|
2002-03-30 12:27:45 +01:00
|
|
|
PORTVERSION= 0.4.2
|
2003-03-28 10:53:59 +01:00
|
|
|
PORTREVISION= 1
|
2002-01-26 13:27:30 +01:00
|
|
|
CATEGORIES= archivers ruby
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ruby${PORTNAME}
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ruby${PORTNAME}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:24:40 +01:00
|
|
|
COMMENT= A Ruby module for reading and writing zip files
|
2002-01-26 13:27:30 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2003-04-19 17:57:37 +02:00
|
|
|
USE_RUBY_FEATURES= zlib
|
2002-01-26 13:27:30 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/ruby${PORTNAME}
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2002-03-24 17:47:42 +01:00
|
|
|
DOCS= ChangeLog NEWS README TODO
|
2002-01-26 13:27:30 +01:00
|
|
|
EXAMPLES= example.rb NEWS # NEWS is used as test data
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/zip.rb ${RUBY_SITELIBDIR}/
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
2002-01-26 13:27:30 +01:00
|
|
|
.for f in ${EXAMPLES}
|
2002-10-06 23:08:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
|
2002-01-26 13:27:30 +01:00
|
|
|
.endfor
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2002-01-26 13:27:30 +01:00
|
|
|
.for f in ${DOCS}
|
2002-10-06 23:08:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2002-01-26 13:27:30 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|