Subject: problem with REPLACE_PERL
To: None <tech-pkg@netbsd.org>
From: Niilo Kajander <nk@atki.net>
List: tech-pkg
Date: 11/19/2002 15:23:52
Hoy,

I've got a small problem which is pretty easy to work around but I want
things to be as clean as possible. REPLACE_PERL doesn't do anything in
the following situation:

...
MANCOMPRESSED=		YES
USE_PERL5=		YES
REPLACE_PERL=		hackbot.pl

do-configure:
	${SED} "s,/usr/local/etc,${PREFIX}/share/hackbot,g"
${WRKSRC}/hackbot.pl > ${WRKSRC}/hackbot.pl.done
	${MV} ${WRKSRC}/hackbot.pl.done ${WRKSRC}/hackbot.pl

do-build:

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/hackbot
	${INSTALL_SCRIPT} ${WRKSRC}/hackbot.pl ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/cgi.db ${WRKSRC}/fingerprint.db
${PREFIX}/share/hackbot
	${INSTALL_MAN} ${WRKSRC}/hackbot.1.gz ${PREFIX}/man/man1

.include "../../mk/bsd.pkg.mk"


Worked fine before I started using do-install, I must have overlooked
something.

TIA

-- 
Niilo Kajander <nk@atki.net>