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 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 +.include