diff options
author | rene <rene@FreeBSD.org> | 2014-01-27 03:22:46 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2014-01-27 03:22:46 +0800 |
commit | 7c822840d5a1f3a5bd8d0d96d3ccefa831245542 (patch) | |
tree | 33de266f751b9239d2113eaea063bab5e3d56eed /multimedia/ptx-kmod | |
parent | 6fcb58aa70268d0e0a839b041a14bc5043ff62a9 (diff) | |
download | freebsd-ports-gnome-7c822840d5a1f3a5bd8d0d96d3ccefa831245542.tar.gz freebsd-ports-gnome-7c822840d5a1f3a5bd8d0d96d3ccefa831245542.tar.zst freebsd-ports-gnome-7c822840d5a1f3a5bd8d0d96d3ccefa831245542.zip |
- Support stage
- Include bsd.port.mk once
- Remove comment from myself about KMODDIR
Approved by: portmgr (infrastructure blanket)
Diffstat (limited to 'multimedia/ptx-kmod')
-rw-r--r-- | multimedia/ptx-kmod/Makefile | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/multimedia/ptx-kmod/Makefile b/multimedia/ptx-kmod/Makefile index abe5c71ed59e..299f20f28b06 100644 --- a/multimedia/ptx-kmod/Makefile +++ b/multimedia/ptx-kmod/Makefile @@ -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 - -.include <bsd.port.post.mk> + ${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> |