freebsd-ports/mail/qtools/Makefile
Akinori MUSHA 897d06aa97 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
2002-01-29 11:48:57 +00:00

35 lines
797 B
Makefile

# New ports collection makefile for: qtools
# Date created: 3 July 2001
# Whom: petef@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= qtools
PORTVERSION= 0.56
CATEGORIES= mail
MASTER_SITES= http://www.superscript.com/qtools/
MAINTAINER= petef@FreeBSD.org
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
ALL_TARGET= it
INSTALL_TARGET= setup check
.if exists(${PREFIX}/qmail/bin/qmail-send)
QMAIL_DIR?= ${PREFIX}/qmail
.else
QMAIL_DIR?= /var/qmail
.endif
NO_PACKAGE= A possibly inherited DJB-style license would prohibit \
distribution of modified binary packages
post-patch:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO_CMD} "${CC} ${CFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
@${PERL} -pi -e 's!/usr/local!${PREFIX}!g' ${WRKSRC}/conf-home
.include <bsd.port.mk>