# New ports collection makefile for: ruby-mecab # Date created: 23 April 2003 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= mecab PORTVERSION= 0.93 CATEGORIES= japanese textproc ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} MASTER_SITE_SUBDIR= ${PORTNAME}/${SUB_DIR} DISTNAME= ${PORTNAME}-ruby-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= MeCab library module for Ruby LIB_DEPENDS= mecab.1:${PORTSDIR}/japanese/mecab SUB_DIR= 21190 USE_RUBY= yes USE_RUBY_EXTCONF= yes INSTALL_TARGET= site-install .include PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${RUBY_MODDOCDIR} ${INSTALL_DATA} ${WRKSRC}/bindings.html ${RUBY_MODDOCDIR}/ .endif .include