summaryrefslogtreecommitdiffstats
path: root/japanese/chasen/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-02 05:18:27 +0000
committerknu <knu@FreeBSD.org>2001-03-02 05:18:27 +0000
commit587d2d972e00c30a306b950c0274f4772e5424c7 (patch)
treecabcac13717c071ef6a607384c704e98d263fc1b /japanese/chasen/Makefile
parentf1f4cc887a623519e42c9d27f5c24e2d00bbe49c (diff)
downloadFreeBSD-ports-587d2d972e00c30a306b950c0274f4772e5424c7.zip
FreeBSD-ports-587d2d972e00c30a306b950c0274f4772e5424c7.tar.gz
Install the library and the headers as well.
Approved by: kuriyama (MAINTAINER)
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 9fa57d9..0cd0966 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>
OpenPOWER on IntegriCloud