mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
402531876c
. respect NOPORTDOCS; [1] . add a note to pkg-plist that there is no TV support so far; [1] . bump PORTREVISION. Submitted by: Alex Keda <admin at lissyara.su> (maintainer by email) [1]
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: SkyStar2
|
|
# Date created: 15 November 2007
|
|
# Whom: Alex Keda <admin@lissyara.su>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= skystar2
|
|
PORTVERSION= 11
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://paradox.org.ua/ \
|
|
http://lissyara.su/patch/skystar2/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= admin@lissyara.su
|
|
COMMENT= Kernel module and program for SkyStar2, ver. ${PORTVERSION}
|
|
|
|
USE_BZIP2= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
|
|
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-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
|
|
|
|
.include <bsd.port.mk>
|