1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/mail/qmail-auditor/Makefile
Bryan Drewery 63f96859ce - Convert USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL into USES feature
bapt contributed to the qmail.mk as well
- Trim headers

USES= qmail:run will add qmail into RUN_DEPENDS
USES= qmail:build will add qmail into BUILD_DEPENDS
USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
USES= qmail:vars will set QMAIL_PREFIX

With hat:	portmgr
2013-03-15 22:03:42 +00:00

41 lines
833 B
Makefile

# Created by: Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
# $FreeBSD$
PORTNAME= qmail-auditor
PORTVERSION= 0.47
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www6.freebsdbrasil.com.br/~eksffa/l/qmail-auditor/
MAINTAINER= eksffa@freebsdbrasil.com.br
COMMENT= Selective e-mail auditing for qmail by means of qmail-queue wrapping
WRKSRC= ${WRKDIR}/${PORTNAME:R}
USES= qmail:run
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
SUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX}
PLIST_FILES= bin/qmail-auditor
PORTDOCS= README
INSTALL_TARGET= perm
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|@prefix@|g' \
${WRKSRC}/src/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>