1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/converters/ruby-iconv/Makefile
Stanislav Sedov fae8e0f615 - Add ruby 1.9 support
- Implement new knobs for gems and rake (these are included in
  ruby 1.9 distribution already). Also move gem bits from
  ruby-gems/Makefile.common to bsd.ruby.mk[1]. Now to depend
  on gems or rake you should define USE_RUBYGEMS/USE_RAKE
  accordingly. Also RAKE_BIN variable is provided for
  pointing to the right rake executable.
- Rewrite RUBY_SCHEBANG in awk to eliminate build dependency
  on ruby.

Discussed with:	Jonathan Weiss <jw@innerewut.de> [1] (gems maintainer)
Tested by:	ports@
2008-04-06 08:58:21 +00:00

43 lines
889 B
Makefile

# 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>