pkgsrc/inputmethod/skkinput/Makefile
seb bafcb1bc2c Reimport of package skkinput from japanese/skkinput into inputmethod/skkinput.
This is part of the japanese category retirement.
CATEGORIES adjusted.
2002-05-31 13:00:02 +00:00

34 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:00:02 seb Exp $
DISTNAME= skkinput-2.03
CATEGORIES= japanese inputmethod
MASTER_SITES= http://member.nifty.ne.jp/Tatari_SAKAMOTO/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.yajima.kuis.kyoto-u.ac.jp/staffs/sakamoto/skkinput/skkinput.html
COMMENT= X11 frontend for SKK
BUILD_DEFS+= USE_INET6
USE_IMAKE= YES
# skk.conf uses /usr/pkg (${LOCALBASE}), not /usr/X11R6 (${PREFIX})
MAKE_ENV= MAKE_FLAGS='EXECBASE=${LOCALBASE}'
PLIST_SUBST= PKGBASE=${LOCALBASE}
DESCR_SRC= ${WRKDIR}/DESCR
INSTALL_FILE= ${WRKDIR}/INSTALL
post-build:
${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/DESCR >${DESCR_SRC}
${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/INSTALL >${INSTALL_FILE}
post-install:
${INSTALL_MAN} ${WRKSRC}/skkinput.man ${PREFIX}/man/ja_JP.EUC/man1/skkinput.1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/skkinput
${INSTALL_DATA} ${WRKSRC}/README.jis ${PREFIX}/share/doc/skkinput
${INSTALL_DATA} ${WRKSRC}/FAQ.jis ${PREFIX}/share/doc/skkinput
${INSTALL_DATA} ${WRKSRC}/BUGS.jis ${PREFIX}/share/doc/skkinput
${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"