3c088f1b9a
ports. They will be removed on or after that date if they are still broken and no fix has been submitted to GNATS.
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# New ports collection makefile for: Ruby-ChaSen
|
|
# Date created: 1 Mar 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= chasen
|
|
PORTVERSION= 1.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= japanese textproc ruby
|
|
MASTER_SITES= http://www.itlb.te.noda.sut.ac.jp/~ikarashi/ruby/
|
|
# XXX: www.itlb.te.noda.tus.ac.jp is a different host and unreachable
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= ChaSen module for Ruby
|
|
|
|
LIB_DEPENDS= chasen.0:${PORTSDIR}/japanese/chasen-base
|
|
|
|
BROKEN= "Does not build (cannot open Makefile)"
|
|
EXPIRATION_DATE=2004-08-20
|
|
DEPRECATED= Does not build (cannot open Makefile)
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
CONFIGURE_ARGS= --with-chasen-include="${PREFIX}/include/chasen" \
|
|
--with-chasen-lib="${PREFIX}/lib"
|
|
INSTALL_TARGET= site-install
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ja/
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
${INSTALL_DATA} ${WRKSRC}/chasen.html ${RUBY_MODDOCDIR}/ja/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|