2009-01-07 04:50:01 +01:00
|
|
|
# New ports collection makefile for: ruby-libarchive
|
|
|
|
# Date created: 7 January 2009
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libarchive
|
2009-03-09 12:15:29 +01:00
|
|
|
PORTVERSION= 0.1.1
|
2009-01-07 04:50:01 +01:00
|
|
|
CATEGORIES= archivers ruby
|
2010-06-07 22:48:42 +02:00
|
|
|
MASTER_SITES= RF
|
2009-01-07 04:50:01 +01:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
COMMENT= Ruby bindings for libarchive
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/ext
|
|
|
|
|
|
|
|
DOCS= README.txt doc
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
|
|
cd ${WRKDIR}; ${COPYTREE_SHARE} "${DOCS}" ${RUBY_MODDOCDIR}/
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|