2000-08-08 21:16:35 +02:00
|
|
|
# New ports collection makefile for: Ruby-iconv
|
|
|
|
# Date created: 7 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= iconv
|
2004-03-18 10:24:13 +01:00
|
|
|
PORTVERSION= ${REAL_PORTVERSION}
|
2000-08-16 14:21:24 +02:00
|
|
|
CATEGORIES= converters ruby
|
2004-03-18 10:24:13 +01:00
|
|
|
MASTER_SITES= ${REAL_MASTER_SITES}
|
2000-09-07 16:39:47 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-08 21:16:35 +02:00
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:24:40 +01:00
|
|
|
COMMENT= An iconv wrapper class for Ruby
|
2000-08-08 21:16:35 +02:00
|
|
|
|
2004-03-21 10:35:10 +01:00
|
|
|
USE_ICONV= yes
|
2000-08-08 21:16:35 +02:00
|
|
|
|
2000-09-07 16:39:47 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-08 21:16:35 +02:00
|
|
|
|
2000-08-12 22:09:41 +02:00
|
|
|
INSTALL_TARGET= site-install
|
2000-08-08 21:16:35 +02:00
|
|
|
|
2004-03-18 10:24:13 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${RUBY_VER} >= 1.7
|
|
|
|
REAL_PORTVERSION= ${RUBY_PORTVERSION}
|
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
|
|
|
MAKE_ARGS+= sitelibdir='$$(rubylibdir)'
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKDIR}
|
|
|
|
${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/
|
|
|
|
|
|
|
|
.else
|
|
|
|
REAL_PORTVERSION= 0.5
|
|
|
|
REAL_MASTER_SITES= http://member.nifty.ne.jp/nokada/archive/
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2000-08-12 22:09:41 +02:00
|
|
|
post-install:
|
2000-08-08 21:16:35 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:08:30 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2001-11-16 06:00:34 +01:00
|
|
|
.for f in *.html iconv.rlog rd.css
|
2002-10-06 23:08:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2000-08-08 21:16:35 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
2004-03-18 10:24:13 +01:00
|
|
|
.endif
|
2000-08-08 21:16:35 +02:00
|
|
|
|
2004-03-18 10:24:13 +01:00
|
|
|
.include <bsd.port.post.mk>
|