diff options
author | ume <ume@FreeBSD.org> | 2003-03-24 01:10:47 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-03-24 01:10:47 +0800 |
commit | 18ce8317475b4d7557d3e71b6bed8991ee89e053 (patch) | |
tree | b158d57a42084ca8007c1dc47f2122d77462ed5b /mail/cyrus-imapd24/Makefile | |
parent | 5bf7b51d04cbd225f980e9f842a5b516e5263344 (diff) | |
download | freebsd-ports-gnome-18ce8317475b4d7557d3e71b6bed8991ee89e053.tar.gz freebsd-ports-gnome-18ce8317475b4d7557d3e71b6bed8991ee89e053.tar.zst freebsd-ports-gnome-18ce8317475b4d7557d3e71b6bed8991ee89e053.zip |
Use REINPLACE_CMD.
Diffstat (limited to 'mail/cyrus-imapd24/Makefile')
-rw-r--r-- | mail/cyrus-imapd24/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile index beeedeb3f454..4b3405e418f3 100644 --- a/mail/cyrus-imapd24/Makefile +++ b/mail/cyrus-imapd24/Makefile @@ -24,6 +24,7 @@ BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2 USE_PERL5= yes +USE_REINPLACE= YES GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \ --with-cyrus-user=${CYRUS_USER} \ @@ -92,17 +93,13 @@ post-patch: ${.CURDIR}/pkg-install > ${PKGINSTALL} @${SED} -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ ${.CURDIR}/pkg-deinstall > ${PKGDEINSTALL} - @${SED} -e "s|/etc/|${PREFIX}/etc/|" \ - -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ - -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ - ${WRKSRC}/tools/mkimap > ${WRKSRC}/tools/mkimap.new - @${MV} ${WRKSRC}/tools/mkimap.new ${WRKSRC}/tools/mkimap + @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ + -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ + -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ + ${WRKSRC}/tools/mkimap @${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 .if ${PERL_LEVEL} < 500600 - @${SED} -e "s|exec perl -x|exec perl -I${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} -x|" \ - ${WRKSRC}/perl/sieve/scripts/sieveshell.pl \ - > ${WRKSRC}/perl/sieve/scripts/sieveshell.pl.new - @${MV} ${WRKSRC}/perl/sieve/scripts/sieveshell.pl.new \ + @${REINPLACE_CMD} -e "s|exec perl -x|exec perl -I${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} -x|" \ ${WRKSRC}/perl/sieve/scripts/sieveshell.pl .endif |