summaryrefslogblamecommitdiff
path: root/japanese/chasen/Makefile
blob: 9fa57d9a24b4214c8539d10fe52bbf2e22fe9125 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                              


                                       
                                                            
           

 

                      
                        
                                                                   
                                                       
 
                                    
 







                                                   

           








                                                                 

                      
# New ports collection makefile for:	chasen
# Date created:		21 October 1998
# Whom:			kuriyama
#
# $NetBSD: Makefile,v 1.2 1999/06/07 09:54:39 sakamoto Exp $
# $FreeBSD$
#

PORTNAME=	chasen
PORTVERSION=	2.02
CATEGORIES=	japanese
MASTER_SITES=	ftp://ftp.aist-nara.ac.jp/pub/lab/nlp/tools/chasen/
DISTNAME=	${PORTNAME}-sys${PORTVERSION}-ipadic2.1

MAINTAINER=	kuriyama@FreeBSD.org

USE_PERL5=	YES

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		Text::ChaSen.3

WRKSRC=		${WRKDIR}/chasen-2.02

do-configure:

post-build:
	@${ECHO_MSG} "Making dictionaries"
	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} dic
	@${ECHO_MSG} "Making perl5 module"
	@cd ${WRKSRC}/perl; \
		${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL; \
		${SETENV} ${MAKE_ENV} ${MAKE}

post-install:
	@cd ${WRKSRC}/perl; ${SETENV} ${MAKE_ENV} ${MAKE} install

.include <bsd.port.mk>