1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support stage

- Include bsd.port.mk once
- Remove comment from myself about KMODDIR

Approved by:	portmgr (infrastructure blanket)
This commit is contained in:
Rene Ladan 2014-01-26 19:22:46 +00:00
parent 2d27e3e137
commit 659b67bba3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341260

View File

@ -13,9 +13,6 @@ COMMENT= Device driver for PT1/PT2 ISDB-S/T tuner cards
LICENSE= GPLv3
#XXX rene: change KMODDIR from ${PREFIX}/libexec/${PORTNAME} to
# the default /boot/modules to get directories right
ONLY_FOR_ARCHS= amd64 i386
BUILD_WRKSRC= ${WRKSRC}/dev/ptx
PLIST_FILES= ${KMODDIR}/ptx.ko bin/recptx.pl
@ -25,17 +22,12 @@ PORTDOCS= README
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
USES= kmod
.include <bsd.port.pre.mk>
do-install:
${INSTALL_KLD} ${BUILD_WRKSRC}/ptx.ko ${KMODDIR}
${INSTALL_SCRIPT} ${WRKSRC}/tools/recptx.pl ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
${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.post.mk>
.include <bsd.port.mk>