summaryrefslogtreecommitdiff
path: root/textproc/yamcha/Makefile
blob: 8639f3e2442949dc6cf141cc35de023fbec6030e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:	yamcha
# Date created:		                Aug 3, 2006
# Whom:			                Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	yamcha
PORTVERSION=	0.33
CATEGORIES=	textproc science
MASTER_SITES=	http://chasen.org/~taku/software/yamcha/src/

MAINTAINER=	clsung@FreeBSD.org
COMMENT=	Yet Another Multipurpose CHunk Annotator

BUILD_DEPENDS=	svm_learn:${PORTSDIR}/science/svmlight

USE_AUTOTOOLS=	libtool:15
GNU_CONFIGURE=	yes
INSTALLS_SHLIB=	yes
USE_PERL5_BUILD=yes
DOC_FILES=	feature.png feature2.png feature3.png \
		feature4.png feature5.png index.html \
		yamcha.html yamcha.css

MAN1=		yamcha.1

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
.for doc in ${DOC_FILES}
		${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
.endfor
	@${FIND} -s ${DOCSDIR} -type f | \
		${SED} -e 's|^${PREFIX}/||' >> ${TMPPLIST}
	@${FIND} -s ${DOCSDIR} -type d | \
		${SED} -e 's|^${PREFIX}/|@dirrm |' >> ${TMPPLIST}
.endif

.include <bsd.port.mk>