1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/japanese/canna-lib/Makefile
Akinori MUSHA a2330b1ecd - Make this compile with imake 4.2.0, in which the LinkFileList
definition has been changed somehow.  Add a patch to override it with
  the previous definition.

  Addressed by:	Marc Espie <espie@openbsd.org>

- Add a patch to fix bzero()/bcopy() namespace collision. (by me)

- Change one of the master sites.

  Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>

Discussed on:	ports-jp@jp.FreeBSD.org
On behalf of:	max (MAINTAINER)
2002-04-02 03:45:20 +00:00

68 lines
2.2 KiB
Makefile

# New ports collection makefile for: Canna
# Date created: 3 November 1995
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
# NIIMI Satoshi <sa2c@and.or.jp>
#
# $FreeBSD$
#
PORTNAME= Canna
PORTVERSION= 3.5b2
PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.tokyonet.ad.jp/pub/misc/Canna/Canna35/ \
ftp://ftp.biglobe.ne.jp/pub/tool/Canna/Canna35/ \
ftp://ftp.sra.co.jp/pub/misc/canna/ \
ftp://ftp.habi.or.jp/pub/Tools/Canna/Canna35/ \
ftp://ftp.hans.or.jp/pub/Tools/Canna/Canna35/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
PATCH_SITES= http://www.jaist.ac.jp/~fujieda/canna/
PATCHFILES= Canna35b2-unoff1.patch.gz Canna35b2-unoff2.patch.gz \
Canna35b2-hack1.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= max@FreeBSD.org
USE_IMAKE= yes
USE_X_PREFIX= no
ALL_TARGET= canna
INSTALLS_SHLIB= yes
MAN1= addwords.1 cannacheck.1 cannakill.1 cannaserver.1 cannastat.1 \
catdic.1 cpdic.1 cshost.1 ctow.1 delwords.1 dicar.1 \
dpbindic.1 dpromdic.1 lsdic.1 mkbindic.1 mkdic.1 mkromdic.1 \
mvdic.1 rmdic.1 splitword.1 wtoc.1
MAN3= RkCloseRoma.3 RkCvtEuc.3 RkCvtHan.3 RkCvtHira.3 RkCvtKana.3 \
RkCvtRoma.3 RkCvtZen.3 RkDefineDic.3 RkDeleteDic.3 RkEndBun.3 \
RkEnlarge.3 RkFinalize.3 RkGetDicList.3 RkGetKanji.3 RkGetLex.3 \
RkGetStat.3 RkGetYomi.3 RkGoto.3 RkInitialize.3 RkIntro.3 RkLeft.3 \
RkMapPhonogram.3 RkMapRoma.3 RkMountD.3 RkNext.3 RkNfer.3 \
RkOpenRoma.3 RkPrev.3 RkRemountDic.3 RkResize.3 RkRgnBun.3 RkRight.3 \
RkShorten.3 RkStoreYomi.3 RkUnmountDic.3 RkXfer.3 cannalib.3 uilib.3
MANCOMPRESSED= no
XFREE86_HTML_MAN= no
MLINKS= uilib.3 XKanjiControl.3 uilib.3 XLookupKanjiString.3 \
uilib.3 jrKanjiControl.3 uilib.3 jrKanjiString.3
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/canna.sh
post-install:
${MKDIR} /var/run/canna
${CHOWN} bin:bin /var/run/canna
.for f in user user/user group
${MKDIR} ${PREFIX}/lib/canna/dic/$f
${CHOWN} bin:bin ${PREFIX}/lib/canna/dic/$f
${CHMOD} 775 ${PREFIX}/lib/canna/dic/$f
.endfor
@${SED} -e "s;@PREFIX@;${PREFIX};g" ${FILESDIR}/canna.sh.in \
>${WRKDIR}/canna.sh
if [ ! -f ${STARTUP_SCRIPT} ]; then \
${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \
${INSTALL_SCRIPT} ${WRKDIR}/canna.sh ${STARTUP_SCRIPT}; \
fi
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>