diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-10-06 13:07:46 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-10-06 13:07:46 +0000 |
commit | da1d2485d52d445a5b029ad9cb92d0228851e8ec (patch) | |
tree | 740421a60912d0d0dd3b67796ba8e2368d825ca0 /sysutils/diskcheckd | |
parent | d4d7e2ee600dc92dcaff29809f55fe7c5e8d2e06 (diff) | |
download | ports-da1d2485d52d445a5b029ad9cb92d0228851e8ec.tar.gz ports-da1d2485d52d445a5b029ad9cb92d0228851e8ec.zip |
Notes
Diffstat (limited to 'sysutils/diskcheckd')
-rw-r--r-- | sysutils/diskcheckd/Makefile | 8 | ||||
-rw-r--r-- | sysutils/diskcheckd/files/Makefile | 9 |
2 files changed, 4 insertions, 13 deletions
diff --git a/sysutils/diskcheckd/Makefile b/sysutils/diskcheckd/Makefile index 32111d927478..515c6ff9ecea 100644 --- a/sysutils/diskcheckd/Makefile +++ b/sysutils/diskcheckd/Makefile @@ -25,22 +25,23 @@ USE_REINPLACE= yes NO_WRKSUBDIR= yes CFLAGS+= -D_PATH_CONF='\"${PREFIX}/etc/diskcheckd.conf\"' +MAKEFILE= /usr/share/mk/bsd.prog.mk +MAKE_ARGS= PROG=diskcheckd MAN8=${MAN8} .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 -IGNORE= "Not tested on anything less than 5.0, use at discretion" +IGNORE= Not tested on anything less than 5.0, use at discretion .endif do-extract: @${MKDIR} ${WRKSRC} -.for file in Makefile diskcheckd.c diskcheckd.8 +.for file in diskcheckd.c diskcheckd.8 @(cd ${WRKSRC} ; ${CP} ${FILESDIR}/${file} .) .endfor do-patch: - @${REINPLACE_CMD} -e 's|/usr/local/sbin|${PREFIX}/sbin|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|/usr/local/etc/diskcheckd.conf|${PREFIX}/etc/diskcheckd.conf|g' ${WRKSRC}/diskcheckd.8 do-install: @@ -48,6 +49,5 @@ do-install: ${INSTALL_DATA} ${FILESDIR}/diskcheckd.conf ${PREFIX}/etc/diskcheckd.conf.sample ${INSTALL_SCRIPT} ${FILESDIR}/diskcheckd.sh ${PREFIX}/etc/rc.d ${INSTALL_MAN} ${WRKSRC}/diskcheckd.8 ${PREFIX}/man/man8 - ${LN} -sf ${PREFIX}/man/man8/diskcheckd.8 ${PREFIX}/man/man5/diskcheckd.conf.5 .include <bsd.port.post.mk> diff --git a/sysutils/diskcheckd/files/Makefile b/sysutils/diskcheckd/files/Makefile deleted file mode 100644 index ac43ee02e970..000000000000 --- a/sysutils/diskcheckd/files/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -BINDIR?= /usr/local/sbin - -PROG= diskcheckd -MAN8= diskcheckd.8 -MLINKS= diskcheckd.8 diskcheckd.conf.5 - -.include <bsd.prog.mk> |