1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/mail/qtools/Makefile
Peter Pentchev 1bbbb9b19f The qtools package comprises several utilities for use with qmail,
typically as part of .qmail command processing.

PR:		28662
Submitted by:	Pete Fritchman <petef@databits.net>
2001-07-13 15:05:20 +00:00

35 lines
791 B
Makefile

# New ports collection makefile for: qtools
# Date created: 3 July 2001
# Whom: petef@databits.net
#
# $FreeBSD$
#
PORTNAME= qtools
PORTVERSION= 0.55
CATEGORIES= mail
MASTER_SITES= http://www.superscript.com/qtools/
MAINTAINER= petef@databits.net
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} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO} "${CC} ${CFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
@${PERL} -pi -e 's!/usr/local!${PREFIX}!g' ${WRKSRC}/conf-home
.include <bsd.port.mk>