diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-03-23 17:10:47 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-03-23 17:10:47 +0000 |
commit | 873536d51cbbe63666fb647e259cebb3130b8624 (patch) | |
tree | 5822d46828247ca19bd7e9f7b440f209c3aff0ec /mail/cyrus-imapd2 | |
parent | e458f5e2266f9e8e87dc2844c8b3d33ec5f1e94d (diff) | |
download | ports-873536d51cbbe63666fb647e259cebb3130b8624.tar.gz ports-873536d51cbbe63666fb647e259cebb3130b8624.zip |
Notes
Diffstat (limited to 'mail/cyrus-imapd2')
-rw-r--r-- | mail/cyrus-imapd2/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/mail/cyrus-imapd2/Makefile b/mail/cyrus-imapd2/Makefile index beeedeb3f454..4b3405e418f3 100644 --- a/mail/cyrus-imapd2/Makefile +++ b/mail/cyrus-imapd2/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 |