mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
66a8bdb928
rewriting utilities. WWW: http://cr.yp.to/mess822.html PR: 24848 Submitted by: David Siebörger <drs@rucus.ru.ac.za>
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# New ports collection makefile for: mess822
|
|
# Date created: 4 February 2001
|
|
# Whom: David Siebörger <drs@rucus.ru.ac.za>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mess822
|
|
PORTVERSION= 0.58
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://cr.yp.to/software/ \
|
|
ftp://ftp.qmail.org/pub/software/
|
|
|
|
MAINTAINER= drs@rucus.ru.ac.za
|
|
|
|
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
|
|
|
|
NO_PACKAGE= Violates djb\'s license
|
|
|
|
ALL_TARGET= it
|
|
INSTALL_TARGET= setup check
|
|
|
|
MAN1= 822date.1 822field.1 822header.1 822print.1 822received.1 \
|
|
iftocc.1 new-inject.1
|
|
MAN3= mess822.3 mess822_addr.3 mess822_date.3 mess822_fold.3 \
|
|
mess822_quote.3 mess822_token.3 mess822_when.3
|
|
MAN5= rewriting.5
|
|
MAN8= ofmipd.8 ofmipname.8
|
|
|
|
.if exists(${PREFIX}/qmail/bin/qmail-send)
|
|
QMAIL_DIR?= ${PREFIX}/qmail
|
|
.else
|
|
QMAIL_DIR?= /var/qmail
|
|
.endif
|
|
|
|
NO_MTREE= yes
|
|
|
|
post-patch:
|
|
@perl -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
|
|
@perl -pi.bak -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
|
|
@echo '${PREFIX}' > ${WRKSRC}/conf-home
|
|
|
|
#do-build:
|
|
# @cd ${WRKSRC} && make ${ALL_TARGET}
|
|
#
|
|
#do-install:
|
|
# @cd ${WRKSRC} && make ${INSTALL_TARGET}
|
|
|
|
.include <bsd.port.mk>
|