blob: a7cc2b56111a99f2d6358b78b998c35d312c9a68 (
plain) (
blame)
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
|
# New ports collection makefile for: ib
# Date created: 27 February 2008
# Whom: Tofig Suleymanov <tofig@freebsd.az>
#
# $FreeBSD$
#
PORTNAME= ib
PORTVERSION= 1.0.2
CATEGORIES= comms kld
MASTER_SITES= http://www.freebsd.az/other/
PKGNAMESUFFIX= -kmod
MAINTAINER= tofig@freebsd.az
COMMENT= Driver for the Kyocera UTU Iburst modem
MODULES_WITH_WORLD?= yes
ONLY_FOR_ARCHS= i386
SUB_FILES= pkg-install pkg-deinstall pkg-message
SUB_LIST+= KMODDIR=${KMODDIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
KMODDIR?= /boot/modules
PLIST_FILES= "@cwd ${KMODDIR}" \
if_ib.ko
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800064
BROKEN= does not build
.endif
pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
@${ECHO} "*************************************************"; \
${ECHO} "This port requires the kernel source be available"; \
${ECHO} "*************************************************"; \
exit 1
.endif
do-install:
@${INSTALL_KLD} ${WRKSRC}/src/sys/modules/ib/if_ib.ko ${KMODDIR}
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|