Changeset View
Changeset View
Standalone View
Standalone View
graphics/kms-drm/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Created by: Johannes Dieterich <jmd@FreeBSD.org> | |||||
# $FreeBSD$ | |||||
PORTNAME= kms-drm | |||||
PORTVERSION= g20170404 | |||||
CATEGORIES= graphics | |||||
mat: For ports where upstream does not define version numbers, and coming from git, it is customary… | |||||
Done Inline ActionsThis does not do anything, remove it. mat: This does not do anything, remove it. | |||||
MAINTAINER= jmd@FreeBSD.org | |||||
COMMENT= DRM modules for the linuxkpi-based KMS components | |||||
LICENSE= MIT GPLv2 | |||||
LICENSE_COMB= multi | |||||
RUN_DEPENDS= ${KMODDIR}/amdgpu_carrizo_ce_bin.ko:graphics/kms-firmware | |||||
reznyUnsubmitted Not Done Inline ActionsRather than than depend on a random file you can use the package name, i.e. RUN_DEPENDS= kms-firmware>0:graphics/kms-firmware, which also lets you specify a version requirement. rezny: Rather than than depend on a random file you can use the package name, i.e. RUN_DEPENDS= kms… | |||||
jmdAuthorUnsubmitted Not Done Inline ActionsGood point concerning the generic import. I think kms-firmware is good. The firmware is not useful beyond KMS and will be loaded by KMS. jmd: Good point concerning the generic import. I think kms-firmware is good. The firmware is not… | |||||
ONLY_FOR_ARCHS= amd64 | |||||
ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64 | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= FreeBSDDesktop | |||||
GH_TAGNAME= 0d5ebc0 | |||||
Done Inline ActionsThis is the default and should not be set. mat: This is the default and should not be set. | |||||
USES= kmod | |||||
.include <bsd.port.pre.mk> | |||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200019 | |||||
IGNORE= not supported on 11.x or older, no kernel support | |||||
.endif | |||||
.include <bsd.port.post.mk> |
For ports where upstream does not define version numbers, and coming from git, it is customary to prepend 'g' to the date based version, something like this:
So that, if, one day, upstream starts using a version, say, 1.0, it will just work.