mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
50513d5d52
This commit should largele be a NOOP as it only adds support for DESTDIR undefined. This does allow us to start testing ports with DESTDIR set, but this is as of yet not supported. Although this has been extensively tested on pointyhat, this is a very intrusive change and some cases may have been overlooked. Please contact Gabor and me if you find any. PR: 100555 Submitted by: gabor Sponsored by: Google Summer of Code 2006
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# New ports collection makefile for: qmailanalog
|
|
# Date created: 29 November 1998
|
|
# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qmailanalog
|
|
PORTVERSION= 0.70
|
|
PORTREVISION= 2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://cr.yp.to/software/ \
|
|
http://www.emaillab.org/djb/qmailanalog/ \
|
|
http://summersoft.fay.ar.us/pub/qmail/qmailanalog/
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
|
COMMENT= A collection of tools to analyze qmail-send's activity
|
|
|
|
USE_QMAIL_RUN= yes
|
|
|
|
ALL_TARGET= it
|
|
INSTALL_TARGET= setup
|
|
|
|
MANPREFIX= ${QMPREFIX}
|
|
MAN1= matchup.1 xqp.1 xsender.1 xrecipient.1 columnt.1
|
|
|
|
PLIST_SUB+= MYSUBDIR=${MYSUBDIR}
|
|
|
|
.if !defined(NOSUBDIR)
|
|
MYSUBDIR?= qmailanalog/
|
|
.else
|
|
MYSUBDIR?=
|
|
.endif
|
|
|
|
PREFIX?= ${QMAIL_PREFIX}
|
|
QMPREFIX?= ${TARGETDIR}/${MYSUBDIR}
|
|
|
|
NO_MTREE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PREFIX} != ${QMAIL_PREFIX}
|
|
BROKEN= Cannot Make and Install with different PREFIX or QMAIL_PREFIX
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|.usr.local.qmailanalog|${QMPREFIX}|" ${WRKSRC}/conf-home
|
|
@${REINPLACE_CMD} "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
|
|
@${REINPLACE_CMD} 's|02755|0755|g; /cat/d' ${WRKSRC}/hier.c
|
|
@${REINPLACE_CMD} 's|^man prog|prog|g' ${WRKSRC}/Makefile
|
|
|
|
pre-install:
|
|
@${MKDIR} ${QMPREFIX}
|
|
|
|
.include <bsd.port.post.mk>
|