aboutsummaryrefslogtreecommitdiff
path: root/japanese/chasen/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-02 05:18:27 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-02 05:18:27 +0000
commit2c29ff0bf71dcbd147d5922ed2f5df9b10784673 (patch)
tree03ff3f368d76ab86372107deda94c4cc157c54fb /japanese/chasen/Makefile
parentd36a08fde11f9aad3024a0942c9d213ecf0d6f11 (diff)
downloadports-2c29ff0bf71dcbd147d5922ed2f5df9b10784673.tar.gz
ports-2c29ff0bf71dcbd147d5922ed2f5df9b10784673.zip
Notes
Diffstat (limited to 'japanese/chasen/Makefile')
-rw-r--r--japanese/chasen/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile
index 9fa57d9a24b4..0cd09664fd25 100644
--- a/japanese/chasen/Makefile
+++ b/japanese/chasen/Makefile
@@ -8,6 +8,7 @@
PORTNAME= chasen
PORTVERSION= 2.02
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/lab/nlp/tools/chasen/
DISTNAME= ${PORTNAME}-sys${PORTVERSION}-ipadic2.1
@@ -19,9 +20,11 @@ USE_PERL5= YES
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Text::ChaSen.3
-WRKSRC= ${WRKDIR}/chasen-2.02
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+INSTALLS_SHLIB= yes
-do-configure:
+post-patch:
+ ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/lib/Makefile
post-build:
@${ECHO_MSG} "Making dictionaries"
@@ -33,5 +36,7 @@ post-build:
post-install:
@cd ${WRKSRC}/perl; ${SETENV} ${MAKE_ENV} ${MAKE} install
+ ${MKDIR} ${PREFIX}/include/chasen
+ @cd ${WRKSRC}/lib; ${SETENV} ${MAKE_ENV} ${MAKE} install
.include <bsd.port.mk>