1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/mail/qmHandle/Makefile
Pete Fritchman 7db03c9a36 - add a patch so we have sensible defaults for freebsd
- bump PORTREVISION

PR:		47137
Submitted by:	Marco Molteni <molter@tin.it>
2003-01-23 13:32:09 +00:00

43 lines
849 B
Makefile

# New ports collection makefile for: qmHandle
# Date created: 17 August 2001
# Whom: petef
#
# $FreeBSD$
#
PORTNAME= qmHandle
PORTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.italpro.net/mb/soft/
MAINTAINER= petef@FreeBSD.org
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-qstat:${PORTSDIR}/mail/qmail
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_BZIP2= yes
USE_PERL5= yes
.if exists(${LOCALBASE}/qmail/bin/qmail-qstat)
QMAIL_DIR?= ${LOCALBASE}/qmail
.else
QMAIL_DIR?= /var/qmail
.endif
post-patch:
@${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},; \
s,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/qmHandle
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in HISTORY README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>