diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-04-14 20:13:55 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-04-14 20:13:55 +0000 |
commit | 688db8336398d4fb4c8c424602af10926082afb6 (patch) | |
tree | 02b3456454e232bef30ca4bc1c3ef31011464b39 /emulators/rtc/Makefile | |
parent | aa16e93c2ab8764323dda6d1cafaf1b265bf2acf (diff) | |
download | ports-688db8336398d4fb4c8c424602af10926082afb6.tar.gz ports-688db8336398d4fb4c8c424602af10926082afb6.zip |
Notes
Diffstat (limited to 'emulators/rtc/Makefile')
-rw-r--r-- | emulators/rtc/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile index b23a8edc7f76..07c8364ef2b4 100644 --- a/emulators/rtc/Makefile +++ b/emulators/rtc/Makefile @@ -19,11 +19,11 @@ LINUX_DIR= /compat/linux KMODDIR= ${PREFIX}/modules CDEV_MAJOR= 202 -DEVFILE= /dev/rtc +DEVDIR= ${LINUX_DIR}/dev STARTUP= rtc.sh MAKE_ARGS= KMODDIR="${KMODDIR}" CDEV_MAJOR="${CDEV_MAJOR}" -PLIST_SUB= DEVFILE="${DEVFILE}" CDEV_MAJOR="${CDEV_MAJOR}" RTC_H_DIR="${RTC_H_DIR}" +PLIST_SUB= DEVDIR="${DEVDIR}" CDEV_MAJOR="${CDEV_MAJOR}" RTC_H_DIR="${RTC_H_DIR}" .include <bsd.port.pre.mk> @@ -46,10 +46,11 @@ do-extract: pre-install: ${MKDIR} ${KMODDIR} + ${MKDIR} ${DEVDIR} post-install: - ${RM} -f ${DEVFILE} - mknod ${DEVFILE} c ${CDEV_MAJOR} 0 + ${RM} -f ${DEVDIR}/rtc + mknod ${DEVDIR}/rtc c ${CDEV_MAJOR} 0 ${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/ ${MKDIR} ${PREFIX}/share/examples/rtc ${INSTALL_DATA} ${WRKSRC}/test.c ${PREFIX}/share/examples/rtc/ |