2000-03-01 21:56:15 +01:00
|
|
|
# New ports collection makefile for: namazu2
|
|
|
|
# Date created: 25 February 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
1999-03-31 13:52:07 +02:00
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1999-03-31 13:52:07 +02:00
|
|
|
#
|
|
|
|
|
2001-09-12 12:54:22 +02:00
|
|
|
PORTNAME= namazu
|
2001-09-13 15:12:23 +02:00
|
|
|
PORTVERSION= 2.0.7
|
2001-10-13 11:48:39 +02:00
|
|
|
PORTREVISION= 1
|
2001-10-12 22:10:12 +02:00
|
|
|
CATEGORIES= japanese databases www textproc
|
2000-03-01 21:56:15 +01:00
|
|
|
MASTER_SITES= http://www.namazu.org/stable/
|
2001-09-12 12:54:22 +02:00
|
|
|
PKGNAMESUFFIX= 2
|
1999-03-31 13:52:07 +02:00
|
|
|
|
2000-04-24 17:51:20 +02:00
|
|
|
MAINTAINER= knu@FreeBSD.org
|
1999-03-31 13:52:07 +02:00
|
|
|
|
2000-03-01 21:56:15 +01:00
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
|
|
|
BUILD_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic \
|
2000-12-20 22:14:31 +01:00
|
|
|
${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf \
|
|
|
|
${DEPEND_WAKATI}
|
2000-03-01 21:56:15 +01:00
|
|
|
RUN_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic \
|
2000-04-04 07:29:01 +02:00
|
|
|
${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf \
|
2001-09-12 12:54:22 +02:00
|
|
|
${DEPEND_WAKATI}
|
|
|
|
# xlHtml:${PORTSDIR}/textproc/xlhtml \
|
|
|
|
# wvHtml:${PORTSDIR}/textproc/wv
|
2000-03-01 21:56:15 +01:00
|
|
|
|
|
|
|
PM_BASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
1999-03-31 13:52:07 +02:00
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2000-03-01 21:56:15 +01:00
|
|
|
MAN1= namazu.1 mknmz.1
|
2000-06-17 07:34:04 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-03-01 21:56:15 +01:00
|
|
|
|
2000-10-26 22:56:25 +02:00
|
|
|
.if defined(WITH_CHASEN)
|
2001-03-02 08:06:18 +01:00
|
|
|
DEPEND_WAKATI= ${PM_BASE}/${PERL_ARCH}/Text/ChaSen.pm:${PORTSDIR}/japanese/p5-Text-ChaSen
|
2000-10-26 22:56:25 +02:00
|
|
|
.else
|
2000-12-20 22:14:31 +01:00
|
|
|
DEPEND_WAKATI= ${PM_BASE}/${PERL_ARCH}/Text/Kakasi.pm:${PORTSDIR}/japanese/p5-Text-Kakasi
|
|
|
|
.endif
|
2000-10-26 22:56:25 +02:00
|
|
|
|
2001-10-13 11:48:39 +02:00
|
|
|
post-configure:
|
|
|
|
${PERL} -i~ -pe 's,^(LIBS *= *)(.*),$$1 -L${LOCALBASE}/lib -lintl $$2\n,' ${WRKSRC}/nmz/Makefile
|
|
|
|
|
2000-03-01 21:56:15 +01:00
|
|
|
post-install:
|
2001-02-10 14:19:57 +01:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
${RM} -rf ${PREFIX}/share/namazu/doc
|
|
|
|
.endif
|
1999-03-31 13:52:07 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|