blob: c73039bf9125b3c011036bf38af1e1422cdc8c74 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: rjudy
# Date created: 19 August 2004
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= rjudy
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
#DISTNAME= ${RUBY_DBI_DISTNAME}
MAINTAINER= skv@FreeBSD.org
COMMENT= Interface to the Judy Arrays library
LIB_DEPENDS= Judy.1:${PORTSDIR}/devel/judy
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/judy
DOCSRC= ${WRKDIR}/${DISTNAME}/doc
EXMSRC= ${WRKDIR}/${DISTNAME}/examples
DOCSUBDIRS= classes/Judy/Judy1.src classes/Judy/JudyHash.src \
classes/Judy/JudyL.src classes/Judy/JudySL.src \
classes/Judy classes files
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_SCRIPT} ${EXMSRC}/*.rb ${RUBY_MODEXAMPLESDIR}
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${RUBY_MODDOCDIR}
${INSTALL_DATA} ${DOCSRC}/*.css ${DOCSRC}/*.html ${RUBY_MODDOCDIR}
.for SUBDOCDIR in ${DOCSUBDIRS}
@${MKDIR} ${RUBY_MODDOCDIR}/${SUBDOCDIR}
${INSTALL_DATA} ${DOCSRC}/${SUBDOCDIR}/*.html \
${RUBY_MODDOCDIR}/${SUBDOCDIR}
.endfor
.endif
.include <bsd.port.mk>
|