- pass 'make all' verbatim to the package instead of calling the package's

scripts manually
- define a regression-test target depending on build: that runs the package's
  test script in order to automate regression testing on the ports cluster
- belatedly change QMAIL_DIR to QMAIL_PREFIX in files/pkg-message.in, too

PR:		ports/99426
Submitted by:	Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
This commit is contained in:
Pav Lucistnik 2006-06-26 14:20:16 +00:00
parent 5e14b70fdb
commit 8aebee472e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166359
2 changed files with 5 additions and 5 deletions

View file

@ -30,8 +30,8 @@ post-patch:
@${REINPLACE_CMD} -e 's,^CC=,CC\?=,' \
${WRKSRC}/src/Makefile
do-build:
cd ${WRKSRC} && ./package/build
regression-test: build
cd ${WRKSRC} && ./package/check
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/command/usendmail ${PREFIX}/sbin/

View file

@ -7,8 +7,8 @@ If you are using mailwrapper(8), do the following:
in /etc/mail/mailer.conf replace the lines
sendmail %%QMAIL_DIR%%/bin/sendmail
send-mail %%QMAIL_DIR%%/bin/sendmail
sendmail %%QMAIL_PREFIX%%/bin/sendmail
send-mail %%QMAIL_PREFIX%%/bin/sendmail
with
@ -16,5 +16,5 @@ sendmail %%PREFIX%%/sbin/usendmail
send-mail %%PREFIX%%/sbin/usendmail
Otherwise replace the link from /usr/sbin/sendmail to
%%QMAIL_DIR%%/bin/sendmail with one to %%PREFIX%%/sbin/usendmail.
%%QMAIL_PREFIX%%/bin/sendmail with one to %%PREFIX%%/sbin/usendmail.