mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# New ports collection makefile for: namazu2
|
|
# Date created: 25 February 2000
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= namazu2
|
|
PORTVERSION= 2.0.5
|
|
CATEGORIES= japanese textproc
|
|
MASTER_SITES= http://www.namazu.org/stable/
|
|
DISTNAME= namazu-${PORTVERSION}
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
|
BUILD_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic \
|
|
${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf \
|
|
${DEPEND_WAKATI}
|
|
RUN_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic \
|
|
${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf \
|
|
${DEPEND_WAKATI} \
|
|
${DEPEND_MSOFFICE}
|
|
|
|
PM_BASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
|
|
|
USE_PERL5= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN1= namazu.1 mknmz.1
|
|
INSTALLS_SHLIB= yes
|
|
|
|
.if defined(WITH_CHASEN)
|
|
DEPEND_WAKATI= ${PM_BASE}/${PERL_ARCH}/Text/ChaSen.pm:${PORTSDIR}/japanese/p5-Text-ChaSen
|
|
.else
|
|
DEPEND_WAKATI= ${PM_BASE}/${PERL_ARCH}/Text/Kakasi.pm:${PORTSDIR}/japanese/p5-Text-Kakasi
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_MSOFFICE)
|
|
DEPEND_MSOFFICE= xlHtml:${PORTSDIR}/textproc/xlhtml \
|
|
wvHtml:${PORTSDIR}/textproc/wv
|
|
.endif
|
|
|
|
post-install:
|
|
${LN} -sf ${PREFIX}/lib/libnmz.so.4 ${PREFIX}/lib/libnmz.so
|
|
.if defined(NOPORTDOCS)
|
|
${RM} -rf ${PREFIX}/share/namazu/doc
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|