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$
|
2005-11-05 06:35:10 +01:00
|
|
|
# $MCom: ports/graphics/ruby-libart2/Makefile,v 1.2 2005/10/17 07:05:41 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
|
|
|
|
|
2004-05-03 01:36:58 +02:00
|
|
|
MAINTAINER= mezz@FreeBSD.org
|
2003-02-18 06:20:09 +01:00
|
|
|
COMMENT= Ruby binding for Libart2
|
2002-09-01 15:50:37 +02:00
|
|
|
|
2004-02-27 10:36:58 +01:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2003-02-18 12:13:56 +01:00
|
|
|
png.5:${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
|
|
|
|
|
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
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-08-15 09:11:57 +02:00
|
|
|
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
@${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>
|