Changeset View
Changeset View
Standalone View
Standalone View
graphics/nvidia-drm-kmod/Makefile.common
Show All 9 Lines | |||||
SUB_FILES= 20-nvidia-drm-outputclass.conf | SUB_FILES= 20-nvidia-drm-outputclass.conf | ||||
RUN_DEPENDS+= ${KMODDIR}/nvidia.ko:x11/nvidia-driver | RUN_DEPENDS+= ${KMODDIR}/nvidia.ko:x11/nvidia-driver | ||||
.include "${.CURDIR}/../../x11/nvidia-driver/Makefile.version" | .include "${.CURDIR}/../../x11/nvidia-driver/Makefile.version" | ||||
LICENSE_FILE= ${WRKSRC}/nvidia/doc/license.txt | LICENSE_FILE= ${WRKSRC}/nvidia/doc/license.txt | ||||
NVIDIA_GH_TAGNAME= ${PORTNAME}-${PORTVERSION} | NVIDIA_GH_TAGNAME= ${PKGNAME} | ||||
arrowd: Why change this? I find `${PORTNAME}-${PORTVERSION}` more clear. | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= amshafer freebsd:drm | GH_ACCOUNT= amshafer freebsd:drm | ||||
GH_PROJECT= nvidia-driver drm-kmod:drm | GH_PROJECT= nvidia-driver drm-kmod:drm | ||||
GH_TAGNAME:= ${NVIDIA_GH_TAGNAME} ${DRM_KMOD_GH_TAGNAME}:drm | GH_TAGNAME:= ${NVIDIA_GH_TAGNAME} ${DRM_KMOD_GH_TAGNAME}:drm | ||||
PLIST_FILES= ${KMODDIR}/nvidia-drm.ko \ | PLIST_FILES= ${KMODDIR}/nvidia-drm.ko \ | ||||
share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf | share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf | ||||
MAKE_ENV+= DRMKMODDIR=${WRKDIR}/drm-kmod-${DRM_KMOD_GH_TAGNAME}/ | MAKE_ENV+= DRMKMODDIR=${WRKDIR}/drm-kmod-${DRM_KMOD_GH_TAGNAME}/ | ||||
WRKSRC_SUBDIR= nvidia/src/nvidia-drm/ | WRKSRC_SUBDIR= nvidia/src/nvidia-drm/ | ||||
post-install: | post-install: | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/X11/xorg.conf.d/ | ${MKDIR} ${STAGEDIR}${PREFIX}/share/X11/xorg.conf.d/ | ||||
${INSTALL_DATA} ${WRKDIR}/20-nvidia-drm-outputclass.conf ${STAGEDIR}${PREFIX}/share/X11/xorg.conf.d/ | ${INSTALL_DATA} ${WRKDIR}/20-nvidia-drm-outputclass.conf ${STAGEDIR}${PREFIX}/share/X11/xorg.conf.d/ |
Why change this? I find ${PORTNAME}-${PORTVERSION} more clear.