blob: 14007b0b6e32b3263ebd81cf077531d91f67e323 (
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
52
53
54
55
56
57
|
# $NetBSD: Makefile,v 1.11 2000/09/28 15:51:19 sakamoto 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/
IS_INTERACTIVE= yes
RESTRICTED= "A commercial licence needs to be purchased from IBM Corp"
NO_BIN_ON_CDROM=${RESTRICTED}
NO_SRC_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
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
CHECK_SHLIBS= no
RPM2PKG= ${PREFIX}/sbin/rpm2pkg
RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR}
pre-fetch:
@(file=""; for d in "" ${DIST_PATH:S/:/ /g}; do \
if [ "X$$d" = "X" -o "X$$d" = "X${DISTDIR}" ]; then continue; fi; \
if [ -f $$d/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
file=${DISTNAME}${EXTRACT_SUFX}; \
fi; \
done; \
if [ \! $$file ]; then \
${ECHO} "If CDROM not mounted, mount_cd9660 /dev/cd0a /cdrom; ${MAKE} DIST_PATH=/cdrom/linux"; \
${ECHO} "If CDROM mounted to /mnt, ${MAKE} DIST_PATH=/mnt/linux"; \
${FALSE}; \
fi)
do-install:
${RM} -f ${PLIST_SRC}
${RPM2PKG} ${RPM2PKGARGS} ${_DISTDIR}/${DIST_SUBDIR}/${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"
|