mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
8496822760
PR: 249264 Submitted by: maintainer
31 lines
652 B
Makefile
31 lines
652 B
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rtc
|
|
PORTVERSION= 2020.07.07.1
|
|
CATEGORIES= emulators linux
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= jamie@catflap.org
|
|
COMMENT= Kernel module which provides /dev/rtc device support
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= kmod uidfix
|
|
|
|
WRKSRC= ${WRKDIR}/files
|
|
|
|
MAKE_ARGS= KMODDIR="${KMODDIR}"
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@cd ${FILESDIR} && ${CP} Makefile *.[ch] ${WRKSRC}/
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/rtc.h ${STAGEDIR}${PREFIX}/include
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/test.c ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|