1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/multimedia/ptx-kmod/Makefile
Rene Ladan 659b67bba3 - Support stage
- Include bsd.port.mk once
- Remove comment from myself about KMODDIR

Approved by:	portmgr (infrastructure blanket)
2014-01-26 19:22:46 +00:00

34 lines
774 B
Makefile

# $FreeBSD$
PORTNAME= ptx
PORTVERSION= 0.0.20111212
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= hrs
PKGNAMESUFFIX= -kmod
DISTNAME= ${PORTNAME}-${PORTVERSION:S,0.0.,,}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Device driver for PT1/PT2 ISDB-S/T tuner cards
LICENSE= GPLv3
ONLY_FOR_ARCHS= amd64 i386
BUILD_WRKSRC= ${WRKSRC}/dev/ptx
PLIST_FILES= ${KMODDIR}/ptx.ko bin/recptx.pl
SUB_LIST= KMODDIR=${KMODDIR}
USE_RC_SUBR= ptx
PORTDOCS= README
OPTIONS_DEFINE= DOCS
USES= kmod
do-install:
${INSTALL_KLD} ${BUILD_WRKSRC}/ptx.ko ${STAGEDIR}${KMODDIR}
${INSTALL_SCRIPT} ${WRKSRC}/tools/recptx.pl ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>