aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ptx-kmod/Makefile20
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>