use REPLACE_PERL instead of SED

This commit is contained in:
zuntum 2001-06-27 11:25:38 +00:00
parent 578c864e81
commit a8c4128002

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2001/06/13 14:54:22 zuntum Exp $
# $NetBSD: Makefile,v 1.2 2001/06/27 11:25:38 zuntum Exp $
#
DISTNAME= poppy-3.1
@ -11,11 +11,7 @@ COMMENT= client to perform simple tasks with a POP3/IMAP server
NO_BUILD= YES
USE_PERL5= YES
post-patch:
${SED} "s,/usr/bin/perl,${LOCALBASE}/bin/perl," \
${WRKSRC}/poppy > ${WRKSRC}/poppy.done
${MV} ${WRKSRC}/poppy.done ${WRKSRC}/poppy
REPLACE_PERL= poppy
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/poppy ${PREFIX}/bin