summaryrefslogblamecommitdiff
path: root/mail/qtools/Makefile
blob: 1dc333632364ac58206e05f44891788ef90d54b9 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
                                                         




                      
                    


                                                  
                                 















                                                                       

                                                                   


                                                                      
# 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>