aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-11-08 19:52:00 +0000
committerRene Ladan <rene@FreeBSD.org>2013-11-08 19:52:00 +0000
commit224821f4317f3e1d216add8910fedb29fa601a04 (patch)
treeba5b3a724a8737b9e4e406b91f5461d9ff7fb39f /emulators
parent1be4e3cbd5b56f6e688ce7c03e414715f67ffaeb (diff)
downloadports-224821f4317f3e1d216add8910fedb29fa601a04.tar.gz
ports-224821f4317f3e1d216add8910fedb29fa601a04.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/rtc/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile
index 3025a50fa032..8e84978f2892 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>