2000-10-16 11:38:27 +02:00
|
|
|
# New ports collection makefile for: Ruby/Ming
|
|
|
|
# Date created: 16 Oct 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ming
|
2006-04-18 22:20:54 +02:00
|
|
|
PORTVERSION= 0.3.0.${RUBY_MING_VERSION}
|
2003-11-12 18:22:23 +01:00
|
|
|
CATEGORIES+= graphics ruby
|
2006-04-18 22:20:54 +02:00
|
|
|
MASTER_SITES= http://rubyforge.org/frs/download.php/1841/
|
2004-03-19 17:08:25 +01:00
|
|
|
PKGNAMEPREFIX?= ${RUBY_PKGNAMEPREFIX}
|
2003-11-12 18:09:45 +01:00
|
|
|
DISTNAME= ${PORTNAME}-ruby-${RUBY_MING_VERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
2000-10-16 11:38:27 +02:00
|
|
|
|
2003-11-12 18:09:45 +01:00
|
|
|
MAINTAINER= don@na.rim.or.jp
|
|
|
|
COMMENT= Yet another Ming module for Ruby
|
2000-10-16 11:38:27 +02:00
|
|
|
|
2006-04-18 22:20:54 +02:00
|
|
|
LIB_DEPENDS?= ming.4:${PORTSDIR}/graphics/ming
|
2000-10-16 11:38:27 +02:00
|
|
|
|
2006-04-18 22:20:54 +02:00
|
|
|
RUBY_MING_VERSION= 0.1.7
|
2000-10-17 11:07:15 +02:00
|
|
|
|
2003-11-12 18:09:45 +01:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_SETUP= yes
|
|
|
|
CONFIGURE_ARGS= -- --with-ming-include=${PREFIX}/include/ming --with-ming-lib=${PREFIX}/lib
|
2000-10-16 11:38:27 +02:00
|
|
|
|
2006-04-18 22:20:54 +02:00
|
|
|
DOCS= ChangeLog ChangeLog.0 INSTALL LGPL NEWS README TODO
|
2002-12-27 11:38:22 +01:00
|
|
|
|
2000-10-16 11:38:27 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
2003-11-12 18:09:45 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
|
2006-04-18 22:20:54 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
|
|
.for f in ${DOCS}
|
2003-11-12 18:09:45 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
|
|
.endfor
|
2000-10-16 11:38:27 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|