freebsd-ports/multimedia/ptx-kmod/Makefile
Mathieu Arnold 88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00

34 lines
797 B
Makefile

# $FreeBSD$
PORTNAME= ptx
PORTVERSION= 0.0.20111212
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= LOCAL/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 shebangfix
SHEBANG_FILES= tools/recptx.pl
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>