diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2020-02-23 20:46:13 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2020-02-23 20:46:13 +0000 |
commit | f4cf92fe72d3b28cc66fa29fe110c706d5f0a8b7 (patch) | |
tree | 9e6b3eaefd50b8fa94bfd7509bff3c5899b94712 /multimedia/ptx-kmod | |
parent | d17e783048f36497a3e5dde3ed846c2bd1e239dd (diff) | |
download | ports-f4cf92fe72d3b28cc66fa29fe110c706d5f0a8b7.tar.gz ports-f4cf92fe72d3b28cc66fa29fe110c706d5f0a8b7.zip |
- Fix build on -current.
- Fix PLIST when !DOCS.
- Minor style cleanups.
Notes
Notes:
svn path=/head/; revision=526944
Diffstat (limited to 'multimedia/ptx-kmod')
-rw-r--r-- | multimedia/ptx-kmod/Makefile | 13 | ||||
-rw-r--r-- | multimedia/ptx-kmod/files/patch-dev-ptx-ptx.h | 10 |
2 files changed, 18 insertions, 5 deletions
diff --git a/multimedia/ptx-kmod/Makefile b/multimedia/ptx-kmod/Makefile index 89a4e4cf3232..fd5012c4d7f1 100644 --- a/multimedia/ptx-kmod/Makefile +++ b/multimedia/ptx-kmod/Makefile @@ -2,7 +2,7 @@ PORTNAME= ptx PORTVERSION= 0.0.20111212 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= LOCAL/hrs PKGNAMESUFFIX= -kmod @@ -14,20 +14,23 @@ COMMENT= Device driver for PT1/PT2 ISDB-S/T tuner cards LICENSE= GPLv3 ONLY_FOR_ARCHS= amd64 i386 + +USES= kmod shebangfix +SHEBANG_FILES= tools/recptx.pl +USE_RC_SUBR= ptx + 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 + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} diff --git a/multimedia/ptx-kmod/files/patch-dev-ptx-ptx.h b/multimedia/ptx-kmod/files/patch-dev-ptx-ptx.h new file mode 100644 index 000000000000..b64d4b84a53a --- /dev/null +++ b/multimedia/ptx-kmod/files/patch-dev-ptx-ptx.h @@ -0,0 +1,10 @@ +--- dev/ptx/ptx.h.orig 2011-12-13 19:19:39 UTC ++++ dev/ptx/ptx.h +@@ -4,6 +4,7 @@ + + #include <sys/bus.h> + #include <sys/types.h> ++#include <sys/lock.h> + #include <sys/mutex.h> + #include <sys/module.h> + #include <sys/kernel.h> |