diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2002-09-20 17:45:51 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2002-09-20 17:45:51 +0000 |
commit | c79372c0c67394a15d1cec1d74edfb8a261d839e (patch) | |
tree | cb73e17bf983b50a86c8ac6c2e5626747a7510e1 /net/lmd | |
parent | 480380d54715c8432e641a6411759a2d994cddbf (diff) | |
download | ports-c79372c0c67394a15d1cec1d74edfb8a261d839e.tar.gz ports-c79372c0c67394a15d1cec1d74edfb8a261d839e.zip |
Notes
Diffstat (limited to 'net/lmd')
-rw-r--r-- | net/lmd/Makefile | 8 | ||||
-rw-r--r-- | net/lmd/pkg-plist | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/net/lmd/Makefile b/net/lmd/Makefile index 1cf69392eec3..1fb8870b8e1e 100644 --- a/net/lmd/Makefile +++ b/net/lmd/Makefile @@ -12,6 +12,9 @@ MASTER_SITES= http://www.bsdshell.net/download/ MAINTAINER= sysadmin@alexdupre.com +USE_REINPLACE= YES +REINPLACE_ARGS= #empty + MODULES= ldd_http_module.so DOCS= INSTALL LICENSE README PKGMESSAGE= ${WRKDIR}/pkg-message @@ -19,12 +22,13 @@ PKGMESSAGE= ${WRKDIR}/pkg-message MAKE_ENV+= CPPFLAGS="-DPREFIX=\\\"${PREFIX}\\\"" 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..." @${INSTALL_PROGRAM} ${WRKSRC}/lmd ${PREFIX}/sbin/lmd + @${INSTALL_SCRIPT} ${FILESDIR}/lmd.sh ${PREFIX}/etc/rc.d/lmd.sh @${INSTALL_DATA} ${WRKSRC}/lmd.conf ${PREFIX}/etc/lmd.conf.sample .for f in ${MODULES} @${INSTALL_DATA} ${WRKSRC}/modules_check/${f} ${PREFIX}/lib/ diff --git a/net/lmd/pkg-plist b/net/lmd/pkg-plist index 82458824c348..6bc546004a57 100644 --- a/net/lmd/pkg-plist +++ b/net/lmd/pkg-plist @@ -1,4 +1,5 @@ sbin/lmd +etc/rc.d/lmd.sh etc/lmd.conf.sample lib/ldd_http_module.so %%PORTDOCS%%share/doc/lmd/README |