freebsd-ports/japanese/canuum/Makefile
Akinori MUSHA edcf8b3594 Update with the new PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
Now try to use those variables everywhere around DIST* and PATCH*
definitions as far as possible, for ease of the future updates and the
neatness.

Okay, 60% of `japanese' ports have been done. :)
2000-04-11 14:15:53 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: canuum
# Date created: 20 Jan 1999
# Whom: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $FreeBSD$
#
PORTNAME= canuum
PORTVERSION= 1.0
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.nec.co.jp/pub/Canna/Canna22/ \
ftp://ftp.nec.co.jp/pub/Canna/Canna32/
DISTFILES= Uum4.109.tar.gz \
Canna32p2.tar.gz
EXTRACT_ONLY= Uum4.109.tar.gz
MAINTAINER= kiri@pis.toba-cmt.ac.jp
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/Canna
MANLANG= ja
MAN1= canuum.1
MAKE_ARGS= PREFIX=${PREFIX}
WRKSRC= ${WRKDIR}/Canna32p2/canuum
post-extract:
@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/Canna32p2.tar.gz \
${EXTRACT_AFTER_ARGS} -C ${WRKDIR} \
Canna32p2/Canna.conf Canna32p2/canuum
@${MV} ${WRKDIR}/Canna32p2/Canna.conf ${WRKSRC}/
@${CP} ${WRKDIR}/Uum4.109/* ${WRKSRC}
pre-patch:
@(cd ${WRKSRC}; ${PATCH} ${PATCH_DIST_ARGS} < Canuum.patch)
do-configure:
@(cd ${WRKSRC}; xmkmf; make ${MAKE_ARGS} Makefile; \
make ${MAKE_ARGS} cannaconf.h; make ${MAKE_ARGS} depend)
do-build:
@(cd ${WRKSRC}; make ${MAKE_ARGS} all)
post-install:
@${INSTALL_MAN} ${WRKSRC}/canuum.jmn ${PREFIX}/man/ja/man1/canuum.1
.include <bsd.port.mk>