openbsd-ports/japanese/onew-canna/Makefile

37 lines
886 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.1.1.1 2000/04/29 01:07:13 espie Exp $
DISTNAME= jvim2.0r+onew2.2.10
PKGNAME?= ja-onew-canna-2.2.10
CATEGORIES= japanese
NEED_VERSION= 1.230
FAKE= Yes
MASTER_SITES= ftp://ftp.lab.kdd.co.jp/Japan/onew/ \
ftp://ftp.leo.chubu.ac.jp/pub/editor/jvim/
MAINTAINER= espie@cvs.openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= canna.1.::japanese/canna
WRKDIST= ${WRKDIR}/onew
ALL_TARGET=
ONEW_CONF= ${FILESDIR}/ONEW_CONF-for-canna
LIB_NAME= libonew-canna.a
PORT_DOCDIR= ${PREFIX}/share/doc/ja-onew-canna
post-patch:
sed -e 's,%PREFIX%,${PREFIX},g' \
${ONEW_CONF} > ${WRKSRC}/ONEW_CONF
do-install:
${INSTALL_DATA} ${WRKSRC}/libonew.a ${LOCALBASE}/lib/${LIB_NAME}
${INSTALL_DATA_DIR} ${PORT_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.ONEW ${PORT_DOCDIR}
.include <bsd.port.mk>