blob: 7a82092481d8bd0cdc77200a082e7dd1fd368688 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.4 2000/01/13 11:15:12 soren Exp $
#
DISTNAME= king-1.00-tb40-1
PKGNAME= king-1.00
CATEGORIES= japanese
EXTRACT_SUFX= .i386.rpm
ONLY_FOR_PLATFORM= NetBSD-*-i386
MAINTAINER= sakamoto@netbsd.org
HOMEPAGE= http://www.ibm.co.jp/software/internet/king/
RESTRICTED= "You should buy from IBM Corp"
NO_PACKAGE= ${RESTRICTED}
NO_CDROM= ${RESTRICTED}
MIRROR_DISTFILE=no
KINGDISTDIR?= /cdrom/linux
DISTDIR= ${KINGDISTDIR}
DEPENDS= suse_base-6.1:../../emulators/suse_base
EXTRACT_ONLY= # empty
NO_BUILD= yes
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
EMULSUBDIR= emul/linux
EMULDIR= ${PREFIX}/${EMULSUBDIR}
SBINDIR= ${PREFIX}/sbin
RPM2PKG= ${PREFIX}/sbin/rpm2pkg
RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR}
do-fetch:
@(if [ ! -f ${KINGDISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
${ECHO} "If CDROM not mounted, mount_cd9660 /dev/cd0a /cdrom; ${MAKE}"; \
${ECHO} "If CDROM mounted to /mnt, ${MAKE} KINGDISTDIR=/mnt/linux"; \
${FALSE}; \
fi)
do-install:
${RM} -f ${PLIST_SRC}
${RPM2PKG} ${RPM2PKGARGS} ${KINGDISTDIR}/${DISTFILES}
@${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \
>> ${PLIST_SRC}
${EMULDIR}/sbin/ldconfig -r ${EMULDIR} || ${TRUE}
show-shlib-type:
@${ECHO} linux-${MACHINE_ARCH}
.include "../../mk/bsd.pkg.mk"
|