freebsd-ports/converters/ruby-iconv/Makefile

54 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby-iconv
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= iconv
PORTVERSION= ${REAL_PORTVERSION}
CATEGORIES= converters ruby
MASTER_SITES= ${REAL_MASTER_SITES}
2000-09-07 16:39:47 +02:00
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
MAINTAINER= knu@FreeBSD.org
2003-02-18 05:24:40 +01:00
COMMENT= An iconv wrapper class for Ruby
2004-03-21 10:35:10 +01:00
USE_ICONV= yes
2000-09-07 16:39:47 +02:00
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
.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
post-install:
.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}/
.endfor
.endif
.endif
.include <bsd.port.post.mk>