blob: 20ea8edd92918adfae4d49c8a74b857f5c4a44db (
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
|
# Created by: 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
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= perl5
USE_PERL5= build
NO_STAGE= 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>
|