diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2002-04-02 12:37:50 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2002-04-02 12:37:50 +0000 |
commit | ecdb1681020a2351657491d69c6008ae76a1c91b (patch) | |
tree | 61f1329852671b25be35b692744b1756de3ca35f /dns/dhisd | |
parent | 4258c6095c2996ba0baaf4aefe77231bd3a1876e (diff) | |
download | ports-ecdb1681020a2351657491d69c6008ae76a1c91b.tar.gz ports-ecdb1681020a2351657491d69c6008ae76a1c91b.zip |
Replace __PREFIX__ in the rc script.
The maintainer wasn't reachable by myself and by the submitter, so no
review/approval from him.
Approved by: steve
Submitted by: marius@alchemy.franken.de
Notes
Notes:
svn path=/head/; revision=57194
Diffstat (limited to 'dns/dhisd')
-rw-r--r-- | dns/dhisd/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dns/dhisd/Makefile b/dns/dhisd/Makefile index b3c1d9ccbc6c..953896a9e182 100644 --- a/dns/dhisd/Makefile +++ b/dns/dhisd/Makefile @@ -18,8 +18,9 @@ LIB_DEPENDS= gmp.3:${PORTSDIR}/math/libgmp DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README post-patch: + ${CP} ${FILESDIR}/dhisd.sh ${WRKSRC}/dhisd.sh cd ${WRKSRC} && ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" \ - Makefile dhisd.h ${DOCFILES} + Makefile dhisd.h dhisd.sh ${DOCFILES} do-install: @@ -41,7 +42,7 @@ post-install: @${ECHO_CMD} "@dirrm etc/dhis" >> ${TMPPLIST} .if !exists(${PREFIX}/etc/rc.d/dhisd.sh) @${ECHO_MSG} "===> Installing ${PREFIX}/etc/rc.d/dhid.sh startup file." - @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/dhisd.sh ${PREFIX}/etc/rc.d/dhisd.sh + @${INSTALL_SCRIPT} -m 751 ${WRKSRC}/dhisd.sh ${PREFIX}/etc/rc.d/dhisd.sh @${ECHO_CMD} "etc/rc.d/dhisd.sh" >> ${TMPPLIST} .endif .if !defined(NOPORTDOCS) |