mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Use REINPLACE_CMD and ECHO_CMD rather than perl and echo.
PR: 42095 Submitted by: MAINTAINER
This commit is contained in:
parent
c6bb64d17c
commit
cc1d9a6670
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65128
@ -18,6 +18,7 @@ MAINTAINER= drs@rucus.ru.ac.za
|
||||
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
|
||||
|
||||
NO_PACKAGE= Violates djb\'s license
|
||||
USE_REINPLACE= yes
|
||||
|
||||
ALL_TARGET= it
|
||||
INSTALL_TARGET= setup check
|
||||
@ -38,14 +39,8 @@ QMAIL_DIR?= /var/qmail
|
||||
NO_MTREE= yes
|
||||
|
||||
post-patch:
|
||||
@perl -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
|
||||
@perl -pi.bak -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
|
||||
@echo '${PREFIX}' > ${WRKSRC}/conf-home
|
||||
|
||||
#do-build:
|
||||
# @cd ${WRKSRC} && make ${ALL_TARGET}
|
||||
#
|
||||
#do-install:
|
||||
# @cd ${WRKSRC} && make ${INSTALL_TARGET}
|
||||
@${REINPLACE_CMD} -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
|
||||
@${REINPLACE_CMD} -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
|
||||
@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user