# New ports collection makefile for: SkyStar2 # Date created: 15 November 2007 # Whom: Alex Keda # # $FreeBSD$ # PORTNAME= skystar2 PORTVERSION= 1.32 PORTEPOCH= 1 CATEGORIES= net kld MASTER_SITES= http://paradox.lissyara.su/ \ http://lissyara.su/patch/skystar2/ DISTNAME= ${PORTNAME}.8_${PORTVERSION:S/.//} MAINTAINER= admin@lissyara.su COMMENT= Kernel module and program for SkyStar2/SkyStar2.8A USE_BZIP2= yes .include SYSDIR?= ${SRC_BASE}/sys KMODDIR= /boot/modules PLIST_SUB+= KMODDIR=${KMODDIR} PORTDOCS= readme pre-fetch: .if !exists(${SYSDIR}/Makefile) @${ECHO} "*************************************************"; \ ${ECHO} "This port requires the kernel source be available"; \ ${ECHO} "*************************************************"; \ exit 1 .endif post-extract: @${REINPLACE_CMD} -e 's#/usr/local#${PREFIX}#g' \ ${WRKSRC}/dvbnet/Makefile \ ${WRKSRC}/dvbtune/Makefile \ ${WRKSRC}/monitor/Makefile pre-install: ${INSTALL} -d ${KMODDIR} post-install: @${INSTALL_DATA} ${WRKSRC}/etc/channels.conf.dist ${PREFIX}/etc/ @${CAT} ${PKGMESSAGE} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif .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