[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

翻訳の王様



ちょっと感動したので、パッケージにしてみました。
 > http://www.ibm.co.jp/software/internet/king/li_syoukai.html

fetchはしないので、手動でダウンロードしましょう。
分割されてるファイルには対応してません。

sakamoto
--
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	king/files/md5
#	king/pkg/COMMENT
#	king/pkg/DESCR
#	king/Makefile
#
echo x - king/files/md5
sed 's/^X//' >king/files/md5 << 'END-of-king/files/md5'
X$NetBSD$
X
XMD5 (king-0.90-1.i386.rpm) = cd38be8463f832bf509fe4a2a3b8ccc6
END-of-king/files/md5
echo x - king/pkg/COMMENT
sed 's/^X//' >king/pkg/COMMENT << 'END-of-king/pkg/COMMENT'
XKING OF TRANSLATOR
END-of-king/pkg/COMMENT
echo x - king/pkg/DESCR
sed 's/^X//' >king/pkg/DESCR << 'END-of-king/pkg/DESCR'
XIBM KING OF TRANSLATOR.
END-of-king/pkg/DESCR
echo x - king/Makefile
sed 's/^X//' >king/Makefile << 'END-of-king/Makefile'
X# $NetBSD$
X
XDISTNAME=		king-0.90-1
XPKGNAME=		king-0.90beta
XCATEGORIES=		japanese
XEXTRACT_SUFX=		.i386.rpm
XONLY_FOR_PLATFORM=	NetBSD-*-i386
X
XMAINTAINER=		sakamoto@netbsd.org
XHOMEPAGE=		http://www.ibm.co.jp/software/internet/king/li_syoukai.html
X
XDEPENDS=		suse_base-6.1:../../emulators/suse_base
X
XEXTRACT_ONLY=		# empty
XNO_BUILD=		yes
XNO_WRKSUBDIR=		yes
XPLIST_SRC=		${WRKDIR}/PLIST_DYNAMIC
X
XEMULSUBDIR=		emul/linux
XEMULDIR=		${PREFIX}/${EMULSUBDIR}
XSBINDIR=		${PREFIX}/sbin
X
Xdo-fetch:
X	@(if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
X	    ${ECHO} "";	\
X	    ${ECHO} "Download ${DISTNAME}${EXTRACT_SUFX} from ${HOMEPAGE}."; \
X	    ${ECHO} "";	\
X	    ${FALSE}; \
X	 fi)
X
Xdo-install:
X	cd ${_DISTDIR} && \
X	${SBINDIR}/rpm2pkg ${DISTFILES} >${PLIST_SRC}
X	@${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}
X	${EMULDIR}/sbin/ldconfig -r ${EMULDIR} || ${TRUE}
X
Xshow-shlib-type:
X	@${ECHO} linux-${MACHINE_ARCH}
X
X.include "../../mk/bsd.pkg.mk"
END-of-king/Makefile
exit