aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-ming/Makefile
blob: 5f7cc0a56515b63f6c4955811bb20a7930fe1697 (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
37
38
# New ports collection makefile for:    Ruby/Ming
# Date created:     16 Oct 2000
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$

PORTNAME=   ming
PORTVERSION=    0.3.0.${RUBY_MING_VERSION}
CATEGORIES+=    graphics ruby
MASTER_SITES=   http://rubyforge.org/frs/download.php/1841/
PKGNAMEPREFIX?= ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-ruby-${RUBY_MING_VERSION}
DIST_SUBDIR=    ruby

MAINTAINER= don@na.rim.or.jp
COMMENT=    Yet another Ming module for Ruby

LIB_DEPENDS?=   ming.4:${PORTSDIR}/graphics/ming

RUBY_MING_VERSION=  0.1.7

USE_RUBY=   yes
USE_RUBY_SETUP= yes
CONFIGURE_ARGS= -- --with-ming-include=${PREFIX}/include/ming --with-ming-lib=${PREFIX}/lib

DOCS=   ChangeLog ChangeLog.0 INSTALL LGPL NEWS README TODO

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
    ${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif

.include <bsd.port.mk>