diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-06-14 18:44:10 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-06-14 18:44:10 +0000 |
commit | 60792b3ad18b1501d8e92b99c828a1b0328262b5 (patch) | |
tree | 925ae0e594ecfff83db450cdde0686bc72f4ccc6 /sysutils/smartmontools/Makefile | |
parent | 397176cfa3caf099c12a8572e06f59fe874c0b66 (diff) |
Notes
Diffstat (limited to 'sysutils/smartmontools/Makefile')
-rw-r--r-- | sysutils/smartmontools/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile index dacd1b76fb1d..c0bec1e450a8 100644 --- a/sysutils/smartmontools/Makefile +++ b/sysutils/smartmontools/Makefile @@ -6,7 +6,7 @@ # PORTNAME= smartmontools -PORTVERSION= 5.40 +PORTVERSION= 5.41 CATEGORIES= sysutils MASTER_SITES= SF @@ -21,8 +21,9 @@ USE_GMAKE= yes # hack to prevent gmake failure on 6.xx GMAKE= make GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample \ - --disable-dependency-tracking --enable-drivedb +CONFIGURE_ARGS= --disable-dependency-tracking \ + --enable-drivedb --enable-sample \ + --with-docdir=${DOCSDIR} --with-initscriptdir=${PREFIX}/etc/rc.d SUB_FILES= pkg-message smart USE_RC_SUBR= smartd @@ -33,11 +34,12 @@ MAN8= smartd.8 smartctl.8 CFLAGS:= ${CFLAGS:S/-O2/-O/} -Wno-write-strings post-patch: - @${REINPLACE_CMD} -e 's| install-initdDATA | |' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in post-install: ${MKDIR} ${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${WRKDIR}/smart ${PREFIX}/etc/periodic/daily/smart + ${INSTALL_SCRIPT} ${WRKSRC}/smartd.freebsd.initd ${PREFIX}/etc/rc.d/smartd @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |