aboutsummaryrefslogtreecommitdiffstats
path: root/comms/cdce/Makefile
blob: 2b0fee2c6088f5f6031f252c6fbe4b0604162381 (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
# New ports collection makefile for:    cdce
# Date Created:             Jan 25, 2005
# Whom:                 Craig Boston <craig@yekse.gank.org>
#
# $FreeBSD$
#

PORTNAME=   cdce
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= comms
MASTER_SITES=   http://www.gank.org/freebsd/cdce/

MAINTAINER= craig@yekse.gank.org
COMMENT=    Driver for point-to-point CDC Ethernet interfaces

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 503000
IGNORE=     "FreeBSD versions prior to 5.3 are not supported"
.endif
NO_PACKAGE= Depends on kernel

pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
    @${ECHO} "*************************************************"; \
    ${ECHO}  "This port requires the kernel source be available"; \
    ${ECHO}  "*************************************************"; \
    exit 1
.endif

do-install:
    ${MKDIR} ${PREFIX}/lib/cdce
    ${INSTALL_SCRIPT} ${WRKSRC}/if_cdce.ko ${PREFIX}/lib/cdce

post-install:
    @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
s='deletions'>-7/+9 * upgrade to 2.1eobrien1999-02-135-82/+213 * Adjust port Makefiles to new EXTRACT_* variable defaults. See log ofasami1999-02-031-2/+2 * Remove a couple of MASTER_SITES. This port still needs to be upgradedfenner1999-01-301-6/+3