svn commit: r331477 - in head/sysutils/mptd: . files
Mark Felder
feld at FreeBSD.org
Thu Oct 24 11:35:05 UTC 2013
Author: feld
Date: Thu Oct 24 11:35:03 2013
New Revision: 331477
URL: http://svnweb.freebsd.org/changeset/ports/331477
Log:
STAGE support
Fix incorrect path in rc script
Approved by: swills (mentor)
Modified:
head/sysutils/mptd/Makefile
head/sysutils/mptd/files/mptd.in
Modified: head/sysutils/mptd/Makefile
==============================================================================
--- head/sysutils/mptd/Makefile Thu Oct 24 11:34:55 2013 (r331476)
+++ head/sysutils/mptd/Makefile Thu Oct 24 11:35:03 2013 (r331477)
@@ -3,6 +3,7 @@
PORTNAME= mptd
PORTVERSION= 0.01
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/
@@ -12,8 +13,7 @@ COMMENT= Monitoring daemon for mpt RAID
USE_RC_SUBR= mptd
PLIST_FILES+= sbin/mptd
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mptd ${PREFIX}/sbin/mptd
+ ${INSTALL_PROGRAM} ${WRKSRC}/mptd ${STAGEDIR}${PREFIX}/sbin/mptd
.include <bsd.port.mk>
Modified: head/sysutils/mptd/files/mptd.in
==============================================================================
--- head/sysutils/mptd/files/mptd.in Thu Oct 24 11:34:55 2013 (r331476)
+++ head/sysutils/mptd/files/mptd.in Thu Oct 24 11:35:03 2013 (r331477)
@@ -19,9 +19,9 @@ stop_cmd="killall -9 mptd > /dev/null 2>
mptd_start()
{
- if [ -x "%%PREFIX%%/bin/mptd" -a -e "/dev/mpt0" ]; then
+ if [ -x "%%PREFIX%%/sbin/mptd" -a -e "/dev/mpt0" ]; then
echo "Starting mptd."
- %%PREFIX%%/bin/mptd ${raid_alert_mailto}
+ %%PREFIX%%/sbin/mptd ${raid_alert_mailto}
fi
}
More information about the svn-ports-head
mailing list