diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2002-09-20 17:36:26 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2002-09-20 17:36:26 +0000 |
commit | 480380d54715c8432e641a6411759a2d994cddbf (patch) | |
tree | 6a0745a514e2db9c3de127086a3d02ce61083e7c /net/loadd | |
parent | 973cb7e987d8fa0e02aaff7b25d9db71639329dc (diff) | |
download | ports-480380d54715c8432e641a6411759a2d994cddbf.tar.gz ports-480380d54715c8432e641a6411759a2d994cddbf.zip |
Notes
Diffstat (limited to 'net/loadd')
-rw-r--r-- | net/loadd/Makefile | 7 | ||||
-rw-r--r-- | net/loadd/files/010.loadd.sh | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/net/loadd/Makefile b/net/loadd/Makefile index 8b1ad2dff701..e9459f686380 100644 --- a/net/loadd/Makefile +++ b/net/loadd/Makefile @@ -14,6 +14,9 @@ MAINTAINER= sysadmin@alexdupre.com LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12 +USE_REINPLACE= YES +REINPLACE_ARGS= #empty + DOCS= INSTALL LICENSE README TODO PKGMESSAGE= ${WRKDIR}/pkg-message @@ -21,8 +24,8 @@ MAKE_ENV+= CPPFLAGS="-DPREFIX=\\\"${PREFIX}\\\"" MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" post-build: - @${SED} 's,%%PREFIX%%,${PREFIX},g' ${.CURDIR}/pkg-message.in \ - > ${WRKDIR}/pkg-message + ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \ + ${.CURDIR}/pkg-message.in > ${WRKDIR}/pkg-message do-install: @${ECHO_CMD} "Installing files..." diff --git a/net/loadd/files/010.loadd.sh b/net/loadd/files/010.loadd.sh index a20c4440d37b..27fcbc9d9ce6 100644 --- a/net/loadd/files/010.loadd.sh +++ b/net/loadd/files/010.loadd.sh @@ -16,7 +16,7 @@ case "$1" in start) case ${loadd_enable:-NO} in [Yy][Ee][Ss]) - [ -f ${PREFIX}/etc/loadd.conf && ${loadd_program:-${PREFIX}/libexec/loadd} ${loadd_flags:--d} && echo -n ' loadd' + [ -f ${PREFIX}/etc/loadd.conf ] && ${loadd_program:-${PREFIX}/libexec/loadd} ${loadd_flags:--d} && echo -n ' loadd' ;; esac ;; |