1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/emulators/rtc/Makefile
Vanilla I. Shu 8496822760 Add 'uidfix' to allow package building by non-root
PR:		249264
Submitted by:	maintainer
2020-09-14 05:44:33 +00:00

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>