aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/ruby-libarchive/Makefile
blob: a03c74f1cfe2c49caf1aec0b5a126dfff6319594 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    ruby-libarchive
# Date created:     7 January 2009
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$

PORTNAME=   libarchive
PORTVERSION=    0.1.1
CATEGORIES= archivers ruby
MASTER_SITES=   ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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>