aboutsummaryrefslogtreecommitdiff
path: root/emulators/rtc/Makefile
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-11-03 16:46:21 +0000
committerRene Ladan <rene@FreeBSD.org>2013-11-03 16:46:21 +0000
commit7070b5217ef0165465fd01a72f28277528b9e332 (patch)
treeedf51b10229697af429bef2b8f16b7402af22974 /emulators/rtc/Makefile
parent56d4c68624cd205ea6525ffbf195c79b52192d0d (diff)
downloadports-7070b5217ef0165465fd01a72f28277528b9e332.tar.gz
ports-7070b5217ef0165465fd01a72f28277528b9e332.zip
Notes
Diffstat (limited to 'emulators/rtc/Makefile')
-rw-r--r--emulators/rtc/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile
index bf9c2d4ed830..3025a50fa032 100644
--- a/emulators/rtc/Makefile
+++ b/emulators/rtc/Makefile
@@ -4,7 +4,7 @@
PORTNAME= rtc
PORTVERSION= 2004.02.24.1
PORTREVISION= 8
-CATEGORIES= emulators linux kld
+CATEGORIES= emulators linux
MASTER_SITES= # none
DISTFILES= # none
@@ -13,7 +13,6 @@ COMMENT= Kernel module which provides /dev/rtc device support
WRKSRC= ${WRKDIR}/files
-SSP_UNSAFE= kernel module does not support ssp
NO_FETCH= yes
USE_LINUX= yes # because of ${DEVDIR}
@@ -28,13 +27,9 @@ PLIST_SUB= DEVDIR="${DEVDIR}" CDEV_MAJOR="${CDEV_MAJOR}" \
RTC_H_DIR="${RTC_H_DIR}"
NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-SRC_BASE?= /usr/src
-.if !exists(${SRC_BASE}/sys/Makefile)
-IGNORE= needs kernel source files
-.endif
+USES= kmod
+.include <bsd.port.pre.mk>
do-extract:
@${MKDIR} ${WRKSRC}
@@ -42,9 +37,6 @@ do-extract:
${FILESDIR}/${STARTUP} > ${WRKDIR}/${STARTUP}
@cd ${FILESDIR} && ${CP} Makefile *.[ch] ${WRKSRC}/
-pre-install:
- ${MKDIR} ${KMODDIR}
-
post-install:
${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/
${MKDIR} ${PREFIX}/share/examples/rtc