diff options
Diffstat (limited to 'japanese/ruby-refe/Makefile')
-rw-r--r-- | japanese/ruby-refe/Makefile | 44 |
1 files changed, 11 insertions, 33 deletions
diff --git a/japanese/ruby-refe/Makefile b/japanese/ruby-refe/Makefile index 3ac3a504551f..c756985b0600 100644 --- a/japanese/ruby-refe/Makefile +++ b/japanese/ruby-refe/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: rbbr +# New ports collection makefile for: ReFe # Date created: 24 November 2002 # Whom: Akinori MUSHA aka knu <knu@idaemons.org> # @@ -6,54 +6,32 @@ # PORTNAME= refe -PORTVERSION= 0.5.0 +PORTVERSION= 0.7.2 CATEGORIES= japanese lang ruby -MASTER_SITES= http://www.loveruby.net/archive/refe/ \ - http://www.rubyist.net/~rubikitch/refm/:refm \ - http://www.loveruby.net/archive/:extrefm -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - ruby-refm.rd.gz:refm \ - extrefm.rd:extrefm +MASTER_SITES= http://www.loveruby.net/archive/refe/ +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-${PORTVERSION}-withdoc DIST_SUBDIR= ruby -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= knu@FreeBSD.org -COMMENT= Ruby interactive reference in Japanese - -IGNOREFILES= ruby-refm.rd.gz \ - extrefm.rd +COMMENT= Ruby Reference Referrer USE_RUBY= yes USE_RUBY_SETUP= yes RUBY_SETUP= install.rb -DOCS_EN= ChangeLog \ - TODO +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +DOCS_EN= ChangeLog NEWS TODO \ + README.en DOCS_JA= README.ja .include <bsd.port.pre.mk> PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} -.if exists(${RUBY_ARCHLIBDIR}/gdbm.so) -RUN_DEPENDS+= ${RUBY_ARCHLIBDIR}/gdbm.so:${PORTSDIR}/databases/ruby-gdbm - -PLIST_SUB+= WITH_GDBM="" WITH_DBM="@comment " -.else -PLIST_SUB+= WITH_DBM="" WITH_GDBM="@comment " -.endif - -post-extract: - ${CP} ${DISTDIR}/${DIST_SUBDIR}/ruby-refm.rd.gz ${WRKSRC}/ - ${GUNZIP_CMD} ${WRKSRC}/ruby-refm.rd.gz - ${CP} ${DISTDIR}/${DIST_SUBDIR}/extrefm.rd ${WRKSRC}/ - -post-patch: - ${RM} -f ${WRKSRC}/lib/refe/*.orig - post-install: - cd ${WRKSRC}; ${PREFIX}/bin/mkrefe -ir ruby-refm.rd - cd ${WRKSRC}; ${PREFIX}/bin/mkrefe -e extrefm.rd .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} |