aboutsummaryrefslogtreecommitdiffstats
path: root/net/ttbudget/Makefile
blob: ba078b0427bb05dab622339eb77c6bcf649de40b (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
# New ports collection makefile for:    SkyStar3
# Date created:     07 June 2008
# Whom:         Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#

PORTNAME=   ttbudget
PORTVERSION=    5.3
PORTREVISION=   1
CATEGORIES= net kld
MASTER_SITES=   http://paradox.lissyara.su/ \
        http://lissyara.su/patch/skystar3/
DISTNAME=   ${PORTNAME}_${PORTVERSION:S/.//}

MAINTAINER= admin@lissyara.su
COMMENT=    Driver for 'TechnoTrend budget DVB S-1401' (SkyStar3)

USE_BZIP2=  yes

.include <bsd.port.pre.mk>

SYSDIR?=    ${SRC_BASE}/sys
KMODDIR=    /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR}
SETENV+=    FROMPORT=1
pre-fetch:
.if !exists(${SYSDIR}/Makefile)
    @${ECHO} "*************************************************"; \
    ${ECHO}  "This port requires the kernel source be available"; \
    ${ECHO}  "*************************************************"; \
    exit 1
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN=     Does not compile on ia64, powerprc, or sparc64
.elif ${OSVERSION} >= 900000
BROKEN=     does not build
.endif

.include <bsd.port.post.mk>