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

PORTNAME=   ttbudget
PORTVERSION=    4
CATEGORIES= net
MASTER_SITES=   http://paradox.org.ua/ \
        http://lissyara.su/patch/skystar3/
DISTNAME=   ${PORTNAME}_${PORTVERSION}

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

USE_BZIP2=  yes
BUILD_WRKSRC=   ${WRKDIR}/${DISTNAME}
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}

.include <bsd.port.mk>