mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
3d46513000
PORTREVISION. Reported by: itetcu
41 lines
1019 B
Makefile
41 lines
1019 B
Makefile
# New ports collection makefile for: rcairo
|
|
# Date created: 16 October 2005
|
|
# Whom: Mezz <mezz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/graphics/ruby-cairo/Makefile,v 1.6 2008/02/28 21:28:18 mezz Exp $
|
|
#
|
|
|
|
PORTNAME= cairo
|
|
PORTVERSION= 1.5.1
|
|
PORTREVISION= 1
|
|
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_GNOME= pkgconfig
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF=yes
|
|
CONFIGURE_ARGS+=--ruby=${RUBY}
|
|
|
|
DOCS= AUTHORS COPYING ChangeLog GPL NEWS README
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${RUBY_MODEXAMPLESDIR}/agg
|
|
@${INSTALL_DATA} ${WRKSRC}/samples/*.rb ${RUBY_MODEXAMPLESDIR}/
|
|
@${INSTALL_DATA} ${WRKSRC}/samples/agg/*.rb ${RUBY_MODEXAMPLESDIR}/agg/
|
|
@${MKDIR} ${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|