summaryrefslogtreecommitdiffstats
path: root/textproc/yamcha/Makefile
blob: c6613378eae6a0589217a8998f0601e1e00164a3 (plain)
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
# 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

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>
OpenPOWER on IntegriCloud