2002-11-27 21:12:16 +01:00
|
|
|
# New ports collection makefile for: Ruby/libart2
|
2002-09-01 15:50:37 +02:00
|
|
|
# Date created: 1 September 2002
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-10-25 01:37:25 +02:00
|
|
|
# $MCom: ports/graphics/ruby-libart2/Makefile,v 1.4 2007/10/09 23:12:07 mezz Exp $
|
2002-09-01 15:50:37 +02:00
|
|
|
#
|
|
|
|
|
2002-11-27 21:12:16 +01:00
|
|
|
PORTNAME= libart2
|
2002-09-01 15:50:37 +02:00
|
|
|
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
|
|
|
|
CATEGORIES= graphics ruby
|
|
|
|
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
|
|
|
|
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${RUBY_GNOME_DISTNAME}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2009-06-16 17:53:25 +02:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2003-02-18 06:20:09 +01:00
|
|
|
COMMENT= Ruby binding for Libart2
|
2002-09-01 15:50:37 +02:00
|
|
|
|
2010-10-12 05:23:26 +02:00
|
|
|
BUILD_DEPENDS+= rubygem-pkg-config>=1.0.7:${PORTSDIR}/devel/rubygem-pkg-config
|
|
|
|
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
2010-02-05 12:46:55 +01:00
|
|
|
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
|
2010-03-28 08:47:48 +02:00
|
|
|
png.6:${PORTSDIR}/graphics/png
|
2002-09-01 15:50:37 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2004-02-27 10:36:58 +01:00
|
|
|
USE_GNOME= libartlgpl2
|
2002-09-01 15:50:37 +02:00
|
|
|
USE_RUBY_EXTCONF= yes
|
2010-11-27 04:32:41 +01:00
|
|
|
CONFIGURE_ARGS= --with-pkg-config-dir=${LOCALBASE}/libdata/pkgconfig
|
2002-09-01 15:50:37 +02:00
|
|
|
|
2002-11-27 21:12:16 +01:00
|
|
|
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
|
2002-09-01 15:50:37 +02:00
|
|
|
|
2002-11-27 21:12:16 +01:00
|
|
|
WRKSRC= ${RUBY_GNOME_WRKSRC}/libart
|
2002-09-01 15:50:37 +02:00
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2004-08-15 09:11:57 +02:00
|
|
|
DOCS= COPYING.LIB ChangeLog README
|
2002-09-01 15:50:37 +02:00
|
|
|
|
2007-01-02 01:57:05 +01:00
|
|
|
post-patch: general-patch
|
|
|
|
|
2002-09-01 15:50:37 +02:00
|
|
|
post-install:
|
2008-07-07 05:27:45 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2004-08-15 09:11:57 +02:00
|
|
|
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
2008-07-07 05:27:45 +02:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-08-15 09:11:57 +02:00
|
|
|
@${MKDIR} ${RUBY_MODDOCDIR}
|
2002-11-27 21:12:16 +01:00
|
|
|
.for f in ${DOCS}
|
2004-08-15 09:11:57 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2002-09-01 15:50:37 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|