diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2007-02-13 16:51:26 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2007-02-13 16:51:26 +0000 |
commit | 5d655dd7c030542583656f7aaa0c7f086c2ae66d (patch) | |
tree | c7ccb211a1e753a601bd2ae16e1ca2d42e278832 /converters/ruby-iconv | |
parent | da7c5c8e4fbebe26de3db38528c665e32cdbe3a8 (diff) | |
download | ports-5d655dd7c030542583656f7aaa0c7f086c2ae66d.tar.gz ports-5d655dd7c030542583656f7aaa0c7f086c2ae66d.zip |
Notes
Diffstat (limited to 'converters/ruby-iconv')
-rw-r--r-- | converters/ruby-iconv/Makefile | 41 | ||||
-rw-r--r-- | converters/ruby-iconv/distinfo | 3 |
2 files changed, 14 insertions, 30 deletions
diff --git a/converters/ruby-iconv/Makefile b/converters/ruby-iconv/Makefile index df8ad18afe2e..65d49df25935 100644 --- a/converters/ruby-iconv/Makefile +++ b/converters/ruby-iconv/Makefile @@ -6,51 +6,36 @@ # PORTNAME= iconv -PORTVERSION= ${REAL_PORTVERSION} +PORTVERSION= ${RUBY_PORTVERSION} PORTEPOCH= 1 CATEGORIES= converters ruby -MASTER_SITES= ${REAL_MASTER_SITES} +MASTER_SITES= #empty PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTFILES= # empty +DISTNAME= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= stas@FreeBSD.org COMMENT= An iconv wrapper class for Ruby +BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/lang/ruby18:patch + USE_ICONV= yes USE_RUBY= yes USE_RUBY_EXTCONF= yes -INSTALL_TARGET= site-install +MAKE_ARGS+= sitelibdir='$$(rubylibdir)' -.include <bsd.port.pre.mk> +INSTALL_TARGET= site-install -.if ${RUBY_VER} >= 1.7 -REAL_PORTVERSION= ${RUBY_PORTVERSION} -DISTNAME= ${PORTNAME} -DISTFILES= # empty +PLIST_FILES= ${RUBY_ARCHLIBDIR:S,${PREFIX},,:S,^/,,}/iconv.so -MAKE_ARGS+= sitelibdir='$$(rubylibdir)' +.include <bsd.port.pre.mk> -BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch +RUBY_WRKDIR!= cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR 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 - -BROKEN= Not fetchable - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_MODDOCDIR} -.for f in *.html iconv.rlog rd.css - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ -.endfor -.endif -.endif + ${LN} -sf ${RUBY_WRKDIR}/${PORTNAME} ${WRKDIR}/ .include <bsd.port.post.mk> diff --git a/converters/ruby-iconv/distinfo b/converters/ruby-iconv/distinfo index eac8bccd7308..94456aba2bcf 100644 --- a/converters/ruby-iconv/distinfo +++ b/converters/ruby-iconv/distinfo @@ -1,2 +1 @@ -MD5 (ruby/iconv-0.5.tar.gz) = 76fd4b8058f82f68ad8de4842b09ca27 -SIZE (ruby/iconv-0.5.tar.gz) = 12089 +# intentionally left blank |