blob: 080662ae8e7ab80bc115dcef7c65d7a9d22099dc (
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
|
# New ports collection makefile for: rcairo
# Date created: 16 October 2005
# Whom: Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
# $MCom$
#
PORTNAME= cairo
PORTVERSION= 1.0.0
CATEGORIES= graphics ruby
MASTER_SITES= http://cairographics.org/releases/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= r${PORTNAME}-${PORTVERSION}
MAINTAINER= mezz@FreeBSD.org
COMMENT= Ruby binding for Cairo
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
USE_RUBY= yes
USE_RUBY_SETUP= yes
DOCS= AUTHORS COPYING ChangeLog GPL NEWS README
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
@${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>
|