mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
31f4e18f6d
- Switch to OptionsNG - Pet portlint
48 lines
1013 B
Makefile
48 lines
1013 B
Makefile
# Created by: Alex Dupre <ale@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= quantis
|
|
DISTVERSION= v12.09.12
|
|
CATEGORIES= security kld
|
|
MASTER_SITES= http://www.idquantique.com/files/products/quantis/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= ale
|
|
PKGNAMESUFFIX= -kmod
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
COMMENT= Kernel driver for Quantis PCI/PCIe random number generator
|
|
|
|
LICENSE= BSD GPLv2
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE= ${WRKDIR}/Quantis-${DISTVERSION}/License.txt
|
|
|
|
USE_ZIP= yes
|
|
EXTRACT_BEFORE_ARGS= -aqo
|
|
|
|
WRKSRC= ${WRKDIR}/Quantis-${DISTVERSION}/Drivers/Unix/QuantisPci
|
|
|
|
KMODDIR?= /boot/modules
|
|
|
|
MAKE_ENV+= KMODDIR=${KMODDIR}
|
|
|
|
PLIST_FILES= "@cwd ${KMODDIR}" \
|
|
"quantis.ko" \
|
|
"@unexec kldxref ${KMODDIR}" \
|
|
"@cwd ${PREFIX}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700000
|
|
IGNORE= requires FreeBSD >= 7
|
|
.endif
|
|
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
|
IGNORE= requires kernel source to be installed
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|