aboutsummaryrefslogtreecommitdiffstats
path: root/converters/ruby-iconv/Makefile
blob: 797e4ad3ae0bad51fcde198fe051246b9f2b3570 (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
39
40
41
42
# New ports collection makefile for:    Ruby-iconv
# Date created:     7 Aug 2000
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   iconv
PORTVERSION=    ${RUBY_PORTVERSION}
PORTREVISION=   ${RUBY_PORTREVISION}
PORTEPOCH=  1
CATEGORIES= converters ruby
MASTER_SITES=   #empty
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTFILES=  # empty
DISTNAME=   ${PORTNAME}

MAINTAINER= stas@FreeBSD.org
COMMENT=    An iconv wrapper class for Ruby

BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch

USE_ICONV=  yes

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

MAKE_ARGS+= sitelibdir='$$(rubylibdir)'

INSTALL_TARGET= site-install

PLIST_FILES=    ${RUBY_ARCHLIBDIR:S,${PREFIX},,:S,^/,,}/iconv.so

.include <bsd.port.pre.mk>

RUBY_WRKDIR!=   cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR

do-extract:
    ${MKDIR} ${WRKDIR}
    ${LN} -sf ${RUBY_WRKDIR}/${PORTNAME} ${WRKDIR}/

.include <bsd.port.post.mk>