diff options
author | vs <vs@FreeBSD.org> | 2005-10-06 21:07:46 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-10-06 21:07:46 +0800 |
commit | b3b75ba82fe2862398b3f55060e839d710babb12 (patch) | |
tree | e690ed9a254f88f4f2044d511be9fa0c9895a0bb /sysutils/diskcheckd | |
parent | 1368e609789119f06c459530fc26e3adb47c7391 (diff) | |
download | freebsd-ports-gnome-b3b75ba82fe2862398b3f55060e839d710babb12.tar.gz freebsd-ports-gnome-b3b75ba82fe2862398b3f55060e839d710babb12.tar.zst freebsd-ports-gnome-b3b75ba82fe2862398b3f55060e839d710babb12.zip |
Use bsd.prog.mk, cleanup a bit
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> |