aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-gdome/Makefile
blob: 75588448987b20593bf33c1404b1598708e1c00f (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
# New ports collection makefile for:    libgdome-ruby
# Date created:     12 July 2001
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   gdome
PORTVERSION=    0.1
PORTREVISION=   2
CATEGORIES= textproc ruby
MASTER_SITES=   http://download.berlios.de/libgdome-ruby/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   lib${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

LIB_DEPENDS=    gdome.7:${PORTSDIR}/textproc/gdome2

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

INSTALL_TARGET= site-install

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
    ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/
.endif

.include <bsd.port.mk>