1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/emulators/rtc/Makefile
Kurt Jaeger 75ce806e1e emulators/rtc: update 2004.02.24.1 -> 2020.07.07.1
- submitter becomes maintainer
- Install kmod into /boot/modules instead of /usr/local
- Cleared out bits dating back to pre-devfs
- Removed #ifdef bits related to FreeBSD <= 4.X and FreeBSD <= 8.X
- Olegs fixes for FreeBSD 11.X and FreeBSD 12.X+
- Removed "USES= linux uidfix" - whilst this provides functionality
  that is "often" used by linux programs, that's not necessarily the
  case, and this module doesn't require any linux subsystem or
  kernel MOD to operate.
- Removed oldstyle rtc.sh - include pkg-message showing how to load
  from the rc.conf "kld_list" mechanism.
- Fixed typo in "test.c" -> /dec -> /dev
- Fixed path to "rtc.h" in "test.c"

PR:		233057
Submitted by:	Jamie Landeg-Jones <jamie@catflap.org>
2020-09-01 09:04:32 +00:00

31 lines
645 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
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>