diff options
author | netchild <netchild@FreeBSD.org> | 2002-04-02 20:37:50 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2002-04-02 20:37:50 +0800 |
commit | cc178b19799346b514240577dec0451cd57930f1 (patch) | |
tree | 668bfa444d345cd13042f7cec10f51351b938991 /dns | |
parent | b30a06a848e98e883ef16501798ba4faaf5eb816 (diff) | |
download | freebsd-ports-gnome-cc178b19799346b514240577dec0451cd57930f1.tar.gz freebsd-ports-gnome-cc178b19799346b514240577dec0451cd57930f1.tar.zst freebsd-ports-gnome-cc178b19799346b514240577dec0451cd57930f1.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
Diffstat (limited to 'dns')
-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) |