diff options
author | rene <rene@FreeBSD.org> | 2013-11-09 03:52:00 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-11-09 03:52:00 +0800 |
commit | 7687d525f98a30a79ac708e6db84b59b94d01dd2 (patch) | |
tree | ba5b3a724a8737b9e4e406b91f5461d9ff7fb39f /emulators/rtc | |
parent | e70e6f633bc036454b62ae8e047e92ffefac94f4 (diff) | |
download | freebsd-ports-graphics-7687d525f98a30a79ac708e6db84b59b94d01dd2.tar.gz freebsd-ports-graphics-7687d525f98a30a79ac708e6db84b59b94d01dd2.tar.zst freebsd-ports-graphics-7687d525f98a30a79ac708e6db84b59b94d01dd2.zip |
- Add stage support
- Only include bsd.port.mk once
Diffstat (limited to 'emulators/rtc')
-rw-r--r-- | emulators/rtc/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile index 3025a50fa03..8e84978f289 100644 --- a/emulators/rtc/Makefile +++ b/emulators/rtc/Makefile @@ -26,10 +26,7 @@ MAKE_ARGS= KMODDIR="${KMODDIR}" CDEV_MAJOR="${CDEV_MAJOR}" PLIST_SUB= DEVDIR="${DEVDIR}" CDEV_MAJOR="${CDEV_MAJOR}" \ RTC_H_DIR="${RTC_H_DIR}" -NO_STAGE= yes - USES= kmod -.include <bsd.port.pre.mk> do-extract: @${MKDIR} ${WRKSRC} @@ -38,10 +35,10 @@ do-extract: @cd ${FILESDIR} && ${CP} Makefile *.[ch] ${WRKSRC}/ post-install: - ${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/ - ${MKDIR} ${PREFIX}/share/examples/rtc - ${INSTALL_DATA} ${WRKSRC}/test.c ${PREFIX}/share/examples/rtc/ + ${INSTALL_DATA} ${WRKSRC}/rtc.h ${STAGEDIR}${PREFIX}/include + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/test.c ${STAGEDIR}${EXAMPLESDIR} @${ECHO} "Installing ${PREFIX}/etc/rc.d/${STARTUP} startup file."; - ${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP} ${PREFIX}/etc/rc.d/ + ${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP} ${STAGEDIR}${PREFIX}/etc/rc.d -.include <bsd.port.post.mk> +.include <bsd.port.mk> |